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

- Severity: Low 3.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 16% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-15T15:26:56.675Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-crc3-h8v6-qh57, GO-2026-5335
- Weaknesses: CWE-150
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- cli cli: >= 1.6.0, < 2.92.0
- github.com/cli/cli/v2 (Go): before 2.92.0
- github.com/cli/cli (Go): from 1.6.0 up to 1.14.0; from 1.6.0
- github cli: from 1.6.0 before 2.92.0

## Every score

- GitHub_M: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 3.5 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N`

## References

- <https://github.com/cli/cli/security/advisories/GHSA-crc3-h8v6-qh57> (exploit, advisory, mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45803> (advisory)
- <https://github.com/cli/cli> (package)

## Sources

- CVE List: [CVE-2026-45803](https://www.cve.org/CVERecord?id=CVE-2026-45803), CVE Terms of Use, modified 2026-05-15
- GitHub Advisory Database: [GHSA-crc3-h8v6-qh57](https://github.com/advisories/GHSA-crc3-h8v6-qh57), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5335](https://pkg.go.dev/vuln/GO-2026-5335), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-45803](https://nvd.nist.gov/vuln/detail/CVE-2026-45803), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-45803 · Whole record: https://cve.day/CVE-2026-45803.json · Rebuilt by cve.day 2026-11-25T22:59:21.817Z
