CVE-2025-13357: Vault Terraform Provider - Authentication Bypass
- Cve: CVE-2025-13357
- Name: Vault Terraform Provider - Authentication Bypass
- 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.
- Impact: Attackers can bypass authentication if LDAP allows anonymous binds, potentially gaining unauthorized access.
- Remediation: Upgrade to Vault Terraform Provider v5.5.0 or later.
- Vulnerability type: broken_authentication
- Vulnerability impact: broken_authentication
- Requirements: LDAP server must allow anonymous or unauthenticated binds
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00532
- Epss percentile: 0.45557
- Assignee: [email protected]
- Published at: 2025-11-21T15:15:51Z
- Age in days: 368
- Modified at: 2026-10-08T10:10:00Z
- Patch available: yes
- References total: 1
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-13357
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1188 | Initialization of a Resource with an Insecure Default |
References
| Url | Source | Tags |
|---|---|---|
| https://discuss.hashicorp.com/t/hcsec-2025-33-vault-terraform-provider-applied-incorrect-defaults-for-ldap-auth-method/76822 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| hashicorp:terraform_provider | >= 4.2.0, < 5.5.0 | no | nvd | /v1/products/hashicorp/terraform_provider |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| hashicorp/terraform-provider-vault | commit, package, pull, releases | yes | /v1/repositories/hashicorp/terraform-provider-vault |
Index
- Repositories: 1
- Repositories high signal: 1
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts