Path traversal in GitHub CLI - CVE-2026-64653

 

Path traversal in GitHub CLI - CVE-2026-64653

Published: July 31, 2026


Vulnerability identifier: #VU140578
CSH Severity: Low
CVSS v4: 4.6 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-64653
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause the cli to read or act on a different resource than intended.

The vulnerability exists due to path traversal in HTTP request URL construction for REST API calls when interpolating unescaped variable path components into request paths. A remote attacker can supply a value containing URL path metacharacters to cause the cli to read or act on a different resource than intended.

User interaction is required because the victim must run the cli against untrusted repositories or other untrusted inputs whose names are attacker-controlled.


Affected software

GitHub CLI

How to mitigate CVE-2026-64653

Install security update from vendor's website.

GitHub CLI - update to 2.97.0

External References

Related Security Bulletins