CVE-2025-4166

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

Published May 2, 2025 CVSS 3.1 · 4.5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-13240 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.
Github GHSA Github GHSA GHSA-gcqf-f89c-68hv Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information
History
Type Values Removed Values Added
First Time appeared Openbao
Openbao openbao
CPEs cpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:*
Vendors & Products Openbao
Openbao openbao
Type Values Removed Values Added
CPEs cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*
cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*
Type Values Removed Values Added
Metrics epss

{'score': 0.00038}

epss

{'score': 0.00014}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin
Weaknesses CWE-209
References
Metrics cvssV3_1

{'score': 4.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
HashiCorp
Published
Updated
May 8, 2025, 1:01 PM
Reserved
Apr 30, 2025, 9:43 PM
Status
Analyzed
Published
May 2, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:32 AM
Severity
Moderate
Public date
May 2, 2025, 2:57 PM