CVE-2024-54132: Gh · The GitHub CLI is GitHub’s official command line tool
Affects ghSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 2.45.0-1ubuntu0.3+esm2 when convenient.
Data as of 24 Nov 2026, 19:42 UTC
- Patch
- Available – fixed in 2.45.0-1ubuntu0.3+esm2
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:GreenExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade the Ubuntu gh package to 2.45.0-1ubuntu0.3+esm2.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 24.04 LTSghpkg:deb/ubuntu/gh?arch=source&distro=esm-apps/nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-54132 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-54132 (opens in a new tab)
- github.com/cli/cli/security/advisories/GHSA-2m9h-r57g-45pj (opens in a new tab)
- github.com/cli/cli/commit/1136764c369aaf0cae4ec2ee09dc35d871076932 (opens in a new tab)
- ubuntu.com/security/notices/USN-8012-1 (opens in a new tab)