Incorrect Privilege Assignment Affecting github.com/hashicorp/vault/api/tokenhelper package, versions >=0.10.4 <1.20.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd 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 Incorrect Privilege Assignment vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPVAULTAPITOKENHELPER-11431273
  • published4 Aug 2025
  • disclosed1 Aug 2025
  • creditYarden Porat

Introduced: 1 Aug 2025

NewCVE-2025-5999  (opens in a new tab)
CWE-266  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/vault/api/tokenhelper to version 1.20.0 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Privilege Assignment via the identity endpoint in the root namespace. An attacker can gain unauthorized access to elevated privileges by modifying token permissions to use the root policy.

CVSS Base Scores

version 4.0
version 3.1