CVE-2026-45803
Description
`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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Mitigation details
CVE-2026-45803 NameCVE-2026-45803 Description`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…
CVE-2026-45803
| Name | CVE-2026-45803 |
| Description | `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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| Debian Bugs | 1136953 |
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| gh (PTS) | bookworm | 2.23.0+dfsg1-1 | vulnerable |
| trixie | 2.46.0-3 | vulnerable | |
| sid | 2.46.0-4 | vulnerable |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| gh | source | (unstable) | (unfixed) | 1136953 |
Notes
[trixie] - gh <no-dsa> (Minor issue)
[bookworm] - gh <no-dsa> (Minor issue)
https://github.com/cli/cli/security/advisories/GHSA-crc3-h8v6-qh57
Apply commands
[trixie] - gh <no-dsa> (Minor issue)[bookworm] - gh <no-dsa> (Minor issue)https://github.com/cli/cli/security/advisories/GHSA-crc3-h8v6-qh57
OS impact
Debian Affected 3 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Affected | — |
| sid | Affected | — |
| bookworm | Affected | — |
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| — | Affected | — |
Windows Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| — | Affected | — |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/cli/cli/v2 | <2.92.0 | 2.92.0 |
| Go | github.com/cli/cli | >=1.6.0,<=1.14.0 | |
| GO | github.com/cli/cli | >= 1.6.0, <= 1.14.0 | |
| GO | github.com/cli/cli/v2 | < 2.92.0 | 2.92.0 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| github | cli | {"startIncluding":"1.6.0","endExcluding":"2.92.0"} | 2.92.0 |
References
- https://github.com/cli/cli/security/advisories/GHSA-crc3-h8v6-qh57
- https://nvd.nist.gov/vuln/detail/CVE-2026-45803
- https://github.com/cli/cli
- https://security-tracker.debian.org/tracker/CVE-2026-45803
- https://www.suse.com/security/cve/CVE-2026-45803.html
- https://github.com/advisories/GHSA-crc3-h8v6-qh57
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-45803
CWEs
CWE-150
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.