CVE-2024-42471 in Github Actions Toolkit and 1 more product
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 c...
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Github | Actions Toolkit | No version listed by the source |
| Github | Actions/Artifact | ≥ 2.0.0, < 2.1.7 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2024-42471 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-269029-H |
| CVSS 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 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-22: Path Traversal
Attacker manipulates file path inputs to access files outside the intended directory.
Related attack patterns (CAPEC)
CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22
CAPEC-76 Manipulating Web Input to File System Calls via CWE-22
CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22
CAPEC-79 Using Slashes in Alternate Encoding via CWE-22
CAPEC-126 Path Traversal via CWE-22
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
CVE-2024-42471 affects the `actions/artifact` GitHub ToolKit, specifically versions on the 2.x branch before 2.1.2. The vulnerability allows for arbitrary file write via path traversal in the artifact extraction process. This can lead to unauthorized file modifications, potentially compromising the integrity of the system. Users are advised to upgrade to version 2.1.2 or higher. There are no known workarounds for this issue.
The vulnerability is triggered when using `downloadArtifactInternal`, `downloadArtifactPublic`, or `streamExtractExternal` functions to extract a specifically crafted artifact that contains path traversal filenames. This can result in the creation or modification of arbitrary files on the system, leading to potential security breaches.
Compensating controls AI-drafted, review before use
Implement strict input validation and sanitization for artifact filenames to prevent path traversal attacks. Ensure that only expected and safe file paths are allowed.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Questions
What is CVE-2024-42471?
CVE-2024-42471 affects the `actions/artifact` GitHub ToolKit, specifically versions on the 2.x branch before 2.1.2. The vulnerability allows for arbitrary file write via path traversal in the artifact extraction process. This can lead to unauthorized file modifications, potentially compromising the integrity of the system. Users are advised to upgrade to version 2.1.2 or higher. There are no known workarounds for this issue.
What is the CVSS score for CVE-2024-42471?
CVE-2024-42471 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 4.4%.
Is CVE-2024-42471 actively exploited?
Public exploit available for CVE-2024-42471. Exploitation risk elevated.
How do I remediate CVE-2024-42471?
Priority: HIGH. Advisory: https://github.com/actions/toolkit/pull/1666 PSIRT: [email protected]
What systems are affected by CVE-2024-42471?
CVE-2024-42471 affects Github Actions Toolkit, Actions/Artifact.
What NERC-CIP standard applies to CVE-2024-42471?
NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 by allowing unauthorized modification of files, which can compromise the integrity and security of the system, potentially leading to unauthorized access or control.
What IEC 62443 requirement maps to CVE-2024-42471?
IEC 62443 SR 7.6: This CVE maps to SR 7.6 as it involves the protection of system integrity by preventing unauthorized file modifications, which is crucial for maintaining the security and reliability of the system.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Github","product":"Actions Toolkit","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.