Vault LDAP MFA Bypass via username_as_alias; fixed in CE 1.20.2
CVE-2025-6013 Published on August 6, 2025
Vault LDAP MFA Enforcement Bypass When Using Username As Alias
Vault and Vault Enterprises (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.
Weakness Type
What is a White space Vulnerability?
The software receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could be interpreted as whitespace when they are sent to a downstream component. This can include space, tab, etc.
CVE-2025-6013 has been classified to as a White space vulnerability or weakness.
Products Associated with CVE-2025-6013
Want to know whenever a new CVE is published for HashiCorp Vault? stack.watch will email you.
Affected Versions
HashiCorp Vault:- Version 1.10.0 and below 1.20.2 is affected.
- Version 1.10.0 and below 1.20.2 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.