CVE-2025-6004: CWE-307: Improper Restriction of Excessive Authentication Attempts in HashiCorp Vault
CVE-2025-6004 is a medium severity vulnerability in HashiCorp Vault affecting the user lockout feature for Userpass and LDAP authentication methods. This flaw allows bypassing the lockout mechanism designed to restrict excessive authentication attempts. The issue is fixed in Vault Community Edition 1.20.1 and Vault Enterprise versions 1.20.1, 1.19.7, 1.18.12, and 1.16.23.
AI Analysis
Technical Summary
HashiCorp Vault's user lockout feature for Userpass and LDAP authentication methods could be bypassed, allowing an attacker to circumvent restrictions on excessive authentication attempts. This improper restriction of authentication attempts is classified under CWE-307. The vulnerability has a CVSS 3.1 base score of 5.3 (medium severity) with network attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality or availability impact, but with low integrity impact. The issue is addressed in specific patched versions of Vault Community and Enterprise editions.
Potential Impact
An attacker can bypass the user lockout feature for Userpass and LDAP authentication methods, potentially allowing unlimited authentication attempts. This could facilitate brute force or credential stuffing attacks, impacting the integrity of authentication processes. There is no direct confidentiality or availability impact reported.
Mitigation Recommendations
Upgrade to Vault Community Edition 1.20.1 or later, or Vault Enterprise editions 1.20.1, 1.19.7, 1.18.12, or 1.16.23 or later where the issue is fixed. No other mitigation or temporary workaround is indicated in the provided data.
CVE-2025-6004: CWE-307: Improper Restriction of Excessive Authentication Attempts in HashiCorp Vault
Description
CVE-2025-6004 is a medium severity vulnerability in HashiCorp Vault affecting the user lockout feature for Userpass and LDAP authentication methods. This flaw allows bypassing the lockout mechanism designed to restrict excessive authentication attempts. The issue is fixed in Vault Community Edition 1.20.1 and Vault Enterprise versions 1.20.1, 1.19.7, 1.18.12, and 1.16.23.
CVSS v3.1
Score 5.3medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
HashiCorp Vault's user lockout feature for Userpass and LDAP authentication methods could be bypassed, allowing an attacker to circumvent restrictions on excessive authentication attempts. This improper restriction of authentication attempts is classified under CWE-307. The vulnerability has a CVSS 3.1 base score of 5.3 (medium severity) with network attack vector, low attack complexity, no privileges required, no user interaction, unchanged scope, no confidentiality or availability impact, but with low integrity impact. The issue is addressed in specific patched versions of Vault Community and Enterprise editions.
Potential Impact
An attacker can bypass the user lockout feature for Userpass and LDAP authentication methods, potentially allowing unlimited authentication attempts. This could facilitate brute force or credential stuffing attacks, impacting the integrity of authentication processes. There is no direct confidentiality or availability impact reported.
Mitigation Recommendations
Upgrade to Vault Community Edition 1.20.1 or later, or Vault Enterprise editions 1.20.1, 1.19.7, 1.18.12, or 1.16.23 or later where the issue is fixed. No other mitigation or temporary workaround is indicated in the provided data.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- HashiCorp
- Date Reserved
- 2025-06-11T18:36:41.720Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 688d0144ad5a09ad00cb0c24
Added to database: 08/01/2025, 18:02:44 UTC
Last enriched: 09/08/2026, 13:08:13 UTC
Last updated: 09/10/2026, 19:36:51 UTC
Views: 181
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.