CVE-2025-4166Hashicorp Vault
Medium 6.5 No auth needed
Follow: this CVE · Hashicorp · Hashicorp Vault We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Vault.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | vault | ≥ 0.3.0 < 1.16.20 |
| hashicorp | vault | ≥ 0.3.0 < 1.19.3 |
| hashicorp | vault | ≥ 1.17.0 < 1.17.16 |
| hashicorp | vault | ≥ 1.18.0 < 1.18.9 |
| hashicorp | vault | ≥ 1.19.0 < 1.19.3 |
| openbao | openbao | < 2.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Vendor Advisory