CVE-2025-6013Hashicorp Vault
High 8.1
Follow: this CVE · Hashicorp · Hashicorp Vault We alert you by email or Slack (account required).
- Priority
- 49
- CVSS 3.1
- 8.1
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 6, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-156
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Vault.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/hashicorp/vault |
< 1.20.2 |
1.20.2 |
go get github.com/hashicorp/vault@v1.20.2 |
| Go | github.com/hashicorp/vault |
< 1.20.2 |
1.20.2 |
go get github.com/hashicorp/vault@v1.20.2 |
Per OSV / GitHub Advisories (GHSA-7rx2-769v-hrwf, GO-2025-3848). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | vault | ≥ 1.10.0 ≤ 1.15.16 |
| hashicorp | vault | ≥ 1.10.0 < 1.20.2 |
| hashicorp | vault | ≥ 1.16.0 < 1.16.24 |
| hashicorp | vault | ≥ 1.17.0 < 1.18.13 |
| hashicorp | vault | ≥ 1.19.0 < 1.19.8 |
| hashicorp | vault | ≥ 1.20.0 < 1.20.2 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Vendor Advisory