# CVE-2025-4166: Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin

- Priority: **Routine**
- Reason: Not severe (CVSS 4.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-02 · Modified: 2025-05-08
- Aliases: CGA-2j2f-w7rx-2292, CGA-8m32-8jfc-qgf4, CGA-9w6f-557g-53wr, CGA-ffr4-h26x-7x5v, CGA-h4wc-cvf7-3qpp, CGA-mxwj-5c5j-2xxh, GHSA-gcqf-f89c-68hv, BIT-openbao-2025-4166, BIT-vault-2025-4166, GO-2025-3663, openSUSE-SU-2025:15186-1, CGA-2f2g-xcf8-xxw2, CGA-7xvm-98x6-qc8v, CGA-86qh-8v35-6pj5, CGA-9hqh-7ghg-ch8h, CGA-9j2g-rmw8-pqmp, CGA-ppr2-jpfh-jj5j, CGA-x22f-mmm9-v827, CGA-xj84-6gm7-422q, ALPINE-CVE-2025-4166
- Record: https://cvemate.com/vulnerability/CVE-2025-4166 · JSON: https://cvemate.com/vulnerability/CVE-2025-4166/json

## 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.
```

## Signals

- CVSS: 6.5 medium (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
- EPSS: 0.466%, percentile 42.039%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine openbao (Alpine Linux): \< 2.2.2-r0
- chainguard splunk-otel-collector (Chainguard): \< 0.125.0-r1
- chainguard splunk-otel-collector-compat (Chainguard): \< 0.125.0-r1
- chainguard splunk-otel-collector-doc (Chainguard): \< 0.125.0-r1
- chainguard splunk-otel-collector-fips (Chainguard): \< 0.125.0-r1
- chainguard vault-1.16 (Chainguard): All versions (No fix recorded)
- chainguard vault-1.17 (Chainguard): All versions (No fix recorded)
- chainguard vault-1.18 (Chainguard): All versions (No fix recorded)
- wolfi splunk-otel-collector (Wolfi): \< 0.125.0-r1
- wolfi splunk-otel-collector-compat (Wolfi): \< 0.125.0-r1
- wolfi splunk-otel-collector-doc (Wolfi): \< 0.125.0-r1
- github.com/hashicorp vault (Go): ≥ 0.3.0, \< 1.19.3
- hashicorp 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
- hashicorp vault enterprise: ≥ 0.10.0, \< 1.19.2
- openbao openbao: \< 2.2.2
- opensuse openbao&distro=openSUSE Tumbleweed (openSUSE): \< 2.2.2-1.1

## 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>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/4xxx/CVE-2025-4166.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-4166>
- <https://github.com/hashicorp/vault>
- <https://pkg.go.dev/vuln/GO-2025-3663>
- <https://github.com/advisories/GHSA-gcqf-f89c-68hv>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/2WTWIK3Y7MJO72SFX7HD2C7EXIMLTHTW/>
- <https://www.suse.com/security/cve/CVE-2025-4166>
- <https://security.alpinelinux.org/vuln/CVE-2025-4166>

---

Data as of 2026-12-05T14:13:00.432Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
