Skip to main content
EPSS 0.4%top 67%

CVE-2025-6004: CWE-307: Improper Restriction of Excessive Authentication Attempts in HashiCorp Vault

0
Medium
Published: 08/05/2025 (08/05/2025, 08:52:57 UTC)
Source: CVE Database V5
Vendor/Project: HashiCorp
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Affected software

Affected versions
=1.13.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/08/2026, 13:08:13 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses