Skip to content
Noroxi
CVE-2025-4166· NVD / CVE Program· CNA HashiCorp

Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin

Vault Community and Vault Enterprise Key/Value (kv) Version 2 plugin may unintentionally expose sensitive information in server and audit logs when users submit malformed payloads during secret creation or update operations via the Vault REST API. This vulnerability, identified as CVE-2025-4166, is fixed in Vault Community 1.19.3 and Vault Enterprise 1.19.3, 1.18.9, 1.17.16, 1.16.20.

MediumCVSS 6.5 · v3.1—No exploit Fix available
Published
May 2, 2025
Updated
Jun 17, 2026
EPSS
0.4% · 37th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

26

Monitor

Low priority for now.

CVSS
26 / 40 · 6.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.4%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
6.5
CNA · HashiCorp
4.5
2.0 point gap

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
hashicorpvault
openbaoopenbao

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • hashicorp vault0.3.0 and later · before 1.16.20
  • hashicorp vault0.3.0 and later · before 1.19.3
  • hashicorp vault1.17.0 and later · before 1.17.16
  • hashicorp vault1.18.0 and later · before 1.18.9
  • hashicorp vault1.19.0 and later · before 1.19.3
  • openbao openbaobefore 2.2.2

Versions reported by the vendor

Affected version ranges reported by the assigning authority (HashiCorp). Independent of NVD's CPE analysis and usually ahead of it.

  • HashiCorp Vault

    • 0.3.0 and later · before 1.19.2affected · semver
  • HashiCorp Vault Enterprise

    • 0.10.0 and later · before 1.19.2affected · semverfixed in 1.18.9, 1.17.16, 1.16.20

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Gogithub.com/hashicorp/vaultfrom 0.3.0 · before 1.19.31.19.3
openSUSE:Tumbleweedgovulncheck-vulndbbefore 0.0.20250506T153719-1.10.0.20250506T153719-1.1
openSUSE:Tumbleweedopenbaobefore 2.2.2-1.12.2.2-1.1

Other highest-scoring records for the same primary product.

  • CVE-2020-35192The official vault docker images before 0.11.6 contain a blank password for a root user.
    40Plan
  • CVE-2024-2048Vault Cert Auth Method Did Not Correctly Validate Non-CA Certificates
    39Monitor
  • CVE-2020-12757HashiCorp Vault and Vault Enterprise 1.4.0 and 1.4.1, when configured with the GCP Secrets Engine, may incorrectly generate GCP Credentials
    39Monitor
  • CVE-2025-6000Arbitrary Remote Code Execution via Plugin Catalog Abuse
    36Monitor
  • CVE-2022-40186An issue was discovered in HashiCorp Vault and Vault Enterprise before 1.11.3.
    36Monitor
  • CVE-2022-36129HashiCorp Vault Enterprise 1.7.0 through 1.9.7, 1.10.4, and 1.11.0 clusters using Integrated Storage expose an unauthenticated API endpoint
    36Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
HashiCorp Vault1.19.2Vendor (CNA)
HashiCorp Vault Enterprise1.16.20Vendor (CNA)
HashiCorp Vault Enterprise1.17.16Vendor (CNA)
HashiCorp Vault Enterprise1.18.9Vendor (CNA)
HashiCorp Vault Enterprise1.19.2Vendor (CNA)
Go:github.com/hashicorp/vault1.19.3Package registry (OSV)
opensuse:govulncheck-vulndb0.0.20250506T153719-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:openbao2.2.2-1.1 · openSUSE:TumbleweedPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

nvd-primary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records