Skip to main content
VulnerabilityPublished Updated

CVE-2026-64655: GitHub CLI (gh) is GitHub’s official command line tool

Affects ghSource GCVE Database

0
Compare

Not known to be exploited · CVSS 2.1 Low : upgrade to 2.97.0 when convenient.

Data as of 1 Dec 2026, 18:37 UTC

CVSS 4.0 base score
2.1Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.97.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Aug 2026

  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 2 Dec 2026.

What to do

Upgrade github.com/cli/cli/v2 to 2.97.0.

Affected software

ProductAffectedFixed in
Ubuntu 22.04 LTSghpkg:deb/ubuntu/gh?arch=source&distro=jammyOther threatsAffected
  • =2.4.0+dfsg1-1
  • =2.4.0+dfsg1-2
Fixed in–
Ubuntu Pro 24.04 LTSghpkg:deb/ubuntu/gh?arch=source&distro=esm-apps/nobleOther threatsAffected
  • 2.27.0+dfsg1-1build1 – 2.45.0-1ubuntu0.3+esm3
18 affected builds
Fixed in–
Ubuntu 26.10ghpkg:deb/ubuntu/gh?arch=source&distro=stonkingOther threatsAffected
  • =2.46.0-4
Fixed in–
Ubuntu Pro 26.04 LTSghpkg:deb/ubuntu/gh?arch=source&distro=esm-apps/resoluteOther threatsAffected
  • =2.46.0-3
  • =2.46.0-4
  • =2.46.0-4ubuntu0.26.04.1~esm1
Fixed in–
Gogithub.com/cli/cli/v2pkg:golang/github.com/cli/cli/v2Other threatsAffected
  • <2.97.0
Fixed in
  • 2.97.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade GitHub CLI (gh) to version 2.97.0 or later, where this issue is fixed. No other mitigation is indicated or required according to the available data.

Description

GitHub CLI (gh) versions prior to 2.97.0 contain a vulnerability in the attestation verification process where user-supplied repository or workflow names are treated as regular expressions without escaping regex metacharacters. This allows an attacker to create lookalike repository or workflow names that bypass intended Sigstore attestation verification, potentially undermining supply chain verification in CI/CD pipelines. The issue is fixed in version 2.97.0.

References

Community reviews

Loading reviews…