#VU108657 Inclusion of Sensitive Information in Log Files in Vault and Vault Enterprise - CVE-2025-4166


Vulnerability identifier: #VU108657

Vulnerability risk: Low

CVSSv4.0: 4.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2025-4166

CWE-ID: CWE-532

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
Vault
Web applications / Modules and components for CMS
Vault Enterprise
Web applications / Modules and components for CMS

Vendor: HashiCorp

Description

The vulnerability allows a local user to gain access to sensitive information.

The vulnerability exists due to software stores sensitive information into log files when processing malformed data with the KVv2 plugin. A local user can read the log files and gain access to sensitive data.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Vault: 0.3.0 - 0.3.1, 0.4.0 - 0.4.1, 0.5.0 - 0.5.3, 0.6.0 - 0.6.5, 0.7.0 - 0.7.3, 0.8.0 - 0.8.3, 0.9.0 - 0.9.6, 0.10.0 - 0.11.6, 1.0.0 - 1.0.3, 1.1.0 - 1.19.2, 1.2.0 - 1.2.7, 1.3.0 - 1.3.10, 1.4.0 - 1.4.7, 1.5.0 - 1.5.9, 1.6.0 - 1.6.7, 1.7.0 - 1.7.10, 1.8.0 - 1.8.12, 1.9.0 - 1.9.10

Vault Enterprise: 0.3.0 - 0.3.1, 0.4.0 - 0.4.1, 0.5.0 - 0.5.3, 0.6.0 - 0.6.5, 0.7.0 - 0.7.3, 0.8.0 - 0.8.3, 0.9.0 - 0.9.6, 0.10.0 - 0.11.6, 1.0.0 - 1.0.3, 1.1.0 - 1.19.2, 1.2.0 - 1.2.7, 1.3.0 - 1.3.10, 1.4.0 - 1.4.7, 1.5.0 - 1.5.9, 1.6.0 - 1.6.7, 1.7.0 - 1.7.10, 1.8.0 - 1.8.12, 1.9.0 - 1.9.10


External links
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


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability