GitHub Advisory Database
GHSA-gmm6-j2g5-r52m
Vault’s Terraform Provider incorrectly set default deny_null_bind parameter for LDAP auth method to false by default
Details
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 versions |
|---|---|---|
| Go | github.com/hashicorp/terraform-provider-vault | All versions before 5.5.0 (fixed in 5.5.0) |
References
- 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://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://github.com/hashicorp/terraform-provider-vault
- https://github.com/hashicorp/terraform-provider-vault/releases/tag/v5.5.0