Vault LDAP MFA Enforcement Bypass When Using Username As Alias
cve-program · CVE-2025-6013
PublishedVault 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.
Read the publisher's advisoryeuvd · EUVD-2025-23817
PublishedVault 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.
Read the publisher's advisorynvd · CVE-2025-6013
PublishedVault 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.
Read the publisher's advisoryosv · GHSA-7rx2-769v-hrwf
PublishedVault 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.
Read the publisher's advisoryosv · GO-2025-3848
PublishedHashiCorp Vault ldap auth method may not have correctly enforced MFA in github.com/hashicorp/vault
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-6013 · CVE overview and exploitation status
cve-program · CVE-2025-6013
euvd · EUVD-2025-23817
nvd · CVE-2025-6013
osv · GHSA-7rx2-769v-hrwf
- https://nvd.nist.gov/vuln/detail/CVE-2025-6013
- https://discuss.hashicorp.com/t/hcsec-2025-20-vault-ldap-mfa-enforcement-bypass-when-using-username-as-alias/76092
- https://github.com/hashicorp/vault