Skip to content

CVE-2025-4166 Vault May Include Sensitive Data in Error Logs When Using the KV v2 Plugin

MediumCVSS 6.5 EPSS 0.46%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

7 packages: 7 fixed.

PackageAffectedFixed inStatus
alpine/openbao(Alpine v3.22) < 2.2.2-r0 2.2.2-r0 Fixed
alpine/openbao(Alpine v3.23) < 2.2.2-r0 2.2.2-r0 Fixed
alpine/openbao(Alpine v3.24) < 2.2.2-r0 2.2.2-r0 Fixed
hashicorp github.com/hashicorp/vault >= 0.3.0, < 1.16.20; >= 0.3.0, < 1.19.2; >= 0.3.0, < 1.19.3; >= 1.17.0, < 1.17.16 +2 more 1.16.20, 1.17.16, 1.18.9, 1.19.2, 1.19.3 Fixed
hashicorp github.com/hashicorp/vault(Go) >= 0.3.0, < 1.19.3 1.19.3 Fixed
hashicorp Vault Enterprise >= 0.10.0, < 1.18.9 1.18.9 Fixed
openbao < 2.2.2 2.2.2 Fixed

Affected products

ProductAffected versionsFixed in
hashicorp github.com/hashicorp/vault(Go) >= 0.3.0, < 1.19.3 1.19.3
hashicorp github.com/hashicorp/vault >= 0.3.0, < 1.19.2 1.19.2
hashicorp Vault Enterprise >= 0.10.0, < 1.18.9 1.18.9
alpine/openbao(Alpine:v3.22) < 2.2.2-r0 2.2.2-r0
alpine/openbao(Alpine:v3.23) < 2.2.2-r0 2.2.2-r0
alpine/openbao(Alpine:v3.24) < 2.2.2-r0 2.2.2-r0
hashicorp github.com/hashicorp/vault >= 0.3.0, < 1.16.20 1.16.20
hashicorp github.com/hashicorp/vault >= 0.3.0, < 1.19.3 1.19.3
hashicorp github.com/hashicorp/vault >= 1.17.0, < 1.17.16 1.17.16
hashicorp github.com/hashicorp/vault >= 1.18.0, < 1.18.9 1.18.9
hashicorp github.com/hashicorp/vault >= 1.19.0, < 1.19.3 1.19.3
openbao < 2.2.2 2.2.2

References