{"schema_version":"1.9.0","id":"GHSA-7rx2-769v-hrwf","published":"2025-08-06T12:31:20Z","modified":"2026-09-10T03:50:26.808788954Z","aliases":["BIT-vault-2025-6013","CVE-2025-6013","GO-2025-3848"],"summary":"HashiCorp Vault ldap auth method may not have correctly enforced MFA","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":[{"package":{"name":"github.com/hashicorp/vault","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/vault"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.20.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/08/GHSA-7rx2-769v-hrwf/GHSA-7rx2-769v-hrwf.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-6013"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2025-20-vault-ldap-mfa-enforcement-bypass-when-using-username-as-alias/76092"},{"type":"PACKAGE","url":"https://github.com/hashicorp/vault"}],"database_specific":{"cwe_ids":["CWE-156"],"github_reviewed":true,"github_reviewed_at":"2025-08-06T18:14:06Z","nvd_published_at":"2025-08-06T10:15:35Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"}]}