Vulnerability · CVE-2026-64653
GitHub CLI allows path traversal through unescaped request URL components
Published Oct 15, 2026 · corrected/updated Oct 15, 2026 · evidence confidence high
### Summary A path traversal vulnerability has been identified in the GitHub CLI where some HTTP request URLs, REST API calls in particular, were built without properly escaping their variable path components. A value containing URL path metacharacters can alter the request path and cause to address a different resource than intended. ### Details Not all request URLs in the codebase were built with proper escaping of their variable path components. When a component is interpolated into the path without percent encoding, and that component contains URL path metacharacters, it breaks out of its intended segment and changes the effective request path. In , request URLs are constructed in a safe manner, so a variable component can no longer escape its intended segment. ### Impact An attacker who can control a value that flows into a request path can cause to send the request to a different API endpoint than intended. This can lead the CLI to read or act on a resource other than the one the user meant to target. ### Remediation and Mitigation 1. Upgrade to . 2. Be cautious when running against untrusted repositories or inputs whose names you do not control.
Grounded briefings
Catalog interpretations for three audiences. Each brief cites ingested metadata and the original advisories below. They are not independent research and they do not invent exploit steps.
Executive
CVE-2026-64653 is a low public vulnerability record for this product. It is not currently listed in the CISA Known Exploited catalog. Check the linked vendor or CERT advisories for patch status. This summary is a catalog interpretation of the ingested metadata and cites the original advisories below.
System administrator
Identify whether this product is in your estate, then compare installed versions with the affected ranges. Affected packages or ranges on record: github.com/cli/cli/v2 (0 → 2.97.0); github.com/cli/cli/v2 (< 2.97.0); github.com. Check the linked vendor or CERT advisories for patch status. Prefer the vendor or distribution advisory linked in Sources before changing production systems. This is a catalog interpretation, not a runbook.
Security analyst
Signals on file: EPSS 0.5%. It is not currently listed in the CISA Known Exploited catalog. Weakness classes: CWE-22. Sources contributing to this record: cve_org, epss, github, gitlab. Public exploit references, when present, are outbound links only and are not proof of active exploitation. This is a catalog interpretation of stored metadata.
Exploitation and remediation
Exploitation evidence
Not listed as known exploited in CISA KEV. Not in CISA KEV or VulnCheck KEV.
Patch and remediation
No required-action text is stored yet. Use the vendor or CERT links in Sources for patch availability.
Safe detection guidance
Compare installed versions with the affected ranges below and verify the advisory from the original publisher. This site stores metadata and outbound links only; it does not ship exploit code or proof-of-concept payloads.
Code
The project this record applies to. Exploit listings stay in References.
Timeline
Detection, updates, and resolution for this record.
Oct 15, 2026 · GitHub Advisory Database
Detected
### Summary A path traversal vulnerability has been identified in the GitHub CLI where some HTTP request URLs, REST API calls in particular, were built without properly escaping their variable path components. A value containing URL path metacharacters can alter the request path and cause to address a different resource than intended. ### Details Not all request URLs in the codebase were built wit
Oct 15, 2026 · GitHub Advisory Database
Fix available
github.com/cli/cli/v2 fixed in 2.97.0
Oct 15, 2026 · GitHub Advisory Database
Fix available
github.com/cli/cli/v2 fixed in 2.97.0
Oct 15, 2026 · GitHub Advisory Database
Updated
### Summary A path traversal vulnerability has been identified in the GitHub CLI where some HTTP request URLs, REST API calls in particular, were built without properly escaping their variable path components. A value containing URL path metacharacters can alter the request path and cause to address a different resource than intended. ### Details Not all request URLs in the codebase were built wit
Affected
- Go github.com/cli/cli/v20 → 2.97.0
- go github.com/cli/cli/v2< 2.97.0
- golang github.comversion unspecified
Sources
- CVE.orgVulnerability recordCVE-2026-64653
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2026-64653
30-day exploitation probability 0.5%
first.org - GitHub Advisory DatabasePackage advisoryGHSA-4fjg-2h4q-fwg3
GitHub Advisory Database record mirrored by OSV.
github.com - GitLab Advisory DatabasePackage advisoryCVE-2026-64653
A path traversal vulnerability has been identified in the GitHub CLI where some HTTP request URLs, REST API calls in particular, were built without properly escaping their variable path components. A value containing URL path metacharacters can alter the request path and cause gh to address a different resource than intended.
advisories.gitlab.com - OpenSSF OSV / OSV ScannerPackage advisoryGHSA-4fjg-2h4q-fwg3
GitHub CLI allows path traversal through unescaped request URL components
osv.dev