CVE-2024-42471: Vulnerability in GitHub actions\/artifact

Patch soon. 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.

npm, CWE-22

Exploitation
None confirmed
Severity
7.3 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-6q32-hq47-5qq3
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Weakness
CWE-22
Published
2 Sept 2024
Last change
17 Jun 2026
Ecosystem
npm

Affected products

Affected versions and the first fixed release

  • GitHub actions\/artifact From 2.0.0 before 2.1.7. Fixed in 2.1.7
  • GitHub Actions Toolkit All versions. No fixed version recorded

Affected packages

Vulnerable version ranges and fixed releases

  • @actions/artifact npm, Affected from 2.0.0 before 2.1.2. Fixed in 2.1.2

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Related