{"id":"GHSA-7rx2-769v-hrwf","revision":"53f427bc6e90427b9ef287c728aecf04","records":[{"revision":"53f427bc6e90427b9ef287c728aecf04","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-7rx2-769v-hrwf","aliases":["BIT-vault-2025-6013","CVE-2025-6013","GO-2025-3848"],"title":"HashiCorp Vault ldap auth method may not have correctly enforced MFA","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.","state":0,"publishedAt":"2025-08-06T12:31:20+00:00","modifiedAt":"2026-09-10T03:50:26.808789+00:00","affected":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.20.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["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"],"sourceUrl":"https://github.com/advisories/GHSA-7rx2-769v-hrwf","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-7rx2-769v-hrwf","identifiers":["GHSA-7rx2-769v-hrwf","BIT-vault-2025-6013","CVE-2025-6013","GO-2025-3848"]},"retained":false,"historicalAffected":[]}],"coverage":[]}