Vulnerability
CVE-2026-64653
GitHub 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.
9 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
AZL-95465
CVE-2026-64653 affecting package gh for versions less than 2.97.0-1
-
DEBIAN-CVE-2026-64653
GitHub 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…
-
GHSA-4fjg-2h4q-fwg3
GitHub CLI allows path traversal through unescaped request URL components
-
GO-2026-6765
GitHub CLI allows path traversal through unescaped request URL components in github.com/cli/cli
-
SUSE-SU-2026:24730-1
Security update for govulncheck-vulndb
-
UBUNTU-CVE-2026-64653
GitHub 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…
-
openSUSE-SU-2026:11530-1
gh-2.97.0-1.1 on GA media
-
openSUSE-SU-2026:21663-1
Security update for gh
-
openSUSE-SU-2026:22336-1
Security update for govulncheck-vulndb