CVE-2025-4166

CVE-2025-4166 is a medium-severity vulnerability in Hashicorp Vault with a CVSS 3.x base score of 4.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-209.

Key facts

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.

Frequently asked questions

What is CVE-2025-4166?
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.
How severe is CVE-2025-4166?
CVE-2025-4166 has a CVSS 3.x base score of 4.5, rated medium severity. It is exploitable over network with low attack complexity, requires high privileges and user interaction. Impact on confidentiality is high, integrity none, and availability none.
Is CVE-2025-4166 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (25th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-4166?
CVE-2025-4166 primarily affects Hashicorp Vault. In total, 3 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2025-4166?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-4166 have an EU (EUVD) identifier?
Yes. CVE-2025-4166 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-13240.
When was CVE-2025-4166 published?
CVE-2025-4166 was published on 2025-05-02 and last updated on 2026-06-17.

References

Affected products (3)

More vulnerabilities in Hashicorp Vault

All CVEs affecting Hashicorp Vault →

Other CWE-209 (Generation of Error Message Containing Sensitive Information) vulnerabilities

Browse all CWE-209 (Generation of Error Message Containing Sensitive Information) vulnerabilities →