Skip to content
CVE PROGRAM SOURCE RECORD5.1 Medium

CVE-2026-64653

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

cli cli

  • < 2.97.0affected

References