{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-4166","id":"CVE-2025-4166","title":"Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin","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.","descriptionLong":"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.","published":"2025-05-02T14:57:58.710Z","updated":"2026-10-28T02:30:48.792462182Z","reserved":"2025-04-30T21:43:10.413Z","status":"Analyzed","rejected":false,"assigner":"HashiCorp","metric":{"version":"3.1","score":4.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"HashiCorp"},"metrics":[{"version":"3.1","score":4.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"HashiCorp"},{"version":"3.1","score":4.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"hashicorp.com"},{"version":"3.1","score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":4.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["HashiCorp Vault","HashiCorp Vault Enterprise"],"affectedProducts":[{"vendor":"HashiCorp","product":"Vault","defaultStatus":"unaffected","versions":[{"lessThan":"1.19.2","status":"affected","version":"0.3.0","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"]},{"vendor":"HashiCorp","product":"Vault Enterprise","defaultStatus":"unaffected","versions":[{"changes":[{"at":"1.18.9","status":"unaffected"},{"at":"1.17.16","status":"unaffected"},{"at":"1.16.20","status":"unaffected"}],"lessThan":"1.19.2","status":"affected","version":"0.10.0","versionType":"semver"}],"platforms":["64 bit","32 bit","x86","ARM","MacOS","Windows","Linux"]}],"packages":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","purl":"pkg:golang/github.com/hashicorp/vault","ranges":[">=0.3.0 <1.19.3"],"fixed":["1.19.3"],"advisory":"GHSA-gcqf-f89c-68hv"}],"cwes":["CWE-209"],"aliases":["BIT-openbao-2025-4166","BIT-vault-2025-4166","GHSA-gcqf-f89c-68hv","GO-2025-3663"],"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":["Vendor Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4166.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4166","tags":["advisory"]},{"url":"https://github.com/hashicorp/vault","tags":["package"]},{"url":"https://pkg.go.dev/vuln/GO-2025-3663","tags":["web"]},{"url":"https://github.com/advisories/GHSA-gcqf-f89c-68hv","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00457,"epssPercentile":0.40297,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-4166","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-4166","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-4166","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gcqf-f89c-68hv","ok":true,"note":"GHSA-gcqf-f89c-68hv"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-4166","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}