CVSS 4.0
5.1 mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NMedium (5.1) in cli cli. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/cli/cli/v2 2.97.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:Ngithub.com/cli/cli/v2 (Go): fixed in 2.97.0Explain CVE-2026-64653 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-64653?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-64653?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-64653 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| cli | < 2.97.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-4fjg-2h4q-fwg3 | Go | github.com/cli/cli/v2 | <2.97.0 | 2.97.0 |
| GO-2026-6765 | Go | github.com/cli/cli | all versions | no fix published |
| GO-2026-6765 | Go | github.com/cli/cli/v2 | <2.97.0 | 2.97.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | gh | no fix listed | DEBIAN-CVE-2026-64653 |
| Ubuntu | 22.04:LTS, 26.10, Pro:24.04:LTS and 1 more | gh | no fix listed | UBUNTU-CVE-2026-64653 |
| SUSE | Linux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0 | govulncheck-vulndb | 0.0.20261105T234957-160000.1.1 | SUSE-SU-2026:24730-1 |
| openSUSE | Leap 16.0 | gh | 2.98.0-bp160.1.1 | openSUSE-SU-2026:21663-1 |
| openSUSE | Leap 16.0 | govulncheck-vulndb | 0.0.20261105T234957-160000.1.1 | openSUSE-SU-2026:22336-1 |
| openSUSE | Tumbleweed | gh | 2.97.0-1.1 | openSUSE-SU-2026:11530-1 |
| Azure Linux | 3 | gh | 2.97.0-1 | AZL-95465 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
Red Hat rates this Moderate.
A flaw was found in GitHub CLI (gh). The tool fails to properly percent-encode variable path components in HTTP request URLs, allowing URL path metacharacters in attacker-controlled repository or resource values to redirect the CLI to a different API endpoint than intended. This could result in unintended actions or information exposure. Red Hat products that include github.com/cli/cli as a transitive Go dependency (OpenShift GitOps, OpenStack Platform) are not affected because the vulnerable CLI code path is not invoked.
- Upgrade `gh` to version 2.97.0 or later.
- Be cautious when running `gh` against untrusted repositories or inputs whose names you do not control.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel8 | Not affected | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel9 | Not affected | |
| Red Hat OpenStack Platform 18.0 | rhoso-operators/openstack-operator-bundle | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-64653.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.