{"id":"CVE-2025-4166","published":"2025-05-02T14:57:58Z","modified":"2025-05-08T13:01:48Z","title":"Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin","vendor":"HashiCorp","product":"Vault","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00457,"percentile":0.40525,"provenance":"source"},"cwes":[{"id":"CWE-209","name":"Generation of Error Message Containing Sensitive Information"}],"references":[{"url":"https://discuss.hashicorp.com/t/hcsec-2025-09-vault-may-expose-sensitive-information-in-error-logs-when-processing-malformed-data-with-the-kv-v2-plugin","tags":[]}],"priority":{"score":11.3,"factors":[{"name":"EPSS percentile","points":8.11},{"name":"CVSS severity","points":3.15}]},"vendorSlug":"hashicorp","affectedVersions":[{"vendor":"HashiCorp","product":"Vault","versions":[">= 0.3.0, < 1.19.2"]},{"vendor":"HashiCorp","product":"Vault Enterprise","versions":[">= 0.10.0, < 1.19.2"]}],"fixedVersions":[{"vendor":"HashiCorp","product":"Vault Enterprise","versions":["1.18.9","1.17.16","1.16.20"]}],"capec":[{"id":"CAPEC-215","name":"Fuzzing for application mapping"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-05-02T15:39:46.954534Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/hashicorp/vault","vulnerableRanges":[">=0.3.0, <1.19.3"],"patched":["1.19.3"],"from":["GHSA-gcqf-f89c-68hv","GO-2025-3663"],"provenance":"source"}],"summary":{"text":"A flaw in the Key/Value (kv) Version 2 plugin of HashiCorp Vault Community and Vault Enterprise can cause sensitive information to be written unintentionally to server and audit logs when malformed payloads are submitted during secret creation or update operations through the REST API. An attacker with high privileges who can interact with the REST API and induce a user to act (user interaction is required) can read the sensitive data that ends up in those logs, with no change to confidentiality, integrity, or availability otherwise noted, and the attack is low complexity over the network.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:56Z"},"euvd":{"id":"EUVD-2025-13240","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-9180","published":"2024-10-10","fixed":"1.18.0","kev":false},{"cve":"CVE-2024-8185","published":"2024-10-31","fixed":"1.18.1","kev":false},{"cve":"CVE-2025-3879","published":"2025-05-02","fixed":"1.19.1","kev":false,"link":{"from":"CVE-2025-3879","to":"CVE-2025-4166","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.19.1","toFixed":"1.19.3","daysApart":0}]}},{"cve":"CVE-2025-4166","published":"2025-05-02","fixed":"1.19.3","kev":false},{"cve":"CVE-2025-4656","published":"2025-06-25","fixed":"1.20.0","kev":false,"link":{"from":"CVE-2025-4166","to":"CVE-2025-4656","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.19.3","toFixed":"1.20.0","daysApart":54}]}},{"cve":"CVE-2025-5999","published":"2025-08-01","fixed":"1.20.0","kev":false,"link":{"from":"CVE-2025-4166","to":"CVE-2025-5999","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/hashicorp/vault","fromFixed":"1.19.3","toFixed":"1.20.0","daysApart":91}]}},{"cve":"CVE-2025-6000","published":"2025-08-01","fixed":"1.20.1","kev":false}],"package":"Go:github.com/hashicorp/vault"}}