CVE-2024-54132

GitHub CLI allows downloading malicious GitHub Actions workflow artifact to result in path traversal vulnerability

CVE-2024-54132 is fixed in 2 products on 2 platforms, first by GitHub CLI 2.63.1, released December 3, 2024. It is not reported as exploited. Patch Radar priority: Routine.

RoutineFixed on 2 platforms
CVSS
6.3
Medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0063
50th percentile

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.

Where it's fixed

ProductFixed inFixReleased
Windows apps
GitHub CLI 2.63.1 GitHub CLI 2.63.1 Dec 3, 2024
Linux
gh · Debian 13.5 (trixie) 2.46.0-3 DEBIAN-CVE-2024-54132 Dec 4, 2024
gh · Ubuntu 24.04.5 LTS (noble) 2.45.0-1ubuntu0.3+esm2 gh 2.45.0-1ubuntu0.3+esm2 Dec 4, 2024

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.