CVE-2025-4166: Hashicorp Vault

Medium severity, CVSS 6.5. EPSS: 0.4% chance of exploitation in the next 30 days.

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 products

  • Hashicorp Vault: from 0.3.0, before 1.16.20 (fixed in 1.16.20); from 0.3.0, before 1.19.3 (fixed in 1.19.3); from 1.17.0, before 1.17.16 (fixed in 1.17.16); from 1.18.0, before 1.18.9 (fixed in 1.18.9); from 1.19.0, before 1.19.3 (fixed in 1.19.3)
  • Openbao Openbao: before 2.2.2 (fixed in 2.2.2)

Published 2025-05-02. Last modified 2026-06-17.