CVE-2026-64653
published medium CVSS 4.0 · 5.1GitHub CLI: Unescaped variable components in request URLs could allow path traversal
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cli | — | cli< 2.97.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghaarch64 | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghppc64le | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghs390x | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | ghx86_64 | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-bash-completionnoarch | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-fish-completionnoarch | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | gh-zsh-completionnoarch | Advisory build | 2.98.0-bp160.1.1 | OPENSUSE-SU-2026:21663-1 |
Show 16 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ghaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghs390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ghx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completions390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-bash-completionx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completions390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-fish-completionx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionaarch64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionppc64le | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completions390x | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gh-zsh-completionx86_64 | Advisory build | 2.97.0-1.1 | OPENSUSE-SU-2026:11530-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cli | cli | < 2.97.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-22 CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
3Provider assertions
2GitHub_M · cna
GitHub CLI: Unescaped variable components in request URLs could allow path traversal
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 570710153bdabd5cac26ced3c8a5a13bc33c42abcbcca5d561b8de7db6a3a81e
- Ingested
- 23 Sep 2026, 09:26:10 UTC
- Source record
- Official CVE record