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

- Priority: **Routine**
- Reason: Not severe (CVSS 3.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-15 · Modified: 2026-05-15
- Aliases: UBUNTU-CVE-2026-45803, DEBIAN-CVE-2026-45803, GHSA-crc3-h8v6-qh57, GO-2026-5335
- Record: https://cvemate.com/vulnerability/CVE-2026-45803 · JSON: https://cvemate.com/vulnerability/CVE-2026-45803/json

## Description

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

## Signals

- CVSS: 3.5 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
- EPSS: 0.206%, percentile 11.181%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- cli cli: ≥ 1.6.0, \< 2.92.0
- debian gh (Debian): All versions (No fix recorded)
- ubuntu gh (Ubuntu): All versions (No fix recorded)
- github cli: ≥ 1.6.0, \< 2.92.0
- github.com/cli cli (Go): ≥ 1.6.0, ≤ 1.14.0 \| ≥ 1.6.0 (No fix recorded)
- github.com/cli/cli v2 (Go): \< 2.92.0

## References

- <https://github.com/cli/cli/security/advisories/GHSA-crc3-h8v6-qh57>
- <https://ubuntu.com/security/CVE-2026-45803>
- <https://www.cve.org/CVERecord?id=CVE-2026-45803>
- <https://security-tracker.debian.org/tracker/CVE-2026-45803>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45803>
- <https://github.com/cli/cli>

---

Data as of 2026-12-05T07:51:03.823Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
