{"id":"CVE-2024-42471","aliases":["EUVD-2024-2737","GHSA-6q32-hq47-5qq3"],"status":"published","title":"Arbitrary File Write via artifact extraction in actions/artifact","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.","severity":{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.03219,"percentile":0.88307,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22"],"published":"2024-09-02T16:13:50Z","modified":"2026-06-17T07:49:30Z","exploits":[{"source":"exploitdb","id":"EDB-52276","title":"unzip-stream 0.3.1 - Arbitrary File Write","type":"local","platform":"nodejs","date":"2025-04-30","url":"https://www.exploit-db.com/exploits/52276"},{"source":"pocgithub","id":"theMcSam/CVE-2024-42471-PoC","title":"theMcSam/CVE-2024-42471-PoC","date":"2025-04-24","url":"https://github.com/theMcSam/CVE-2024-42471-PoC"}],"fixes":[{"ecosystem":"npm","package":"@actions/artifact","fixed_in":["2.1.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@actions/artifact","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.0"},{"fixed":"2.1.2"}]}]},{"source":"osv","ecosystem":"npm","package":"@actions/artifact","ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"fixed":"2.1.2"}]}]}],"products":[{"vendor":"actions","product":"toolkit"},{"vendor":"github","product":"actions\\/artifact"},{"vendor":"github","product":"actions_toolkit"},{"vendor":"seagate","product":"toolkit"}],"references":[{"url":"https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3","tags":["x_refsource_CONFIRM","Vendor Advisory","web"]},{"url":"https://github.com/actions/toolkit/pull/1666","tags":["x_refsource_MISC","web"]},{"url":"https://snyk.io/research/zip-slip-vulnerability","tags":["x_refsource_MISC","Not Applicable","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42471","tags":["advisory"]},{"url":"https://github.com/actions/toolkit/pull/1724","tags":["web"]},{"url":"https://github.com/actions/toolkit/commit/29885a805ef3e95a9862dcaa8431c30981960017","tags":["web"]},{"url":"https://github.com/actions/toolkit/pull/1602","tags":["web"]},{"url":"https://github.com/actions/download-artifact/blob/v3/package.json#L31","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6q32-hq47-5qq3"},{"url":"https://github.com/actions/toolkit","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-42471","title":"Arbitrary File Write via artifact extraction in actions/artifact","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.","status":"published","published":"2024-09-02T16:13:50.712Z","modified":"2025-08-27T21:33:03.045Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"cna"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"adp"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:34:03.00063Z"}],"euvd":[{"id":"EUVD-2024-2737","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.","status":"published","published":"2024-09-02T16:13:50Z","modified":"2025-08-27T21:33:03Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"updated_at":"2026-11-02T20:31:50.600254Z"}],"ghsa":[{"id":"GHSA-6q32-hq47-5qq3","title":"@actions/artifact has an Arbitrary File Write via artifact extraction","description":"### Impact\n\nVersions of `actions/artifact` before 2.1.7 are vulnerable to arbitrary file write when using `downloadArtifactInternal`, `downloadArtifactPublic`, or `streamExtractExternal` for extracting a specifically crafted artifact that contains path traversal filenames.\n\n### Patches\n\nUpgrade to version 2.1.7 or higher. \n\n### References\n\n- https://snyk.io/research/zip-slip-vulnerability\n- https://github.com/actions/toolkit/pull/1724\n\n### CVE\n\nCVE-2024-42471\n\n### Credits\n\nJustin Taft from Google","status":"published","published":"2024-09-03T20:08:30Z","modified":"2025-01-22T18:45:02Z","cvss":[{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","level":"high"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:38:28.945236Z"}],"nvd":[{"id":"CVE-2024-42471","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.","status":"published","published":"2024-09-02T18:15:35.54Z","modified":"2026-06-17T07:49:30.84Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:10:24.514378Z"}],"osv":[{"id":"GHSA-6q32-hq47-5qq3","title":"@actions/artifact has an Arbitrary File Write via artifact extraction","description":"### Impact\n\nVersions of `actions/artifact` before 2.1.7 are vulnerable to arbitrary file write when using `downloadArtifactInternal`, `downloadArtifactPublic`, or `streamExtractExternal` for extracting a specifically crafted artifact that contains path traversal filenames.\n\n### Patches\n\nUpgrade to version 2.1.7 or higher. \n\n### References\n\n- https://snyk.io/research/zip-slip-vulnerability\n- https://github.com/actions/toolkit/pull/1724\n\n### CVE\n\nCVE-2024-42471\n\n### Credits\n\nJustin Taft from Google","status":"published","published":"2024-09-03T20:08:30Z","modified":"2025-01-22T18:44:59Z","cvss":[{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","level":"high"},{"version":"4.0","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:46:39.965326Z"}]}}
