CVE-2025-6004: Vault Userpass and LDAP User Lockout Bypass

Published Aug 1, 2025
·
Updated

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

8 affected componentsFixes available
HashiCorp Vault<1.20.1
HashiCorp Vault Enterprise>=1.16.23<1.20.1
go/github.com/hashicorp/vault>=1.13.0<1.20.1
1.20.1
HashiCorp Vault>=1.13.0<1.16.23
HashiCorp Vault>=1.13.0<1.20.1
HashiCorp Vault>=1.17.0<1.18.12
HashiCorp Vault>=1.19.0<1.19.7
HashiCorp Vault=1.20.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/github.com/hashicorp/vault to a version that resolves this vulnerability.

    Fixed in 1.20.1
  2. Upgrade

    Upgrade HashiCorp Vault Community Edition and Vault Enterprise to a version that resolves this vulnerability.

    Fixed in 1.20.1
  3. Upgrade

    Upgrade HashiCorp Vault Enterprise to a version that resolves this vulnerability.

    Fixed in 1.19.7
  4. Upgrade

    Upgrade HashiCorp Vault Enterprise to a version that resolves this vulnerability.

    Fixed in 1.18.12
  5. Upgrade

    Upgrade HashiCorp Vault Enterprise to a version that resolves this vulnerability.

    Fixed in 1.16.23

Event History

Aug 1, 2025
CVE Published
via MITRE·05:56 PM
Data Sourced
via MITRE·05:56 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
via GitHub·06:31 PM
Data Sourced
via GitHub·06:31 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

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.

2

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.

3

Which authentication methods are affected by CVE-2025-6004?

CVE-2025-6004 affects the Userpass and LDAP authentication methods in Vault.

4

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.

5

Is CVE-2025-6004 specific to certain versions of Vault?

Yes, CVE-2025-6004 impacts Vault versions prior to 1.20.1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203