CVE-2025-13357
CRITICAL 9.8CVSS 3.1Vault’s Terraform Provider incorrectly set default deny_null_bind parameter for LDAP auth method to false by default
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.
- Published
- 21 Nov 2025
- Last modified
- 8 Oct 2026
- Assigned by
- security@hashicorp.com
- NVD status
- Analyzed
- Weakness
- CWE-1188
- Also known as
- GHSA-gmm6-j2g5-r52mGO-2025-4152
- Sources
- NVDJSONOSV GHSA-gmm6-j2g5-r52mJSONOSV GO-2025-4152JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security@hashicorp.com (Secondary) | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.4 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | terraform_providercpe:2.3:a:hashicorp:terraform_provider:*:*:*:*:*:vault:*:* |
>= 4.2.0, < 5.5.0 | 5.5.0 |
| OSV | Go | github.com/hashicorp/terraform-provider-vault | < 5.5.0 | 5.5.0 |
| OSV | Go | github.com/hashicorp/terraform-provider-vault | all versions |
References
- https://discuss.hashicorp.com/t/hcsec-2025-33-vault-terraform-provider-applied-incorrect-defaults-for-ldap-auth-method/76822 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-13357 · ADVISORY
- https://github.com/hashicorp/terraform-provider-vault/pull/2622 · WEB, FIX
- https://github.com/hashicorp/terraform-provider-vault/commit/882bc7f409acc99c872c345edd65159d9568589a · WEB, FIX
- https://github.com/advisories/GHSA-gmm6-j2g5-r52m · ADVISORY
- https://github.com/hashicorp/terraform-provider-vault · PACKAGE
- https://github.com/hashicorp/terraform-provider-vault/releases/tag/v5.5.0 · WEB
History
- 25 Nov 2026 20:59 UTC · NVD: first stored (published 21 Nov 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Nov 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Nov 2025)