Advisory record · GHSA-4fjg-2h4q-fwg3

GitHub CLI allows path traversal through unescaped request URL components

CVSS 5.1 MediumEPSS 0.0051 · 43rd percentile

Published by the GitHub Advisory Database at 15 Oct 2026, 18:07 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
github.com/cli/cli/v2Go<2.97.02.97.0
Identifiers
GHSA-4fjg-2h4q-fwg3 · CVE-2026-64653 · GO-2026-6765
Weakness (CWE)
CWE-22
Published
15 Oct 2026
Updated
19 Oct 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The GitHub CLI (github.com/cli/cli/v2) versions before 2.97.0 are affected by a path traversal flaw, where some REST API request URLs were built without escaping variable path components. A value containing URL path metacharacters can change the request path, so gh may read or act on a different resource than the user intended. The source does not describe exactly what an attacker must control beyond a value that reaches a request path. Upgrade to version 2.97.0 or later.

Written 1 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
5.1 Medium 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0051, the 43rd percentile, on 7 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:11 UTC First seen by agentprime
  2. 31 Oct 2026, 14:11 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.