CVE-2025-6011 Timing Side-Channel in Vault’s Userpass Auth Method
Attackers can enumerate valid usernames in Vault's userpass auth method via timing side-channels, exposing user existence information.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-6011?
CVE-2025-6011 is a low-severity vulnerability in Hashicorp Vault, published on 1 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-203
Which versions are affected by CVE-2025-6011?
4 open source packages ship an affected version, including github.com/hashicorp/vault and vault. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/hashicorp/vault Go | All versions | 1.20.1 |
github.com/hashicorp/vault Go | All versions | 1.20.1 |
github.com/hashicorp/vault Go | All versions | 1.20.1 |
vault Bitnami | All versions | 1.20.1 |
Products include Hashicorp Vault.
How do I fix CVE-2025-6011?
Upgrade github.com/hashicorp/vault to 1.20.1 or later.
Is CVE-2025-6011 being exploited?
There is no known exploitation of CVE-2025-6011 in the wild and no public exploit code.
Other vulnerabilities in Hashicorp Vault
Sources
Also known as BIT-vault-2025-6011, GHSA-mwgr-84fv-3jh9, GO-2025-3839, MINI-2f83-f3vf-78jj.