Improper Restriction of Excessive Authentication Attempts Affecting github.com/hashicorp/vault/vault package, versions >=1.10.0-rc1 <1.20.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (1st percentile)

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 Learn

Learn about Improper Restriction of Excessive Authentication Attempts vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPVAULTVAULT-11426412
  • published3 Aug 2025
  • disclosed1 Aug 2025
  • creditYarden Porat

Introduced: 1 Aug 2025

NewCVE-2025-6015  (opens in a new tab)
CWE-307  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/vault/vault to version 1.20.1 or higher.

Overview

github.com/hashicorp/vault/vault is a tool for securely accessing secrets.

Affected versions of this package are vulnerable to Improper Restriction of Excessive Authentication Attempts via validateTOTP when enforcing the once-per-validity-window check. An attacker could gain unauthorized access to sensitive information by bypassing multi-factor authentication rate limits and reusing TOTP tokens.

CVSS Base Scores

version 4.0
version 3.1