What’s Vulnerable › Vulnerabilities
CVE-2026-64653: GitHub CLI: Unescaped variable components in request URLs could allow path traversal
- Severity: medium (CVSS 5.1 v4.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-06 · updated 2026-09-10
- Weakness: CWE-22
Description
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.
Affected products
- cli: before 2.97.0
References
- https://github.com/cli/cli/commit/0c2eea6338a2323cfff000160b9b5a56a38d2a06
- https://github.com/cli/cli/releases/tag/v2.97.0
- https://github.com/cli/cli/security/advisories/GHSA-4fjg-2h4q-fwg3
Get alerted when CVE-2026-64653 or the next vulnerability affects your stack