CVE-2025-6004: Vault Userpass and LDAP User Lockout 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go/github.com/hashicorp/vaultto a version that resolves this vulnerability.Fixed in 1.20.1 - Upgrade
Upgrade
HashiCorp Vault Community Edition and Vault Enterpriseto a version that resolves this vulnerability.Fixed in 1.20.1 - Upgrade
Upgrade
HashiCorp Vault Enterpriseto a version that resolves this vulnerability.Fixed in 1.19.7 - Upgrade
Upgrade
HashiCorp Vault Enterpriseto a version that resolves this vulnerability.Fixed in 1.18.12 - Upgrade
Upgrade
HashiCorp Vault Enterpriseto a version that resolves this vulnerability.Fixed in 1.16.23
Event History
Frequently Asked Questions
What is the severity of CVE-2025-6004?
CVE-2025-6004 is classified as a high severity vulnerability due to the potential for unauthorized access by bypassing user account lockout features.
How do I fix CVE-2025-6004?
To fix CVE-2025-6004, upgrade to Vault Community Edition version 1.20.1 or Vault Enterprise versions 1.20.1, 1.19.7, 1.18.12, or 1.16.23.
Which authentication methods are affected by CVE-2025-6004?
CVE-2025-6004 affects the Userpass and LDAP authentication methods in Vault.
Can CVE-2025-6004 lead to unauthorized access?
Yes, CVE-2025-6004 can allow attackers to bypass user lockout mechanisms, potentially leading to unauthorized access.
Is CVE-2025-6004 specific to certain versions of Vault?
Yes, CVE-2025-6004 impacts Vault versions prior to 1.20.1.