// For flags

CVE-2025-4166

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

Severity Score

4.5
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track
*SSVC
Descriptions

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.

These are all security issues fixed in the govulncheck-vulndb-0.0.20250506T153719-1.1 package on the GA media of openSUSE Tumbleweed.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
Low
Authentication
Multiple
Confidentiality
Complete
Integrity
None
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:Track
Exploitation
None
Automatable
No
Tech. Impact
Partial
* Organization's Worst-case Scenario
Timeline
  • 2025-04-30 CVE Reserved
  • 2025-05-02 CVE Published
  • 2025-05-08 CVE Updated
  • 2025-06-03 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-209: Generation of Error Message Containing Sensitive Information
CAPEC
  • CAPEC-215: Fuzzing for application mapping
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
HashiCorp
Search vendor "HashiCorp"
Vault
Search vendor "HashiCorp" for product "Vault"
>= 0.3.0 < 1.19.2
Search vendor "HashiCorp" for product "Vault" and version " >= 0.3.0 < 1.19.2"
en
Affected
HashiCorp
Search vendor "HashiCorp"
Vault Enterprise
Search vendor "HashiCorp" for product "Vault Enterprise"
>= 0.10.0 < 1.19.2
Search vendor "HashiCorp" for product "Vault Enterprise" and version " >= 0.10.0 < 1.19.2"
en
Affected