{"id":"CVE-2024-54132","published":"2024-12-04T15:29:07Z","modified":"2024-12-04T21:40:02Z","title":"GitHub CLI allows downloading malicious GitHub Actions workflow artifact to result in path traversal vulnerability","vendor":"cli","product":"cli","tier":"tail","description":{"text":"The GitHub CLI is GitHub’s official command line tool. A security vulnerability has been identified in GitHub CLI that could create or overwrite files in unintended directories when users download a malicious GitHub Actions workflow artifact through gh run download. This vulnerability stems from a GitHub Actions workflow artifact named .. when downloaded using gh run download. The artifact name and --dir flag are used to determine the artifact’s download path. When the artifact is named .., the resulting files within the artifact are extracted exactly 1 directory higher than the specified --dir flag value. This vulnerability is fixed in 2.63.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/U:Green","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00946,"percentile":0.5962,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://github.com/cli/cli/security/advisories/GHSA-2m9h-r57g-45pj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/cli/cli/commit/1136764c369aaf0cae4ec2ee09dc35d871076932","tags":["x_refsource_MISC"]}],"priority":{"score":16.3,"factors":[{"name":"EPSS percentile","points":11.92},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"cli","affectedVersions":[{"vendor":"cli","product":"cli","versions":["< 2.63.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-12-04T19:15:08.778674Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/cli/cli/v2","vulnerableRanges":["<2.63.1"],"patched":["2.63.1"],"from":["GHSA-2m9h-r57g-45pj","GO-2024-3310"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/cli/cli","vulnerableRanges":["<=1.14.0","all versions"],"patched":[],"from":["GHSA-2m9h-r57g-45pj","GO-2024-3310"],"provenance":"source"}],"summary":{"text":"The GitHub CLI (cli), GitHub's official command line tool, contains a path traversal flaw in its gh run download command, which handles workflow artifacts named \"..\". An attacker who can supply a malicious GitHub Actions workflow artifact can cause files to be created or overwritten outside the intended directory when a user downloads it, requiring the user to run gh run download on that artifact, with no authentication needed from the attacker.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:35:47Z"},"euvd":{"id":"EUVD-2024-3409","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2024-52308","published":"2024-11-14","fixed":"2.62.0","kev":false},{"cve":"CVE-2024-53858","published":"2024-11-27","fixed":"2.63.0","kev":false,"link":{"from":"CVE-2024-53858","to":"CVE-2024-54132","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/cli/cli/v2","fromFixed":"2.63.0","toFixed":"2.63.1","daysApart":7}]}},{"cve":"CVE-2024-54132","published":"2024-12-04","fixed":"2.63.1","kev":false},{"cve":"CVE-2025-25204","published":"2025-02-14","fixed":"2.67.0","kev":false,"link":{"from":"CVE-2024-54132","to":"CVE-2025-25204","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/cli/cli/v2","fromFixed":"2.63.1","toFixed":"2.67.0","daysApart":72}]}},{"cve":"CVE-2026-45803","published":"2026-05-15","fixed":"2.92.0","kev":false},{"cve":"CVE-2026-48501","published":"2026-05-29","fixed":"2.93.0","kev":false}],"package":"Go:github.com/cli/cli/v2"}}