CVE-2025-0377Hashicorp Go-slug
Critical 9.1 No auth needed
Follow: this CVE · Hashicorp · Hashicorp Go-slug We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 58
- Auth required
- No
- Published
- Jan 21, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-59
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
HashiCorp’s go-slug library is vulnerable to a zip-slip style attack when a non-existing user-provided path is extracted from the tar entry.
What to do
- Apply the vendor's security update for Go-slug.
- 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/go-slug |
< 0.16.3 |
0.16.3 |
go get github.com/hashicorp/go-slug@v0.16.3 |
| Go | github.com/hashicorp/go-slug |
< 0.16.3 |
0.16.3 |
go get github.com/hashicorp/go-slug@v0.16.3 |
Per OSV / GitHub Advisories (GHSA-wpfp-cm49-9m9q, GO-2025-3413). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| hashicorp | go-slug | < 0.16.3 |
Official advisories
- Security update for helmfile · SUSE · openSUSE-SU-2025:20097-1 · Dec 30, 2025 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- discuss.hashicorp.com Vendor Advisory