{"id":"BIT-openbao-2025-4166","revision":null,"records":[{"revision":"8493bdaba28543c2ab2150a59607bd1e","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2025-4166","aliases":[],"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.","state":0,"publishedAt":"2025-05-02T14:57:58.71+00:00","modifiedAt":"2025-05-08T13:01:48.44+00:00","affected":[{"ecosystem":"Vendor product","name":"Vault","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"platforms\": [\n                        \"64 bit\",\n                        \"32 bit\",\n                        \"x86\",\n                        \"ARM\",\n                        \"MacOS\",\n                        \"Windows\",\n                        \"Linux\"\n                    ],\n                    \"product\": \"Vault\",\n                    \"repo\": \"https://github.com/hashicorp/vault\",\n                    \"vendor\": \"HashiCorp\",\n                    \"versions\": [\n                        {\n                            \"lessThan\": \"1.19.2\",\n                            \"status\": \"affected\",\n                            \"version\": \"0.3.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"},{"ecosystem":"Vendor product","name":"Vault Enterprise","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"defaultStatus\": \"unaffected\",\n                    \"platforms\": [\n                        \"64 bit\",\n                        \"32 bit\",\n                        \"x86\",\n                        \"ARM\",\n                        \"MacOS\",\n                        \"Windows\",\n                        \"Linux\"\n                    ],\n                    \"product\": \"Vault Enterprise\",\n                    \"repo\": \"https://github.com/hashicorp/vault\",\n                    \"vendor\": \"HashiCorp\",\n                    \"versions\": [\n                        {\n                            \"changes\": [\n                                {\n                                    \"at\": \"1.18.9\",\n                                    \"status\": \"unaffected\"\n                                },\n                                {\n                                    \"at\": \"1.17.16\",\n                                    \"status\": \"unaffected\"\n                                },\n                                {\n                                    \"at\": \"1.16.20\",\n                                    \"status\": \"unaffected\"\n                                }\n                            ],\n                            \"lessThan\": \"1.19.2\",\n                            \"status\": \"affected\",\n                            \"version\": \"0.10.0\",\n                            \"versionType\": \"semver\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4.5,"severity":"MEDIUM"}],"references":["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"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2025-4166","license":"CVE Program Terms of Use","key":"cve-program:CVE-2025-4166","identifiers":["CVE-2025-4166"]},"retained":false,"historicalAffected":[]},{"revision":"0be2086f733049fb83f769a32b9a6cc8","observedAt":"2026-11-15T04:31:17.217+00:00","statement":{"source":"euvd","id":"EUVD-2025-13240","aliases":["CVE-2025-4166","GHSA-gcqf-f89c-68hv"],"title":"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 RE…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4.5,"severity":null}],"references":["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"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-13240","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"May 2, 2025, 2:57:58 PM","dateUpdated":"May 8, 2025, 1:01:48 PM"},"relatedAdvisories":[{"id":"openSUSE-SU-2025:15186-1","title":"openbao-2.2.2-1.1 on GA media","vulnerabilityIds":["CVE-2025-4166"]},{"id":"openSUSE-SU-2025:15059-1","title":"govulncheck-vulndb-0.0.20250506T153719-1.1 on GA media","vulnerabilityIds":["CVE-2019-11243","CVE-2023-32198","CVE-2024-22031","CVE-2025-23390","CVE-2025-32777","CVE-2025-3879","CVE-2025-4166","CVE-2025-4210","CVE-2025-46327","CVE-2025-46342","CVE-2025-46569","CVE-2025-46599"]},{"id":"WID-SEC-W-2025-0933","title":"Hashicorp Vault: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2025-3879","CVE-2025-4166"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2025-13240","identifiers":["EUVD-2025-13240","CVE-2025-4166","GHSA-gcqf-f89c-68hv"]},"retained":false,"historicalAffected":[]},{"revision":"a2df248ae6fb4099a3f554a470bf20fa","observedAt":"2026-10-25T02:24:54.05+00:00","statement":{"source":"nvd","id":"CVE-2025-4166","aliases":[],"title":"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 RE…","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.","state":0,"publishedAt":"2025-05-02T15:15:50.313+00:00","modifiedAt":"2026-06-17T09:32:41.227+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security@hashicorp.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","score":4.5,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","score":6.5,"severity":"MEDIUM"}],"references":["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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-4166","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-209"],"productCriteria":["cpe:2.3:a:hashicorp:vault:*:*:*:*:enterprise:*:*:*","cpe:2.3:a:hashicorp:vault:*:*:*:*:-:*:*:*","cpe:2.3:a:openbao:openbao:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2025-05-02T15:15:50.313","lastModified":"2026-06-17T09:32:41.227"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2025-4166","identifiers":["CVE-2025-4166"]},"retained":false,"historicalAffected":[]},{"revision":"101ceceb99174f449721a781483615ca","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-gcqf-f89c-68hv","aliases":["BIT-openbao-2025-4166","BIT-vault-2025-4166","CVE-2025-4166","GO-2025-3663"],"title":"Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information","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.","state":0,"publishedAt":"2025-05-02T15:31:49+00:00","modifiedAt":"2026-09-10T03:50:57.5620226+00:00","affected":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.3.0"},{"kind":"fixed","version":"1.19.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2025-4166","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","https://github.com/hashicorp/vault","https://pkg.go.dev/vuln/GO-2025-3663"],"sourceUrl":"https://github.com/advisories/GHSA-gcqf-f89c-68hv","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-gcqf-f89c-68hv","identifiers":["GHSA-gcqf-f89c-68hv","BIT-openbao-2025-4166","BIT-vault-2025-4166","CVE-2025-4166","GO-2025-3663"]},"retained":false,"historicalAffected":[]},{"revision":"4857984256a04a599c7ff612c6ebb98a","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GO-2025-3663","aliases":["BIT-openbao-2025-4166","BIT-vault-2025-4166","CVE-2025-4166","GHSA-gcqf-f89c-68hv"],"title":"Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information in github.com/hashicorp/vault","description":"Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information in github.com/hashicorp/vault","state":0,"publishedAt":"2025-05-06T15:37:19+00:00","modifiedAt":"2026-07-27T09:11:29.3005656+00:00","affected":[{"ecosystem":"Go","name":"github.com/hashicorp/vault","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0.3.0"},{"kind":"fixed","version":"1.19.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[],"references":["https://github.com/advisories/GHSA-gcqf-f89c-68hv","https://nvd.nist.gov/vuln/detail/CVE-2025-4166","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"],"sourceUrl":"https://osv.dev/vulnerability/GO-2025-3663","license":"OSV · upstream source license applies","key":"osv:GO-2025-3663","identifiers":["GO-2025-3663","BIT-openbao-2025-4166","BIT-vault-2025-4166","CVE-2025-4166","GHSA-gcqf-f89c-68hv"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-15T13:01:41.3445250+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-15T13:01:41.344525+00:00","lastSuccessAt":"2026-11-15T13:01:46.2867767+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:46.2867777+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-7de4d7559a5263003f03d9f70577ab06f92ba4178309f26fce53e22a4a959294-24e910670d68255a90dfc1d94d37ac5394a0a43e960361a78142e746e5b8e0e9","complete":true,"records":425790,"lastAttemptAt":"2026-11-15T14:00:37.026787+00:00","lastSuccessAt":"2026-11-15T13:01:16.7018281+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:16.7308429+00:00","snapshotPublishedAt":"2026-11-15T12:22:01+00:00","importing":true,"stagedRecords":41,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-47f38f0996d04d31b51da25d0a0d9bc1","complete":false,"records":13821,"lastAttemptAt":"2026-11-15T13:17:28.4296709+00:00","lastSuccessAt":"2026-11-15T13:17:28.424+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:17:28.424+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13628,"expectedIdentifiers":13874,"failedIdentifiers":0},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-15T13:01:41.3445250+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-15T13:01:41.344525+00:00","lastSuccessAt":"2026-11-15T13:01:46.3027206+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:46.3027219+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-00496e381624434cb51cd6ee97f87d5f","complete":true,"records":13833,"lastAttemptAt":"2026-11-15T13:02:04.5706057+00:00","lastSuccessAt":"2026-11-15T13:02:04.555+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:02:04.555+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-15T13:01:38.1237717+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:38.1237717+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-15T13:01:22.067621+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:22.067621+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-15T13:01:41.1317031+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:41.1317031+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-ff18f36f13fcca3a20a3fb9274b59b8872d18869a99071730e1e79b625c8f612","complete":true,"records":232475,"lastAttemptAt":"2026-11-15T13:01:28.8971106+00:00","lastSuccessAt":"2026-11-15T11:05:10.4195883+00:00","error":null,"lastVerifiedAt":"2026-11-15T13:01:28.8971106+00:00","snapshotPublishedAt":"2026-11-15T10:33:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}