6.5medium
Vault LDAP MFA Enforcement Bypass When Using Username As Alias
- Severity
- 6.5medium CVSS:3.1 by HashiCorp
- Exploit likelihood
- 0.63% (higher than 45% of CVEs)
- Published
- Last changed
- Assigned by
- HashiCorp
- Also known as
- GHSA-7rx2-769v-hrwfBIT-VAULT-2025-6013GO-2025-3848
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| HashiCorp Vault | from 1.10.0 before 1.20.2, from 1.10.0 up to 1.15.16, from 1.16.0 before 1.16.24, from 1.17.0 before 1.18.13, from 1.19.0 before 1.19.8, from 1.20.0 before 1.20.2 | CVE List, NVD |
| HashiCorp Vault Enterprise | from 1.10.0 before 1.20.2 | CVE List |
| github.com/hashicorp/vault (Go) | before 1.20.2 | GitHub Advisory Database, Go Vulnerability Database |
| vault (Bitnami) | from 1.10.0 before 1.20.2 | Bitnami Vulnerability Database |
All scores
| HashiCorp | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N |
| NVD | 8.1high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
Go Vulnerability Database
HashiCorp Vault ldap auth method may not have correctly enforced MFA in github.com/hashicorp/vault
NVD (es)
Es posible que el método de autenticación LDAP de Vault y Vault Enterprise (Vault) no haya aplicado correctamente la MFA si `username_as_alias` se configuró como `true` y un usuario tenía varios CN iguales, pero con espacios al principio o al final. Corregido en Vault Community Edition 1.20.2 y Vault Enterprise 1.20.2, 1.19.8, 1.18.13 y 1.16.24.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-6013 changed 2026-02-26 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-7rx2-769v-hrwf changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2025-3848 changed 2026-02-04 | CC-BY-4.0 |
| NVD | CVE-2025-6013 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-VAULT-2025-6013 changed 2026-09-08 | Apache-2.0 |