CVE-2025-4166

published 2 May 2025 · updated 8 May 2025

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

4.5MediumCVSS 4.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Vault 1.19.2.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
HashiCorpVault>=0.10.0 <1.19.2, >=0.3.0 <1.19.21.19.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in HashiCorp, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-4166 severity on Zeptric[![CVE-2025-4166](https://zeptric.io/badge/cve/CVE-2025-4166.svg)](https://zeptric.io/cve/CVE-2025-4166)