CVE-2025-4166: Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin
Vulnerability summary
CVE-2025-4166 is a medium (CVSS 6.5) vulnerability in hashicorp vault. EPSS estimates a 0.47% chance of exploitation in the next 30 days, higher than 42% of scored vulnerabilities.
Not severe (CVSS 4.5, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1 · Related 4Timeline
- 02-05-2025PublishedVulnerability first disclosed.
- 08-05-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- CVE.orgCNA4.5MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:NDiffers
- OSV · GoEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:NDiffers
- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
EPSS trend
Probability
0.47%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
Increase +0.01 pp
From 0.46% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard7 products
- splunk-otel-collector< 0.125.0-r1
- splunk-otel-collector-compat< 0.125.0-r1
- splunk-otel-collector-doc< 0.125.0-r1
- splunk-otel-collector-fips< 0.125.0-r1
- vault-1.16All versions (No fix recorded)
Wolfi3 products
- splunk-otel-collector< 0.125.0-r1
- splunk-otel-collector-compat< 0.125.0-r1
- splunk-otel-collector-doc< 0.125.0-r1
Hashicorp2 products
- vault≥ 0.3.0, < 1.19.2 | ≥ 0.3.0, < 1.16.20 | ≥ 0.3.0, < 1.19.3 | ≥ 1.17.0, < 1.17.16 | ≥ 1.18.0, < 1.18.9 | ≥ 1.19.0, < 1.19.3
- vault enterprise≥ 0.10.0, < 1.19.2
Alpine1 product
- openbao< 2.2.2-r0
Github.com/hashicorp1 product
- vault≥ 0.3.0, < 1.19.3
Openbao1 product
- openbao< 2.2.2
Opensuse1 product
- openbao&distro=openSUSE Tumbleweed< 2.2.2-1.1
7 vendors · 16 products
References
9 links- github.com/hashicorp/vaultPACKAGE
- lists.opensuse.org/archives/…Advisory