Live threats

All CVEs / Hashicorp

CVE-2025-4166Hashicorp Vault

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
—
Auth required
No
Published
May 2, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-209
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Vault.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/hashicorp/vault ≥ 0.3.0 < 1.19.3 1.19.3 go get github.com/hashicorp/vault@v1.19.3
Go github.com/hashicorp/vault ≥ 0.3.0 < 1.19.3 1.19.3 go get github.com/hashicorp/vault@v1.19.3

Per OSV / GitHub Advisories (GHSA-gcqf-f89c-68hv, GO-2025-3663). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
hashicorpvault≥ 0.3.0 < 1.16.20
hashicorpvault≥ 0.3.0 < 1.19.3
hashicorpvault≥ 1.17.0 < 1.17.16
hashicorpvault≥ 1.18.0 < 1.18.9
hashicorpvault≥ 1.19.0 < 1.19.3
openbaoopenbao< 2.2.2

Official sources

References

Links published by the sources. Open them with care.