What’s Vulnerable › Vulnerabilities
CVE-2025-6013: Vault LDAP MFA Enforcement Bypass When Using Username As Alias
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-06 · updated 2026-06-17
- Weakness: CWE-156
Description
Vault and Vault Enterprise’s (“Vault”) ldap auth method may not have correctly enforced MFA if username_as_alias was set to true and a user had multiple CNs that are equal but with leading or trailing spaces. Fixed in Vault Community Edition 1.20.2 and Vault Enterprise 1.20.2, 1.19.8, 1.18.13, and 1.16.24.
Affected products
- HashiCorp Vault: from 1.10.0 through 1.15.16; from 1.10.0 before 1.20.2; from 1.16.0 before 1.16.24; from 1.17.0 before 1.18.13; from 1.19.0 before 1.19.8; from 1.20.0 before 1.20.2 — fixed in 1.16.24, 1.18.13, 1.19.8, 1.20.2
How to fix
Upgrade to a fixed version: HashiCorp Vault 1.16.24, 1.18.13, 1.19.8, 1.20.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-6013 or the next vulnerability affects your stack