Information Exposure Affecting github.com/hashicorp/vault/sdk/framework package, versions >=0.3.0 <1.19.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (8th 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 Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMHASHICORPVAULTSDKFRAMEWORK-10006742
  • published4 May 2025
  • disclosed2 May 2025
  • creditUnknown

Introduced: 2 May 2025

NewCVE-2025-4166  (opens in a new tab)
CWE-209  (opens in a new tab)

How to fix?

Upgrade github.com/hashicorp/vault/sdk/framework to version 1.19.3 or higher.

Overview

Affected versions of this package are vulnerable to Information Exposure when validating malformed payloads in the Validate() function used by the KV v2 plugin. If payloads containing secrets are sent in creation or update requests to the REST API and caught by the validator, their contents may be exposed in audit logs.

CVSS Base Scores

version 4.0
version 3.1