Skip to main content
VulnerabilityPublished Updated

CVE-2024-54132: Gh · The GitHub CLI is GitHub’s official command line tool

Affects ghSource GCVE Database

0
Compare

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

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
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:Green

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 4 Dec 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu Pro 24.04 LTSghpkg:deb/ubuntu/gh?arch=source&distro=esm-apps/nobleOther threatsAffected
  • <2.45.0-1ubuntu0.3+esm2
Fixed in
  • 2.45.0-1ubuntu0.3+esm2

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

Community reviews

Loading reviews…