CVE-2026-45803gh: GitHub Actions log output in `gh run view` allows terminal escape sequence injection
`gh` is GitHub’s official command line tool. From 1.6.0 to before 2.92.0, a security vulnerability has been identified in GitHub CLI that could allow terminal escape sequence injection when users view GitHub Actions workflow logs using gh run view --log or gh run view --log-failed. The vulnerability stems from the way GitHub CLI handles raw Actions log output. The gh run view --log and gh run view --log-failed commands stream workflow log lines to stdout or the configured pager without sanitizing terminal control sequences. An attacker who can influence GitHub Actions log content, for example via a PR triggered workflow, can embed escape sequences that are replayed in the user's terminal when they inspect the run. Depending on the victim's terminal emulator, injected sequences could change the window title, manipulate on screen content, or in some terminal emulators (such as screen) potentially execute arbitrary commands. This vulnerability is fixed in 2.92.0.
What to do
Fixed builds are available from Go: see the table below for the fixed version per release.
Debian, Go, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | gh | Fix pending | UBUNTU-CVE-2026-45803 | |
| Ubuntu 26.04 | gh | Fix pending | UBUNTU-CVE-2026-45803 | |
| Ubuntu 25.10 | gh | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-45803 | |
| Ubuntu 24.04 | gh | Fix pending | UBUNTU-CVE-2026-45803 | |
| Ubuntu 22.04 | gh | Under investigation | UBUNTU-CVE-2026-45803 | |
| Debian 13 | gh | Fix pending | DEBIAN-CVE-2026-45803 | |
| Debian 12 | gh | Fix pending | DEBIAN-CVE-2026-45803 | |
| Go library | github.com/cli/cli | Fix pending | GHSA-crc3-h8v6-qh57 | |
| Go library | github.com/cli/cli/v2 | Fixed | 2.92.0 | GHSA-crc3-h8v6-qh57 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- cli: affected: >= 1.6.0, < 2.92.0
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.