Vault LDAP MFA Enforcement Bypass When Using Username As Alias
CVE-2025-6013Published 6 Aug 2025, 10:06 UTC
Real-world risk
1.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.5
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from HashiCorp)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| HashiCorp VaultWidespread | >= 1.10.0, < 1.20.2 | 1.20.2 |
What to do
Update to a fixed version: 1.20.2.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.6% chance of exploitation in 30 days (percentile 49), as of 2026-12-04.
The arithmetic
- Prerequisites multiplied together0.200
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.2 × threat 0.851.360
- Rounded to one decimal between 0.1 and 101.4
Exploitation and evidence timeline
- 6 Aug 2025 Published
- 3 Dec 2026 Risk 1.4 (cvss fallback)
Weakness
CWE-156