Live threats

All CVEs / Github

CVE-2024-42471Github Actions/artifact

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
4.4%
probability of exploitation in 30 days · percentile 92
Auth required
No
Published
Sep 2, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Actions/artifact.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm @actions/artifact ≥ 2.0.0 < 2.1.2 2.1.2 npm install @actions/artifact@2.1.2

Per OSV / GitHub Advisories (GHSA-6q32-hq47-5qq3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
githubactions/artifact≥ 2.0.0 < 2.1.7
githubactions_toolkitall

Official sources

References

Links published by the sources. Open them with care.