CVE-2025-6011: Timing Side-Channel in Vault’s Userpass Auth Method

Published Aug 1, 2025
·
Updated

A timing side channel in Vault and Vault Enterprise’s (“Vault”) userpass auth method allowed an attacker to distinguish between existing and non-existing users, and potentially enumerate valid usernames for Vault’s Userpass auth method. 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.19.7<=1.20.1, >=1.18.12<=1.19.7, >=1.16.23<=1.18.12
go/github.com/hashicorp/vault<1.20.1
1.20.1
HashiCorp Vault<1.16.23
HashiCorp Vault<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 Vault Community Edition to a version that resolves this vulnerability.

    Fixed in 1.20.1
  3. Upgrade

    Upgrade Vault Enterprise to a version that resolves this vulnerability.

    Fixed in 1.20.1
  4. Upgrade

    Upgrade Vault Enterprise to a version that resolves this vulnerability.

    Fixed in 1.19.7
  5. Upgrade

    Upgrade Vault Enterprise to a version that resolves this vulnerability.

    Fixed in 1.18.12
  6. Upgrade

    Upgrade Vault Enterprise to a version that resolves this vulnerability.

    Fixed in 1.16.23

Event History

Aug 1, 2025
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 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-6011?

CVE-2025-6011 is considered a moderate severity vulnerability due to its potential for user enumeration.

2

How do I fix CVE-2025-6011?

To mitigate CVE-2025-6011, upgrade to Vault Community Edition 1.20.1 or later, or to a patched version of Vault Enterprise.

3

What impact does CVE-2025-6011 have on user authentication?

CVE-2025-6011 allows attackers to potentially enumerate valid usernames through timing side channels in the userpass auth method.

4

Which versions of Vault are affected by CVE-2025-6011?

CVE-2025-6011 affects Vault versions prior to 1.20.1 and certain versions of Vault Enterprise between 1.20.1 and 1.16.23.

5

Is CVE-2025-6011 exploitable remotely?

Yes, CVE-2025-6011 can be exploited remotely by an attacker to expose valid usernames.

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