# CVE-2025-0377: HashiCorp go-slug Vulnerable to Zip Slip Attack

- Severity: High 7.5 (CVSS:3.1, scored by HashiCorp) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2025-01-21T15:23:53.104Z
- Modified: 2026-09-10T03:50:22.264Z
- Also known as: GHSA-wpfp-cm49-9m9q, GO-2025-3413
- Related: CGA-95vj-48rh-pq79
- Weaknesses: CWE-59
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: HashiCorp

## Description

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.

(As written by CVE List.)

## Affected

- HashiCorp Shared library: before 0.16.2
- github.com/hashicorp/go-slug (Go): before 0.16.3
- hashicorp go-slug: before 0.16.3

## Every score

- HashiCorp: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://discuss.hashicorp.com/t/hcsec-2025-01-hashicorp-go-slug-vulnerable-to-zip-slip-attack> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-0377> (advisory)
- <https://github.com/advisories/GHSA-wpfp-cm49-9m9q> (advisory)

## Sources

- CVE List: [CVE-2025-0377](https://www.cve.org/CVERecord?id=CVE-2025-0377), CVE Terms of Use, modified 2025-02-12
- GitHub Advisory Database: [GHSA-wpfp-cm49-9m9q](https://github.com/advisories/GHSA-wpfp-cm49-9m9q), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2025-3413](https://pkg.go.dev/vuln/GO-2025-3413), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-0377](https://nvd.nist.gov/vuln/detail/CVE-2025-0377), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-0377 · Whole record: https://cve.day/CVE-2025-0377.json · Rebuilt by cve.day 2026-11-25T22:58:53.461Z
