# CVE-2025-6013: Vault LDAP MFA Enforcement Bypass When Using Username As Alias

- Severity: Medium 6.5 (CVSS:3.1, scored by HashiCorp) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 45% of CVEs (2026-11-30)
- Published: 2025-08-06T10:06:55.668Z
- Modified: 2026-09-10T03:50:26.808Z
- Also known as: GHSA-7rx2-769v-hrwf, BIT-VAULT-2025-6013, GO-2025-3848
- Related: CGA-957p-rf2v-8m4g
- Weaknesses: CWE-156
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: HashiCorp

## 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.

(As written by CVE List.)

## Affected

- HashiCorp Vault: from 1.10.0 before 1.20.2; from 1.10.0 up to 1.15.16; from 1.16.0 before 1.16.24; from 1.17.0 before 1.18.13; from 1.19.0 before 1.19.8; from 1.20.0 before 1.20.2
- HashiCorp Vault Enterprise: from 1.10.0 before 1.20.2
- github.com/hashicorp/vault (Go): before 1.20.2
- vault (Bitnami): from 1.10.0 before 1.20.2

## Every score

- HashiCorp: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://discuss.hashicorp.com/t/hcsec-2025-20-vault-ldap-mfa-enforcement-bypass-when-using-username-as-alias/76092> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6013> (advisory, web)
- <https://github.com/hashicorp/vault> (package)
- <https://github.com/advisories/GHSA-7rx2-769v-hrwf> (advisory)

## Sources

- CVE List: [CVE-2025-6013](https://www.cve.org/CVERecord?id=CVE-2025-6013), CVE Terms of Use, modified 2026-02-26
- GitHub Advisory Database: [GHSA-7rx2-769v-hrwf](https://github.com/advisories/GHSA-7rx2-769v-hrwf), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3848](https://pkg.go.dev/vuln/GO-2025-3848), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-6013](https://nvd.nist.gov/vuln/detail/CVE-2025-6013), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-VAULT-2025-6013](https://osv.dev/vulnerability/BIT-VAULT-2025-6013), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2025-6013 · Whole record: https://cve.day/CVE-2025-6013.json · Rebuilt by cve.day 2026-11-25T22:59:02.146Z
