NetSight
mittel5.1

CVE-2026-64653

GitHub CLI allows path traversal through unescaped request URL components

Auswirkung

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.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer aktiv etwas tun, etwa eine Datei oder einen Link öffnen.

Betroffene Pakete

ÖkosystemPaketBetroffenBehoben in
gogithub.com/cli/cli/v2< 2.97.02.97.0

Schwachstellenklasse

Referenzen