VDB

CVE-2025-4166

CVE-2025-4166 PUBLISHED CVSS 4.5 MEDIUM

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.

PackageEcosystemFixed in
github.com/hashicorp/vaultGo Modules1.19.3
openbaoBitnami2.2.2
vaultBitnami1.19.3
openbaoAlpine2.2.2-r0
splunk-otel-collectorWolfi0.125.0-r1
splunk-otel-collectorChainguard0.125.0-r1
splunk-otel-collector-fipsChainguard0.125.0-r1
Vault EnterpriseHashiCorp1.19.2
openbaoopenbao2.2.2
vaulthashicorp1.19.3, 1.19.2, 1.18.9, 1.17.16, 1.16.20
vaultBitnami1.19.3

Risk scores

CVSS 3.1
4.5
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N

Affected products

VendorProductVersions
HashiCorpVault0.3.0
HashiCorpVault Enterprise0.10.0
HashiCorpVault Enterprise0.10.0
HashiCorpVault0.3.0
alpineopenbao0
wolfisplunk-otel-collector0
chainguardsplunk-otel-collector0
github.comhashicorp/vault0.3.0
chainguardsplunk-otel-collector-fips0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›