Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin
Published May 2, 2025
6.5
MEDIUMCVSS 3.1
EPSS 0.45%
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.
Affected products
-
- Version 0.3.0StatusaffectedConstraints<1.19.2
- Version
-
- Version 0.10.0StatusaffectedConstraints<1.19.2
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| HashiCorp | Vault | unaffected |
| ||||||
| HashiCorp | Vault Enterprise | unaffected |
|
Configuration 1
No data.
Red Hat Openshift Data Foundation 4
odf4/cephcsi-rhel9
Fix deferred
Red Hat Openshift Data Foundation 4
odf4/mcg-cli-rhel9
Fix deferred
Red Hat Openshift Data Foundation 4
odf4/mcg-rhel9-operator
Fix deferred
Red Hat Openshift Data Foundation 4
odf4/odf-cli-rhel9
Fix deferred
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Openshift Data Foundation 4 | odf4/cephcsi-rhel9 | Fix deferred | n/a |
| Red Hat Openshift Data Foundation 4 | odf4/mcg-cli-rhel9 | Fix deferred | n/a |
| Red Hat Openshift Data Foundation 4 | odf4/mcg-rhel9-operator | Fix deferred | n/a |
| Red Hat Openshift Data Foundation 4 | odf4/odf-cli-rhel9 | Fix deferred | n/a |
github.com/hashicorp/vault
Go
Introduced 0.3.0 Fixed 1.19.3
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/hashicorp/vault | 0.3.0 | 1.19.3 |
Remediation
Red Hat mitigation
Customers with the capability to search through server and audit logs for any possible exposed secrets can refer to the following snippets to aid in searching. More information on viewing audit and server logs can be found at: https://developer.hashicorp.com/vault/tutorials/monitoring/troubleshooting-vault#vault-logs
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
1 other source (GHSA) ▾
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed May 2, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2025–2026- EPSS v4
- EPSS v5
Percentile over time
- EPSS v4
- EPSS v5
Table of values (3 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.45% (0.00449) | 36.78th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.34% (0.00335) | 25.11th | v5 (v2026.06.15) |
| May 3, 2025 | 0.03% (0.00028) | 6.43th | v4 (v2025.03.14) |
References (7)
- https://access.redhat.com/security/cve/CVE-2025-4166 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2363669 Issue Tracking
- 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 Vendor Advisory
- https://github.com/advisories/GHSA-gcqf-f89c-68hv Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-4166
- https://pkg.go.dev/vuln/GO-2025-3663
- https://www.cve.org/CVERecord?id=CVE-2025-4166
Change history (0)
No recorded changes yet.