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

> CVE-2026-45803: gh: GitHub Actions log output in `gh run view` allows terminal escape sequence injection. CVSS 3.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-45803
Last updated: 2026-06-17T10:52:33Z

- Published: 2026-05-15 15:26 UTC · Updated: 2026-06-17 10:52 UTC · Assigner: GitHub\_M
- CVSS: 3.5 (CVSS 3.1) · Severity: Low · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
- EPSS: 0.21%, 10th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-150

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

## Affected vendors and products

- cli: cli

## Tracked companies

- [GitHub](https://rewindex.com/company/github.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-45803)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-45803)
- [https://github.com/cli/cli/security/advisories/GHSA-crc3-h8v6-qh57](https://github.com/cli/cli/security/advisories/GHSA-crc3-h8v6-qh57)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-45803 · Markdown: https://rewindex.com/cve/CVE-2026-45803.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-45803 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:14:37.699Z
