CVE-2025-4166
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-05-02
- Last modified
- 2026-06-17
- Assigned by
- security@hashicorp.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.4 %
higher than 35 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| github.com/hashicorp | vault (Go) | ≥ 0.3.0, < 1.19.3 | Affected |
| Hashicorp | Vault | ≥ 0.3.0, < 1.16.20 | Affected |
| Hashicorp | Vault | ≥ 0.3.0, < 1.19.3 | Affected |
| Hashicorp | Vault | ≥ 1.17.0, < 1.17.16 | Affected |
| Hashicorp | Vault | ≥ 1.18.0, < 1.18.9 | Affected |
| Hashicorp | Vault | ≥ 1.19.0, < 1.19.3 | Affected |
| Openbao | Openbao | < 2.2.2 | Affected |
Weakness type
-
CWE-209: Generation of Error Message Containing Sensitive Information
The product generates an error message that includes sensitive information about its environment, users, or associated data.
References
Related at Berigo
Articles
-
Varonis: autonomous AI agents were tricked into sharing access keys
Same product
2026-06-09
An AI agent with hardened safety instructions still sent AWS keys and SSH credentials to an external address in Varonis' test.
-
Compromised npm packages steal developer and CI/CD secrets
Same product
2026-06-01
A new supply chain campaign has compromised npm packages under the @redhat-cloud-services namespace, running at install time to harvest secrets.
-
Typosquatted npm packages steal cloud and CI/CD secrets
Same product
2026-05-28
Microsoft has identified 14 malicious npm packages published within four hours, imitating well-known libraries and harvesting cloud credentials.
-
Bitwarden CLI compromised in the same attack chain as Checkmarx
Same product
2026-04-23
Socket has found that Bitwarden's command line tool was compromised, overlapping with the Checkmarx case in attack chain and infrastructure.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.