{"id":"CVE-2026-64653","title":"GitHub CLI (gh) is GitHub’s official command line tool","summary":"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…","severity":"low","cwe":["CWE-22"],"published":"2026-08-06","updated":"2026-09-10","sourceUpdated":"2026-09-10T20:36:14.340","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-64653","references":[{"url":"https://github.com/cli/cli/commit/0c2eea6338a2323cfff000160b9b5a56a38d2a06","label":"security-advisories@github.com"},{"url":"https://github.com/cli/cli/releases/tag/v2.97.0","label":"security-advisories@github.com"},{"url":"https://github.com/cli/cli/security/advisories/GHSA-4fjg-2h4q-fwg3","label":"security-advisories@github.com"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64653"},{"url":"https://github.com/advisories/GHSA-4fjg-2h4q-fwg3"},{"url":"https://github.com/cli/cli"}],"tags":["nvd","ghsa","go","osv"],"epss":0.00511,"epssPercentile":0.43397,"ingestedAt":"2026-09-10T21:05:53.594Z","aliases":["GHSA-4fjg-2h4q-fwg3","GO-2026-6765"],"ecosystem":"go","vendor":"cli","product":"github.com/cli/cli/v2","affected":["github.com/cli/cli/v2 < 2.97.0"],"patched":["github.com/cli/cli/v2 2.97.0"],"slug":"CVE-2026-64653","body":"## Overview\n\nGitHub 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-64653)\n\nAffected packages:\n\n- `github.com/cli/cli/v2 < 2.97.0`\n\nPatched in:\n\n- `github.com/cli/cli/v2 2.97.0`\n\nSource: https://github.com/advisories/GHSA-4fjg-2h4q-fwg3","depth":"sunlit","depthScore":14,"depthScoreParts":{"impact":13.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[{"seq":222646,"id":"CVE-2026-64653","ts":1792088728462,"field":"severity","old":"none","new":"low"}]}