CVE-2026-64653
MEDIUMGitHub CLI: Unescaped variable components in request URLs could allow path traversal
Title source: cnaDescription
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.
References (3)
Core 3
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/cli/cli/security/advisories/GHSA-4fjg-2h4q-fwg3
X_Refsource_Misc x_refsource_misc
https://github.com/cli/cli/commit/0c2eea6338a2323cfff000160b9b5a56a38d2a06
X_Refsource_Misc x_refsource_misc
https://github.com/cli/cli/releases/tag/v2.97.0
Scores
CVSS v4
5.1
EPSS
0.0050
EPSS Percentile
40.4%
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (1)
cli/cli
< 2.97.0
Published
Aug 06, 2026
Tracked Since
Aug 07, 2026