{"id":"CVE-2025-6013","published":"2025-08-06T10:06:55Z","modified":"2026-02-26T17:49:53Z","title":"Vault LDAP MFA Enforcement Bypass When Using Username As Alias","vendor":"HashiCorp","product":"Vault","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00577,"percentile":0.48461,"provenance":"source"},"cwes":[{"id":"CWE-156","name":"Improper Neutralization of Whitespace"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2025-20-vault-ldap-mfa-enforcement-bypass-when-using-username-as-alias/76092","tags":[]}],"priority":{"score":14.2,"factors":[{"name":"EPSS percentile","points":9.69},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"hashicorp","affectedVersions":[{"vendor":"HashiCorp","product":"Vault","versions":[">= 1.10.0, < 1.20.2"]},{"vendor":"HashiCorp","product":"Vault Enterprise","versions":[">= 1.10.0, < 1.20.2"]}],"fixedVersions":[{"vendor":"HashiCorp","product":"Vault Enterprise","versions":["1.19.8","1.18.13","1.16.24"]}],"capec":[{"id":"CAPEC-180","name":"Exploiting Incorrectly Configured Access Control Security Levels"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-08-07T03:55:19.963641Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","vulnerableRanges":["<1.20.2"],"patched":["1.20.2"],"from":["GHSA-7rx2-769v-hrwf","GO-2025-3848"],"provenance":"source"}],"summary":{"text":"The flaw is in the ldap auth method of HashiCorp Vault and Vault Enterprise, where MFA may not be correctly enforced when username_as_alias is set to true and a user has multiple CNs that are equal except for leading or trailing spaces. An attacker with network access and existing privileges (authentication required, no user interaction, and only under that alias configuration with such duplicate CNs) could potentially bypass the MFA requirement.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:22Z"},"euvd":{"id":"EUVD-2025-23817","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-openbao-cve-2024-7594","children":[{"from":"CVE-2025-6013","to":"CVE-2025-55001","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-2q8q-8fgw-9p6p","via":"reference","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6013"},{"kind":"osv-related","provenance":"source","id":"GO-2025-3859","via":"reference","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6013"}]}],"packageHistory":[{"cve":"CVE-2025-6014","published":"2025-08-01","fixed":"1.20.1","kev":false},{"cve":"CVE-2025-6015","published":"2025-08-01","fixed":"1.20.1","kev":false},{"cve":"CVE-2025-6037","published":"2025-08-01","fixed":"1.20.1","kev":false},{"cve":"CVE-2025-6013","published":"2025-08-06","fixed":"1.20.2","kev":false},{"cve":"CVE-2025-6203","published":"2025-08-28","fixed":"1.20.3","kev":false,"link":{"from":"CVE-2025-6013","to":"CVE-2025-6203","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.20.2","toFixed":"1.20.3","daysApart":22}]}},{"cve":"CVE-2025-11621","published":"2025-10-23","fixed":"1.21.0","kev":false},{"cve":"CVE-2025-12044","published":"2025-10-23","fixed":"1.21.0","kev":false}],"package":"Go:github.com/hashicorp/vault"}}