# GHSA-cxww-7g56-2vh6: @actions/download-artifact has an Arbitrary File Write via artifact extraction

- Severity: High (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-09-03T20:55:34.000Z
- Modified: 2025-01-22T17:31:55.000Z
- Weaknesses: CWE-22

## Description

### Impact

Versions of `actions/download-artifact` before 4.1.3 are vulnerable to arbitrary file write when downloading and extracting a specifically crafted artifact that contains path traversal filenames.

### Patches

Upgrade to version 4.1.3 or higher. Alternatively use 'v4' tag which points to the latest and secure version.

### References

- https://snyk.io/research/zip-slip-vulnerability
- https://github.com/actions/download-artifact/releases/tag/v4.1.3
- https://github.com/actions/download-artifact/pull/299

### CVE

CVE-2024-42471

### Credits

Justin Taft from Google

(As written by GitHub Advisory Database.)

## Affected

- actions/download-artifact (GitHub Actions): from 4.0.0 before 4.1.3

## Every score

- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`

## References

- <https://github.com/actions/download-artifact/security/advisories/GHSA-cxww-7g56-2vh6> (web)
- <https://github.com/actions/download-artifact> (package)
- <https://github.com/actions/download-artifact/releases/tag/v4.1.3> (web)
- <https://github.com/advisories/GHSA-6q32-hq47-5qq3> (advisory)
- <https://snyk.io/research/zip-slip-vulnerability> (web)

## Sources

- GitHub Advisory Database: [GHSA-cxww-7g56-2vh6](https://github.com/advisories/GHSA-cxww-7g56-2vh6), CC-BY-4.0, modified 2025-01-22

---

Page: https://cve.day/GHSA-cxww-7g56-2vh6 · Whole record: https://cve.day/GHSA-cxww-7g56-2vh6.json · Rebuilt by cve.day 2026-11-25T22:56:20.031Z
