CVE-2025-4166: Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information

CVE-2025-4166 · Severity: low · CVSS 3.1 · Published 2025-05-06

Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information in github.com/hashicorp/vault

Technologies: github.com/hashicorp/vault (Go). Vendors: Go.

Quick answers

Is CVE-2025-4166 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-4166 being exploited in the wild.
How severe is CVE-2025-4166?
Low severity, with a CVSS score of 3.1, published 6 May 2025.
Which products and versions are affected?
github.com/hashicorp/vault (Go) SEMVER:introduced=0.3.0,fixed=1.19.3.
Is there a fix for CVE-2025-4166?
Yes. github.com/hashicorp/vault (Go): upgrade to 1.19.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-4166?
Check whether you run github.com/hashicorp/vault (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • github.com/hashicorp/vault (Go): upgrade to 1.19.3 or later
    go get github.com/hashicorp/vault@v1.19.3

Affected products

  • github.com/hashicorp/vault (Go) SEMVER:introduced=0.3.0,fixed=1.19.3

Identifiers

  • CVE-2025-4166
  • GHSA-gcqf-f89c-68hv
  • GO-2025-3663

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.