CVE-2025-6013
Medium
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.
SeverityMedium
CVSS6.5
Exploit probability—
Product
Hashicorp Vault
PublishedAug 6, 2025
First seenAug 6, 2025
Weakness typeCWE-156CWE-156
How to fix
Update
- hashicorp vault1.20.2, 1.16.24, 1.18.13, 1.19.8 or later
- github.com/hashicorp/vault1.20.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hashicorp vault | 1.10.0 ≤ v ≤ 1.15.16, 1.10.0 ≤ v < 1.20.2, 1.16.0 ≤ v < 1.16.24, 1.17.0 ≤ v < 1.18.13, 1.19.0 ≤ v < 1.19.8, 1.20.0 ≤ v < 1.20.2 | 1.20.2, 1.16.24, 1.18.13, 1.19.8 |
| github.com/hashicorp/vaultGo | v < 1.20.2 | 1.20.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.