CVE-2024-42471

published 2 Sep 2024 · updated 27 Aug 2025

Arbitrary File Write via artifact extraction in actions/artifact

8.3HighCVSS 7.3EPSS 3%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
actions>=2.0.0 <2.1.2

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-42471 severity on Zeptric[![CVE-2024-42471](https://zeptric.io/badge/cve/CVE-2024-42471.svg)](https://zeptric.io/cve/CVE-2024-42471)