Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hashicorp/vault
  4. ›
  5. CVE-2025-6011

CVE-2025-6011: Hashicorp Vault has an Observable Discrepancy on Existing and Non-Existing Users

August 1, 2025

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.

References

  • discuss.hashicorp.com/t/hcsec-2025-15-timing-side-channel-in-vault-s-userpass-auth-method/76034
  • github.com/advisories/GHSA-mwgr-84fv-3jh9
  • github.com/hashicorp/vault
  • nvd.nist.gov/vuln/detail/CVE-2025-6011

Code Behaviors & Features

Detect and mitigate CVE-2025-6011 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.20.1

Fixed versions

  • 1.20.1

Solution

Upgrade to version 1.20.1 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy

Source file

go/github.com/hashicorp/vault/CVE-2025-6011.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:38 +0000.