GitHub Advisoryadvisory · Go
GHSA-7rx2-769v-hrwf HashiCorp Vault ldap auth method may not have correctly enforced MFA
MEDIUM
Official page ↗
- Aliases
- CVE-2025-6013
- Ecosystem
- Go
- Packages
- github.com/hashicorp/vault
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-156
- Reviewed
- 2025-08-06
Affected packages
• Go github.com/hashicorp/vault: < 1.20.2 → fixed in 1.20.2
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.
Related
Alias · CVE (1)
- CVE-2025-6013 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… vulnerability
Weakness · CWE (1)
- CWE-156 Improper Neutralization of Whitespace weakness