Arbitrary File Write via artifact extraction in actions/artifact
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| actions | toolkit | 2.0.0 to before 2.1.2 | 2.1.2 | Patch available | CNA |
| — | @actions/artifact (npm) | 2.0.0 to before 2.1.2 | 2.1.2 | Patch available | GHSA-6q32-hq47-5qq3 |
- toolkit Vendoractions Affected 2.0.0 to before 2.1.2 Fixed in 2.1.2 Patch available CNA
- @actions/artifact (npm) Vendor— Affected 2.0.0 to before 2.1.2 Fixed in 2.1.2 Patch available GHSA-6q32-hq47-5qq3
Remediation
- Fix · CNA toolkit (actions) Fixed in 2.1.2
- Fix · GHSA-6q32-hq47-5qq3 @actions/artifact (npm) Fixed in 2.1.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-42471
- 2026-10-03 Alias added: GHSA-6q32-hq47-5qq3
References
Advisory 2
Other 6
- https://github.com/actions/toolkit/pull/1666
- 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
More actions vulnerabilities
- TI-2025-05316 actions toolkit glob internal-pattern.ts globEscape redos CVSS 4.0MEDIUM 5.3
Sources
- CVE-2024-42471 · CVE Program
- CVE-2024-42471 · NVD
- FIRST EPSS
- GHSA-6q32-hq47-5qq3 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences