PT-2025-18795 · Hashicorp+1 · Vault Enterprise+3

CVE-2025-4166

·

Published

2025-05-02

·

Updated

2026-07-27

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:C/I:N/A:N
Name of the Vulnerable Software and Affected Versions Vault Community versions prior to 1.19.3 Vault Enterprise versions prior to 1.19.3, 1.18.9, 1.17.16, 1.16.20
Description The Key/Value (kv) Version 2 plugin in Vault Community and Vault Enterprise 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.
Recommendations For Vault Community version prior to 1.19.3, update to version 1.19.3 or later. For Vault Enterprise version prior to 1.19.3, update to version 1.19.3 or later. For Vault Enterprise version prior to 1.18.9, update to version 1.18.9 or later. For Vault Enterprise version prior to 1.17.16, update to version 1.17.16 or later. For Vault Enterprise version prior to 1.16.20, update to version 1.16.20 or later. As a temporary workaround, consider restricting access to the Vault REST API to minimize the risk of exploitation.

Exploit

Fix

Generation of Error Message Containing Sensitive Information

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2025-06973
BIT-OPENBAO-2025-4166
BIT-VAULT-2025-4166
CVE-2025-4166
GHSA-GCQF-F89C-68HV
GO-2025-3663
OPENSUSE-SU-2025:15059-1
OPENSUSE-SU-2025:15186-1

Affected Products

Key/Value (Kv) Version 2 Plugin
Red Os
Vault Community
Vault Enterprise