Information disclosurein HashiCorp Vault.
No public exploit found; not on exploited lists.
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.
- Upgrade Vault to 1.19.2 or later.
- Upgrade Vault Enterprise to 1.16.20 or later.
- Upgrade github.com/hashicorp/vault (Go) to 1.19.3 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 30 Apr 2025CVE ID reserved by HashiCorp.
- 2 May 2025Published in the CVE List.
- 8 May 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other Vault vulnerabilities
Same weakness: Information in error messages
Patchminder. CVE-2025-4166: Information disclosure in HashiCorp Vault. https://patchminder.com/cve/cve-2025-4166/ (accessed 5 December 2026).