Bug 2513064 - CVE-2026-64654 gh: GitHub CLI: Terminal escape sequence injection allows command execution [fedora-all]
Summary: CVE-2026-64654 gh: GitHub CLI: Terminal escape sequence injection allows comm...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gh
Version: 45
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Mikel Olasagasti Uranga
QA Contact:
URL:
Whiteboard: {"flaws": ["5ae808ac-4163-4d3a-873f-8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-10 09:39 UTC by Michalis Papadopoullos
Modified: 2026-11-19 20:53 UTC (History)
4 users (show)

Fixed In Version: gh-2.104.0-1.fc45
Clone Of:
Environment:
Last Closed: 2026-11-19 20:53:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michalis Papadopoullos 2026-08-10 09:39:31 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 version 2.97.0, multiple GitHub CLI commands printed externally controlled gist, API, pull request, release, codespace, skill, or agent-task content without neutralizing terminal escape sequences. An attacker who can influence that content can embed escape sequences that are interpreted by the terminal of a user who runs an affected command, with impact ranging from cosmetic manipulation of the title or on-screen content to, on some terminal emulators, command execution. This extends the same class of issue as CVE-2026-45803—which addressed only gh run view --log—to the other affected command paths. This issue is fixed in version 2.97.0.

Comment 1 Aoife Moloney 2026-08-17 15:50:16 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:15 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:28 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:28 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.


Note You need to log in before you can comment on or make changes to this bug.