CVE-2025-6004 Details
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.
A vulnerability exists in HashiCorp Vault and Vault Enterprise that allows the user lockout feature to be bypassed for Userpass and LDAP authentication methods. This issue affects Vault Community Edition versions 1.13.0 prior to 1.20.0 and Vault Enterprise versions 1.13.0 prior to 1.20.0, as well as 1.19.6, 1.18.11, 1.16.22, and 1.15.15. The vulnerability arises because the lockout mechanism did not properly normalize entity aliases, enabling an attacker to exploit case sensitivity in usernames. The issue has been addressed by correcting the normalization process and ensuring proper case sensitivity is maintained for affected authentication methods.
Users are advised to upgrade to Vault Community Edition 1.20.1 or Vault Enterprise 1.20.1, 1.19.7, 1.18.12, or 1.16.23. For general upgrade guidance, refer to the HashiCorp Vault Upgrading documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Aug 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://discuss.hashicorp.com/t/hcsec-2025-16-vault-userpass-and-ldap-user-lockout-bypass/76035 | [email protected] | Vendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-307 | Improper Restriction of Excessive Authentication Attempts | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hashicorp vault | >= 1.13.0, < 1.16.23 >= 1.13.0, < 1.20.1 >= 1.17.0, < 1.18.12 >= 1.19.0, < 1.19.7 1.20.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 13, 2025 | Initial Analysis | [email protected] |
| Aug 1, 2025 | New CVE Received | [email protected] |