CVE-2025-6013
HIGH 8.1CVSS 3.1HashiCorp Vault ldap auth method may not have correctly enforced MFA
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.
- Published
- 6 Aug 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@hashicorp.com
- NVD status
- Analyzed
- Weakness
- CWE-156
- Also known as
- BIT-vault-2025-6013GHSA-7rx2-769v-hrwfGO-2025-3848
- Sources
- NVDJSONOSV GHSA-7rx2-769v-hrwfJSONOSV GO-2025-3848JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | security@hashicorp.com (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.10.0, <= 1.15.16 | |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* |
>= 1.10.0, < 1.20.2 | 1.20.2 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.16.0, < 1.16.24 | 1.16.24 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.17.0, < 1.18.13 | 1.18.13 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.19.0, < 1.19.8 | 1.19.8 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.20.0, < 1.20.2 | 1.20.2 |
| OSV | Go | github.com/hashicorp/vault | < 1.20.2 | 1.20.2 |
References
- https://discuss.hashicorp.com/t/hcsec-2025-20-vault-ldap-mfa-enforcement-bypass-when-using-username-as-alias/76092 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-6013 · ADVISORY
- https://github.com/hashicorp/vault · PACKAGE
- https://github.com/advisories/GHSA-7rx2-769v-hrwf · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 6 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Aug 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 6 Aug 2025)