CVE-2025-4166 Details
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.
A vulnerability exists in the HashiCorp Vault Community and Enterprise editions that utilize the Key/Value (KV) Version 2 plugin. This vulnerability may lead to the unintentional exposure of sensitive information in server and audit logs. The issue arises when users send malformed payloads during the creation or updating of secrets via the Vault REST API. Affected versions include Vault Community 0.3.0 prior to 1.19.2 and Vault Enterprise 0.3.0 prior to 1.19.2, 1.18.8, 1.17.15, 1.16.19.
Users can upgrade to Vault Community 1.19.3 or Vault Enterprise 1.19.3, 1.18.9, 1.17.16, 1.16.20. After upgrading, it is advised to rotate any secrets that may have been exposed in the logs.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 2, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-209 | Generation of Error Message Containing Sensitive Information | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| hashicorp vault | >= 0.3.0, < 1.16.20 >= 0.3.0, < 1.19.3 >= 1.17.0, < 1.17.16 >= 1.18.0, < 1.18.9 >= 1.19.0, < 1.19.3 |
CPE
Remediation
| |
| openbao openbao | < 2.2.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Dec 31, 2025 | Modified Analysis | [email protected] |
| Aug 12, 2025 | Initial Analysis | [email protected] |
| May 2, 2025 | New CVE Received | [email protected] |