CVE-2026-64653
Medium
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.
SeverityMedium
CVSS5.1
Exploit probability—
ProductGithub.com/cli/cli/v2
PublishedAug 6, 2026
First seenAug 6, 2026
Weakness typeCWE-22Path traversal
How to fix
Update
- github.com/cli/cli/v22.97.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| github.com/cli/cli/v2Go | v < 2.97.0 | 2.97.0 |
| github.com/cli/cliGo | No range specified | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.