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

Low 3.7 Published Updated

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.

PackageAffectedFixed in
github.com/hashicorp/vault GoAll versions1.20.1
github.com/hashicorp/vault GoAll versions1.20.1
github.com/hashicorp/vault GoAll versions1.20.1
vault BitnamiAll versions1.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.

All Hashicorp Vault vulnerabilities

Sources

Also known as BIT-vault-2025-6011, GHSA-mwgr-84fv-3jh9, GO-2025-3839, MINI-2f83-f3vf-78jj.

Is CVE-2025-6011 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free