CVE-2025-13357 Details
Description
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.
A vulnerability exists in the HashiCorp Vault Terraform Provider versions 4.2.0 prior to 5.4.0, where the default setting for the deny_null_bind parameter in the LDAP authentication method was incorrectly configured. This misconfiguration could lead to an insecure setup, allowing authentication bypass if the LDAP server permitted anonymous or unauthenticated binds. The issue has been addressed in Vault Terraform Provider version 5.5.0.
Users should upgrade to Vault Terraform Provider version 5.5.0. For those using Vault Community Edition or Vault Enterprise, consider upgrading to version 1.21.1, 1.20.6, 1.19.12, or 1.16.28, which no longer allow unauthenticated binds to the LDAP server. If an upgrade is not possible, ensure the deny_null_bind parameter is set to true in the LDAP auth method configuration.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Nov 21, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://discuss.hashicorp.com/t/hcsec-2025-33-vault-terraform-provider-applied-incorrect-defaults-for-ldap-auth-method/76822 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1188 | Initialization of a Resource with an Insecure Default | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hashicorp terraform provider | >= 4.2.0, < 5.5.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 10, 2025 | Initial Analysis | [email protected] |
| Nov 21, 2025 | New CVE Received | [email protected] |