LDAP Authentication Flaw in HashiCorp Vault and Vault Enterprise
CVE-2025-6013
Key Information:
- Vendor
Hashicorp
- Status
- CVE ID
- CVE ID:
- CVE-2025-6013
- Vendor
- CVE Published:
- 6 August 2025
- Fixed in
- Fixed in:
- 1.20.2
Timeline
Vulnerability published
Vulnerability Reserved
How risky is it?
- Partly: Works over the network, but needs a login
- No: No public exploit yet
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Monitor
Low risk for most. Patch in your normal cycle.
What to do
1Update to a fixed version
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Vault 64 bit. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Why it's rated "Monitor"
- Its CVSS severity is medium (6.5).
What is CVE-2025-6013?
The LDAP authentication method in Vault and Vault Enterprise may allow for an MFA enforcement bypass when the 'username_as_alias' feature is enabled. This issue arises particularly when user accounts contain multiple common names (CNs) that only differ by leading or trailing whitespace. As a result, users may not be prompted for multi-factor authentication as expected, potentially exposing sensitive resources. The issue has been addressed in recent updates to the respective versions of Vault.
References
More Hashicorp Vulnerabilities
Cross-Tenant Credential Reuse in HashiCorp Terraform MCP Server
Denial of Service Vulnerability in HashiCorp Vault and Vault Enterprise
Excessive Resource Consumption Vulnerability in HashiCorp Vault
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction