CVE-2025-4166

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

State
Published
Severity
4.5 Medium
Published
May 2, 2025
Updated
May 8, 2025
Reserved
Apr 30, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.14.5 MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:NHashiCorp

Weaknesses

  • CWE-209 Generation of Error Message Containing Sensitive Information

Affected Products

ProductVersions
VaultHashiCorp
  • 0.3.0 to before 1.19.2Affected
Vault EnterpriseHashiCorp
  • 0.10.0 to before 1.19.2Affectedfrom 1.18.9Not affectedfrom 1.17.16Not affectedfrom 1.16.20Not affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.