CVE-2025-4166: Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin
Medium · CVSS 4.5 (CVSS 3.1)EPSS 0.45%, 39th percentilePublished Updated Assigner: HashiCorp
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.
Vector CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N · CWE-209
Tracked companies
Mapped from the CVE’s affected-product data, NVD CPE matches, vendor advisories or package feeds. A mapping means the vendor’s software is named, not that its hosted service was exposed.
Status incidents that name it
No tracked status incident names this CVE.
Affected vendors and products
HashiCorp: VaultHashiCorp: Vault Enterprise
References
- CVE record on cve.org (opens in new tab)
- NVD entry (opens in new tab)
- discuss.hashicorp.com/t/hcsec-2025-09-vault-may-expose-sensitive-information-in-error-logs-… (opens in new tab)
- CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (opens in new tab)
- This product uses data from the NVD API but is not endorsed or certified by the NVD. (opens in new tab)
- Known Exploited Vulnerabilities catalog from CISA. (opens in new tab)
- EPSS scores from FIRST (Exploit Prediction Scoring System). (opens in new tab)