CVE-2025-4166

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

MEDIUM
6.5
CVSS Score
Published: May 2, 2025 at 02:57 PM UTC
Updated: June 17, 2026 at 09:32 AM UTC
2 products affected across 2 vendorsVaultOpenbao

Using Vault by HashiCorp?

Get instant alerts when new vulnerabilities affect Vault - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.10.0 ≤ v < 1.19.20.3.0 ≤ v < 1.16.200.3.0 ≤ v < 1.19.20.3.0 ≤ v < 1.19.31.17.0 ≤ v < 1.17.161.18.0 ≤ v < 1.18.91.19.0 ≤ v < 1.19.30.10.00.3.0
Affected range stops below 1.16.20, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.17.16, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.18.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.19.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.19.3, so it looks safe — our inference, not a vendor statement
v < 2.2.2

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusANALYZED
CWE
CWE-209

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card