CVE-2026-64653

NameCVE-2026-64653
DescriptionGitHub CLI (gh) is GitHub’s official command line tool. Prior to 2.97.0, some HTTP request URLs interpolate variable path components without percent encoding, allowing URL path metacharacters in attacker-controlled repository or resource values to make gh address a different API endpoint or resource than the user intended. This issue is fixed in version 2.97.0.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1144403

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
gh (PTS)bookworm2.23.0+dfsg1-1vulnerable
trixie2.46.0-3vulnerable
sid2.46.0-4vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ghsource(unstable)(unfixed)1144403

Notes

[trixie] - gh <no-dsa> (Minor issue)
https://github.com/cli/cli/security/advisories/GHSA-4fjg-2h4q-fwg3
https://github.com/cli/cli/commit/0c2eea6338a2323cfff000160b9b5a56a38d2a06 (v2.97.0)

Search for package or bug name: Reporting problems