Bug 2513050

Summary: CVE-2026-64653 gh: GitHub CLI: Path traversal via unescaped URL variables [fedora-all]
Product: [Fedora] Fedora Reporter: Michalis Papadopoullos <mpapadop>
Component: ghAssignee: Mikel Olasagasti Uranga <mikel>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 45CC: go-sig, maxwell, mikel, suraj.ghimire7
Target Milestone: ---Keywords: Security, SecurityTracking
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: {"flaws": ["7440f164-379d-480c-88b3-462f6148e762"]}
Fixed In Version: gh-2.104.0-1.fc45 Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2026-11-19 20:53:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michalis Papadopoullos 2026-08-10 09:18:07 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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.

Comment 1 Aoife Moloney 2026-08-17 15:50:08 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.

Comment 2 Fedora Update System 2026-11-16 23:14:13 UTC
FEDORA-2026-42fa7b1577 (gh-2.104.0-1.fc45) has been submitted as an update to Fedora 45.
https://bodhi.fedoraproject.org/updates/FEDORA-2026-42fa7b1577

Comment 3 Fedora Update System 2026-11-17 02:38:26 UTC
FEDORA-2026-42fa7b1577 has been pushed to the Fedora 45 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-42fa7b1577`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-42fa7b1577

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2026-11-19 20:53:26 UTC
FEDORA-2026-42fa7b1577 (gh-2.104.0-1.fc45) has been pushed to the Fedora 45 stable repository.
If problem still persists, please make note of it in this bug report.