All reports
High

@actions/artifact has an Arbitrary File Write via artifact extraction

Affected versions

Affected versions
>= 2.0.0, < 2.1.2
Fixed version
2.1.2

Exploitation

CVE-2024-42471

Probability of exploitation in the next 30 days: 3.22%

FIRST EPSS · 2026-11-23

Description

Impact

Versions of actions/artifact before 2.1.7 are vulnerable to arbitrary file write when using downloadArtifactInternal, downloadArtifactPublic, or streamExtractExternal for extracting a specifically crafted artifact that contains path traversal filenames.

Patches

Upgrade to version 2.1.7 or higher.

References
CVE

CVE-2024-42471

Credits

Justin Taft from Google

Links

Credits

  • JLHwung