CVE-2025-6013
Vault LDAP MFA Enforcement Bypass When Using Username As Alias
- State
- Published
- Severity
- 6.5 Medium
- Published
- Aug 6, 2025
- Updated
- Feb 26, 2026
- Reserved
- Jun 11, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N | HashiCorp |
Weaknesses
- CWE-156 Improper Neutralization of Whitespace
Affected Products
| Product | Versions |
|---|---|
VaultHashiCorp |
|
Vault EnterpriseHashiCorp |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.