Path Traversal in Actions Toolkit
CVE-2024-42471
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.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.032, 88.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Actions Toolkit — versions >= 2.0.0, < 2.1.2
- GitHub Actions\/artifact
- GitHub Actions Toolkit
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- theMcSam/CVE-2024-42471-PoC (last pushed 2025-04-24): unzip-stream file write/overwrite vulnerability
Also mentioned in 3 other repositories (ARPSyndicate/cve-scores, fkie-cad/nvd-json-data-feeds, plzheheplztrying/cve_monitor). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
This CVE has public exploit evidence. See the latest CVEs with public exploits.