CVE-2026-64653
GitHub CLI (gh) is GitHub’s official command line tool. Prior to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/cli/cli/commit/0c2eea6338a2323cfff000160b9b5a56a38d2a06
- github.com/cli/cli/releases/tag/v2.97.0
- github.com/cli/cli/security/advisories/GHSA-4fjg-2h4q-fwg3
- nvd.nist.gov/vuln/detail/CVE-2026-64653
- github.com/advisories/GHSA-4fjg-2h4q-fwg3
- nvd.nist.gov/vuln/detail/CVE-2026-64653
- cve.org/CVERecord?id=CVE-2026-64653
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.