{"id":"CVE-2026-64653","revision":"6fb2d4bb115642d883a6b75f7edcf4f8","records":[{"revision":"6fb2d4bb115642d883a6b75f7edcf4f8","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-64653","aliases":[],"title":"GitHub CLI: Unescaped variable components in request URLs could allow path traversal","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.","state":0,"publishedAt":"2026-08-06T17:51:54.344+00:00","modifiedAt":"2026-08-07T14:54:13.12+00:00","affected":[{"ecosystem":"Vendor product","name":"cli","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"cli\",\n                    \"product\": \"cli\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.97.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","vector":"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","score":5.1,"severity":"MEDIUM"}],"references":["https://github.com/cli/cli/security/advisories/GHSA-4fjg-2h4q-fwg3","https://github.com/cli/cli/commit/0c2eea6338a2323cfff000160b9b5a56a38d2a06","https://github.com/cli/cli/releases/tag/v2.97.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-64653","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-64653","identifiers":["CVE-2026-64653"]},"retained":false,"historicalAffected":[]}],"coverage":[]}