CVEfocus › CVE database › CVE-2026-45803

CVE-2026-45803gh: GitHub Actions log output in `gh run view` allows terminal escape sequence injection

CVSS 3.5 LowEPSS 0.3% (higher than 16% of CVEs)Published 2026-05-15Updated 2026-05-15Assigner: GitHub_M

`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.

CWE-150

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

1Fixed
6Fix pending
1Under investigation
1Will not fix

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10ghFix pendingUBUNTU-CVE-2026-45803
Ubuntu 26.04ghFix pendingUBUNTU-CVE-2026-45803
Ubuntu 25.10ghWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-45803
Ubuntu 24.04ghFix pendingUBUNTU-CVE-2026-45803
Ubuntu 22.04ghUnder investigationUBUNTU-CVE-2026-45803
Debian 13ghFix pendingDEBIAN-CVE-2026-45803
Debian 12ghFix pendingDEBIAN-CVE-2026-45803
Go librarygithub.com/cli/cliFix pendingGHSA-crc3-h8v6-qh57
Go librarygithub.com/cli/cli/v2Fixed2.92.0GHSA-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.

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.