{"cve":"CVE-2025-6013","nvd":{"published":"2025-08-06T10:15:35.423","modified":"2026-06-17T10:00:59.343","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1},"cwes":["CWE-156"],"references":["https://discuss.hashicorp.com/t/hcsec-2025-20-vault-ldap-mfa-enforcement-bypass-when-using-username-as-alias/76092"],"products":["hashicorp:vault"],"source":"nvd","synced_at":"2026-10-19T22:06:45.861874017+00:00"},"epss":{"cve":"CVE-2025-6013","score":0.00532,"percentile":0.44998,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7rx2-769v-hrwf","url":"https://osv.dev/vulnerability/GHSA-7rx2-769v-hrwf","summary":"HashiCorp Vault ldap auth method may not have correctly enforced MFA","modified":"2026-09-10T03:50:26.808788954Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":["<1.20.2"],"fixed":["1.20.2"]}]},{"id":"GO-2025-3848","url":"https://osv.dev/vulnerability/GO-2025-3848","summary":"HashiCorp Vault ldap auth method may not have correctly enforced MFA in github.com/hashicorp/vault","modified":"2026-02-04T03:08:34.398012Z","packages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":["<1.20.2"],"fixed":["1.20.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}