# CVE-2025-6004: Vault Userpass and LDAP User Lockout Bypass

- Severity: Medium 5.3 (CVSS:3.1, scored by HashiCorp) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/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.46%, higher than 41% of CVEs (2026-12-02)
- Published: 2025-08-01T17:56:00.780Z
- Modified: 2026-09-10T03:50:27.260Z
- Also known as: GHSA-qgj7-fmq2-6cc4, BIT-VAULT-2025-6004, GO-2025-3840
- Related: CGA-36wv-6667-v642
- Weaknesses: CWE-307
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: HashiCorp

## Description

Vault and Vault Enterprise’s (“Vault”) user lockout feature could be bypassed for Userpass and LDAP authentication methods. Fixed in Vault Community Edition 1.20.1 and Vault Enterprise 1.20.1, 1.19.7, 1.18.12, and 1.16.23.

(As written by CVE List.)

## Affected

- HashiCorp Vault: from 1.13.0 before 1.20.1; from 1.13.0 before 1.16.23; from 1.17.0 before 1.18.12; from 1.19.0 before 1.19.7; 1.20.0
- HashiCorp Vault Enterprise: from 1.13.0 before 1.20.1
- github.com/hashicorp/vault (Go): from 1.13.0 before 1.20.1
- vault (Bitnami): from 1.13.0 before 1.20.1

## Every score

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

## References

- <https://discuss.hashicorp.com/t/hcsec-2025-16-vault-userpass-and-ldap-user-lockout-bypass/76035> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-6004> (advisory, web)
- <https://github.com/hashicorp/vault> (package)
- <https://github.com/advisories/GHSA-qgj7-fmq2-6cc4> (advisory)

## Sources

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

---

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