SecurityContext

CVE-2024-42471: actions/artifact - Path Traversal

  • Cve: CVE-2024-42471
  • Name: actions/artifact - Path Traversal
  • 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.
  • Impact: Attackers can write arbitrary files to the system, potentially leading to remote code execution or system compromise.
  • Remediation: Upgrade to version 2.1.2 or higher.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.03219
  • Epss percentile: 0.88537
  • Assignee: [email protected]
  • Published at: 2024-09-02T18:15:35Z
  • Age in days: 813
  • Modified at: 2026-06-17T07:49:30Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-42471
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

Hackerone

  • Reports: 8
  • Rank: 2290

Public exploits

UrlSourceAdded date
https://github.com/theMcSam/CVE-2024-42471-PoCpoc-in-github2025-04-24

References

UrlSourceTags
https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3nvdVendor Advisory
https://github.com/actions/toolkit/pull/1666nvd

Products

ProductAffectedPlatform boundSourcesUrl
github:actions/artifact>= 2.0.0, < 2.1.7nonvd/v1/products/github/actions/artifact
github:actions_toolkitall versionsnonvd/v1/products/github/actions_toolkit

Projects

RepositoryLink kindsIndexedUrl
actions/toolkitcommit, package, pull, security_advisoryyes/v1/repositories/actions/toolkit

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-04-24
  • Remote: yes
  • Hackerone reports: 8
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts