CVE-2025-4166
MEDIUM4.5EPSS 0.15%Hashicorp Vault Community vulnerable to Generation of Error Message Containing Sensitive Information
Published: 5/2/2025Modified: 2/4/2026
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 packages (3)
- Bitnami/vault>= 0.3.0, < 1.19.3
- Go/github.com/hashicorp/vault>= 0.3.0, < 1.19.3
- Go/github.com/hashicorp/vault>= 0.3.0, < 1.19.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM4.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:N/A:N |
References (5)
- ADVISORYhttps://github.com/advisories/GHSA-gcqf-f89c-68hv
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-4166
- PATCHhttps://github.com/hashicorp/vault
- WEBhttps://discuss.hashicorp.com/t/hcsec-2025-09-vault-may-expose-sensitive-information-in-error-logs-when-processing-malformed-data-with-the-kv-v2-plugin
- WEBhttps://pkg.go.dev/vuln/GO-2025-3663