CVE-2025-13357: Vault’s Terraform Provider incorrectly set default deny_null_bind parameter for LDAP auth method to false by default
(updated )
Vault’s Terraform Provider incorrectly set the default deny_null_bind parameter for the LDAP auth method to false by default, potentially resulting in an insecure configuration. If the underlying LDAP server allowed anonymous or unauthenticated binds, this could result in authentication bypass. This vulnerability, CVE-2025-13357, is fixed in Vault Terraform Provider v5.5.0.
References
- discuss.hashicorp.com/t/hcsec-2025-33-vault-terraform-provider-applied-incorrect-defaults-for-ldap-auth-method/76822
- github.com/advisories/GHSA-gmm6-j2g5-r52m
- github.com/hashicorp/terraform-provider-vault
- github.com/hashicorp/terraform-provider-vault/commit/882bc7f409acc99c872c345edd65159d9568589a
- github.com/hashicorp/terraform-provider-vault/pull/2622
- github.com/hashicorp/terraform-provider-vault/releases/tag/v5.5.0
- nvd.nist.gov/vuln/detail/CVE-2025-13357
Code Behaviors & Features
Detect and mitigate CVE-2025-13357 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →