CVE-2025-4166
Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin
Reported by hashicorp · Published May 2, 2025
github.com/hashicorp/vault is fixed in 1.19.3 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/hashicorp/vault | Go Modules | 1.19.3 |
| openbao | Bitnami | 2.2.2 |
| vault | Bitnami | 1.19.3 |
| openbao | Alpine | 2.2.2-r0 |
| splunk-otel-collector | Wolfi | 0.125.0-r1 |
| splunk-otel-collector | Chainguard | 0.125.0-r1 |
| splunk-otel-collector-fips | Chainguard | 0.125.0-r1 |
| Vault Enterprise | HashiCorp | 1.19.2 |
| openbao | openbao | 2.2.2 |
| vault | hashicorp | 1.19.3, 1.19.2, 1.18.9, 1.17.16, 1.16.20 |
| vault | Bitnami | 1.19.3 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| HashiCorp | Vault | 0.3.0 |
| HashiCorp | Vault Enterprise | 0.10.0 |
| HashiCorp | Vault Enterprise | 0.10.0 |
| HashiCorp | Vault | 0.3.0 |
| alpine | openbao | 0 |
| wolfi | splunk-otel-collector | 0 |
| chainguard | splunk-otel-collector | 0 |
| github.com | hashicorp/vault | 0.3.0 |
| chainguard | splunk-otel-collector-fips | 0 |
Timeline
- May 2, 2025 CVE Published
- May 2, 2025 PoC Published (4 in total, the first dated here)
- May 3, 2025 EPSS Score (30 in total, the first dated here)
- May 8, 2025 CVE Updated
- Jun 13, 2025 Coalition ESS Score (26 in total, the first dated here)
- Mar 17, 2026 Security Advisory (3 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-4166
vulnetix vdb fixes CVE-2025-4166
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-4166/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart