Observable Discrepancy Affecting github.com/hashicorp/vault/api/auth/userpass package, versions >=0.1.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPVAULTAPIAUTHUSERPASS-13517971
  • published10 Oct 2025
  • disclosed11 Jul 2025
  • creditYarden Porat

Introduced: 11 Jul 2025

CVE-2025-6010  (opens in a new tab)
CWE-200  (opens in a new tab)

How to fix?

There is no fixed version for github.com/hashicorp/vault/api/auth/userpass.

Overview

Affected versions of this package are vulnerable to Observable Discrepancy via userpass auth method. An attacker can enumerate valid usernames on this auth method through brute force or a list of known usernames.

##Workaround

This issue can be partially mitigated by using rate-limit quotas in Vault or enabling network level controls for rate limiting that restrict access to Vault. Customers may also consider enforcing login MFA for the userpass auth mounts.

CVSS Base Scores

version 4.0
version 3.1