CVE-2025-6013 Vault LDAP MFA Enforcement Bypass When Using Username As Alias
HighCVSS 8.1
EPSS 0.57%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
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.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| hashicorp github.com/hashicorp/vault | >= 1.10.0, < 1.20.2; >= 1.10.0, <= 1.15.16; >= 1.16.0, < 1.16.24; >= 1.17.0, < 1.18.13 +2 more | 1.16.24, 1.18.13, 1.19.8, 1.20.2 | Fixed |
| hashicorp github.com/hashicorp/vault(Go) | < 1.20.2 | 1.20.2 | Fixed |
| hashicorp Vault Enterprise | >= 1.10.0, < 1.19.8 | 1.19.8 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp github.com/hashicorp/vault(Go) | < 1.20.2 | 1.20.2 |
| hashicorp github.com/hashicorp/vault | >= 1.10.0, < 1.20.2 | 1.20.2 |
| hashicorp Vault Enterprise | >= 1.10.0, < 1.19.8 | 1.19.8 |
| hashicorp github.com/hashicorp/vault | >= 1.10.0, <= 1.15.16 | No fix listed |
| hashicorp github.com/hashicorp/vault | >= 1.16.0, < 1.16.24 | 1.16.24 |
| hashicorp github.com/hashicorp/vault | >= 1.17.0, < 1.18.13 | 1.18.13 |
| hashicorp github.com/hashicorp/vault | >= 1.19.0, < 1.19.8 | 1.19.8 |
| hashicorp github.com/hashicorp/vault | >= 1.20.0, < 1.20.2 | 1.20.2 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- discuss.hashicorp.com vendor-advisory
- github.com product
- github.com vendor-advisory