CVE-2025-6004
MEDIUM 5.3CVSS 3.1Hashicorp Vault has Lockout Feature Authentication Bypass
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.
- Published
- 1 Aug 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security@hashicorp.com
- NVD status
- Analyzed
- Weakness
- CWE-307
- Also known as
- BIT-vault-2025-6004GHSA-qgj7-fmq2-6cc4GO-2025-3840
- Sources
- NVDJSONOSV GHSA-qgj7-fmq2-6cc4JSONOSV GO-2025-3840JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@hashicorp.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.13.0, < 1.16.23 | 1.16.23 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:* |
>= 1.13.0, < 1.20.1 | 1.20.1 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.17.0, < 1.18.12 | 1.18.12 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:* |
>= 1.19.0, < 1.19.7 | 1.19.7 |
| NVD | hashicorp | vaultcpe:2.3:a:hashicorp:vault:1.20.0:*:*:*:enterprise:*:*:* |
= 1.20.0 | |
| OSV | Go | github.com/hashicorp/vault | >= 1.13.0, < 1.20.1 | 1.20.1 |
References
- https://discuss.hashicorp.com/t/hcsec-2025-16-vault-userpass-and-ldap-user-lockout-bypass/76035 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-6004 · ADVISORY
- https://github.com/hashicorp/vault · PACKAGE
- https://github.com/advisories/GHSA-qgj7-fmq2-6cc4 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 1 Aug 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Aug 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Aug 2025)