{"schema_version":"1.9.0","id":"CVE-2025-6013","published":"2025-08-06T10:06:55.668Z","modified":"2026-08-12T03:51:09.272928503Z","aliases":["BIT-vault-2025-6013","GHSA-7rx2-769v-hrwf","GO-2025-3848"],"related":["CGA-957p-rf2v-8m4g","SUSE-SU-2025:02912-1","openSUSE-SU-2025:15434-1","openSUSE-SU-2025:15460-1"],"summary":"Vault LDAP MFA Enforcement Bypass When Using Username As Alias","details":"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":[{"ranges":[{"type":"GIT","repo":"https://github.com/hashicorp/vault","events":[{"introduced":"7738ec5d0d6f5bf94a809ee0f6ff0142cfa525a6"},{"fixed":"824d12909d5b596ddd3f34d9c8f169b4f9701a0c"},{"introduced":"6fdd6b59e97d97a9e19b0fb5304bf879c190295e"},{"fixed":"824d12909d5b596ddd3f34d9c8f169b4f9701a0c"}],"database_specific":{"cpe":["cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*"],"extracted_events":[{"introduced":"1.10.0"},{"fixed":"1.20.2"},{"introduced":"1.20.0"}],"source":"CPE_RANGE"}}],"versions":["v1.20.1","v1.20.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-6013.json"}}],"references":[{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2025-20-vault-ldap-mfa-enforcement-bypass-when-using-username-as-alias/76092"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6013.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6013"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"}],"database_specific":{"cna_assigner":"HashiCorp","cwe_ids":["CWE-156"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/6xxx/CVE-2025-6013.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"}]}