# CVE-2024-42471: Arbitrary File Write via artifact extraction in actions/artifact

- Priority: **Prioritise**
- Reason: Public exploit (exploit-database, 30-04-2025)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2024-09-02 · Modified: 2025-08-27
- Aliases: GHSA-6q32-hq47-5qq3
- Record: https://cvemate.com/vulnerability/CVE-2024-42471 · JSON: https://cvemate.com/vulnerability/CVE-2024-42471/json

## Description

```text
actions/artifact is the GitHub ToolKit for developing GitHub Actions.  Versions of `actions/artifact` on the 2.x branch before 2.1.2 are vulnerable to arbitrary file write when using `downloadArtifactInternal`, `downloadArtifactPublic`, or `streamExtractExternal` for extracting a specifically crafted artifact that contains path traversal filenames. Users are advised to upgrade to version 2.1.2 or higher. There are no known workarounds for this issue.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 3.219%, percentile 88.614%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (exploit-database)

## Affected

- actions toolkit: ≥ 2.0.0, \< 2.1.2
- github actions\_toolkit: na
- github actions\\/artifact: ≥ 2.0.0, \< 2.1.7
- @actions artifact (Npm): ≥ 2.0.0, \< 2.1.2

## References

- <https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3>
- <https://github.com/actions/toolkit/pull/1666>
- <https://snyk.io/research/zip-slip-vulnerability>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-42471>
- <https://github.com/actions/toolkit/pull/1602>
- <https://github.com/actions/toolkit/pull/1724>
- <https://github.com/actions/toolkit/commit/29885a805ef3e95a9862dcaa8431c30981960017>
- <https://github.com/actions/download-artifact/blob/v3/package.json#L31>
- <https://github.com/actions/toolkit>

---

Data as of 2026-12-05T08:01:02.608Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
