Skip to main content
Public proof of conceptFix available

CVE-2024-42471

A public proof of concept exists; no exploitation attested.

  • Published2024-09-02
  • Fixed in2.1.2
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2024-09-0218:15CVE publishedNVD
  2. 2025-04-30Exploit-DB entryExploit-DB

Versions per branch

OSV · NVD
@actions/artifact
BranchAffectedFixed in
2.x≥ 2.0.0, < 2.1.22.1.2
Github actions toolkit
BranchAffectedFixed in
—all versionsno fix published
Github actions\/artifact
BranchAffectedFixed in
2.x≥ 2.0.0, < 2.1.72.1.7

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • actions toolkit
    Affected
    • = >= 2.0.0, < 2.1.2no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-01-22

Fix

  1. Update @actions/artifact to 2.1.2

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-52276
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
2024-09-02
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-6q32-hq47-5qq3

Frequently asked questions

What is 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.

Is CVE-2024-42471 actively exploited?

Active exploitation of CVE-2024-42471 has not been confirmed. Its EPSS score was 3.2% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-42471?

CVE-2024-42471 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.

Running @actions/artifact? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record