high7.4
CVE-2025-13357
Vault’s Terraform Provider incorrectly set default deny_null_bind parameter for LDAP auth method to false by default
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/hashicorp/terraform-provider-vault | < 5.5.0 | 5.5.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Hashicorp | Terraform Provider | from 4.2.0 before 5.5.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://discuss.hashicorp.com/t/hcsec-2025-33-vault-terraform-provider-applied-incorrect-defaults-for-ldap-auth-method/76822
- https://github.com/advisories/GHSA-gmm6-j2g5-r52m
- https://nvd.nist.gov/vuln/detail/CVE-2025-13357
- https://github.com/hashicorp/terraform-provider-vault/pull/2622
- https://github.com/hashicorp/terraform-provider-vault/commit/882bc7f409acc99c872c345edd65159d9568589a
- https://github.com/hashicorp/terraform-provider-vault/releases/tag/v5.5.0