{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-54132","id":"CVE-2024-54132","title":"GitHub CLI allows downloading malicious GitHub Actions workflow artifact to result in path traversal vulnerability","description":"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 an","descriptionLong":"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.","published":"2024-12-04T15:29:07.426Z","updated":"2026-10-28T02:31:10.242883583Z","reserved":"2024-11-29T18:02:16.754Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":6.3,"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","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"4.0","score":6.3,"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","rating":"medium","source":"GitHub_M"},{"version":"4.0","score":6.3,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:Green","rating":"medium","source":"github.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"medium","source":"GitHub"}],"rating":"medium","products":["cli"],"affectedProducts":[{"vendor":"cli","product":"cli","defaultStatus":null,"versions":[{"version":"< 2.63.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/cli/cli/v2","purl":"pkg:golang/github.com/cli/cli/v2","ranges":["<2.63.1"],"fixed":["2.63.1"],"advisory":"GHSA-2m9h-r57g-45pj"},{"ecosystem":"Go","name":"github.com/cli/cli","purl":"pkg:golang/github.com/cli/cli","ranges":["<=1.14.0","all versions"],"fixed":[],"advisory":"GHSA-2m9h-r57g-45pj"}],"cwes":["CWE-22"],"aliases":["GHSA-2m9h-r57g-45pj","GO-2024-3310"],"references":[{"url":"https://github.com/cli/cli/security/advisories/GHSA-2m9h-r57g-45pj","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/cli/cli/commit/1136764c369aaf0cae4ec2ee09dc35d871076932","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54132.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-54132","tags":["advisory"]},{"url":"https://github.com/cli/cli","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00629,"epssPercentile":0.51058,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-54132","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-54132","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-54132","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2m9h-r57g-45pj","ok":true,"note":"GHSA-2m9h-r57g-45pj"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-54132","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}