CVE-2024-42471Github Actions/artifact
High 7.5 No auth needed
Follow: this CVE · Github · Github Actions/artifact We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Actions/artifact.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| github | actions/artifact | ≥ 2.0.0 < 2.1.7 |
| github | actions_toolkit | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com
- github.com Vendor Advisory
- snyk.io Not Applicable