# CVE-2024-54132: GitHub CLI allows downloading malicious GitHub Actions workflow artifact to result in path traversal vulnerability

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2024-12-04T15:29:07.426Z
- Modified: 2026-09-10T03:50:56.033Z
- Also known as: GHSA-2m9h-r57g-45pj, GO-2024-3310
- Related: CGA-4w72-pp6p-7cq7
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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 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.

(As written by CVE List.)

## Affected

- cli cli: < 2.63.1
- github.com/cli/cli/v2 (Go): before 2.63.1
- github.com/cli/cli (Go): up to 1.14.0; all versions

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `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`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://github.com/cli/cli/security/advisories/GHSA-2m9h-r57g-45pj> (advisory, web)
- <https://github.com/cli/cli/commit/1136764c369aaf0cae4ec2ee09dc35d871076932> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-54132> (advisory)
- <https://github.com/cli/cli> (package)

## Sources

- CVE List: [CVE-2024-54132](https://www.cve.org/CVERecord?id=CVE-2024-54132), CVE Terms of Use, modified 2024-12-04
- GitHub Advisory Database: [GHSA-2m9h-r57g-45pj](https://github.com/advisories/GHSA-2m9h-r57g-45pj), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-3310](https://pkg.go.dev/vuln/GO-2024-3310), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-54132](https://nvd.nist.gov/vuln/detail/CVE-2024-54132), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-54132 · Whole record: https://cve.day/CVE-2024-54132.json · Rebuilt by cve.day 2026-11-25T22:58:49.711Z
