gh: GitHub Actions log output in `gh run view` allows terminal escape sequence injection
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
`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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| cli | cli | 1.6.0 to before 2.92.0 | 2.92.0 | Patch available | CNA |
| — | github.com/cli/cli/v2 (Go) | before 2.92.0 | 2.92.0 | Patch available | GHSA-crc3-h8v6-qh57 |
| — | github.com/cli/cli (Go) | 1.6.0 – 1.14.0 | — | No fix listed | GHSA-crc3-h8v6-qh57 |
- cli Vendorcli Affected 1.6.0 to before 2.92.0 Fixed in 2.92.0 Patch available CNA
- github.com/cli/cli/v2 (Go) Vendor— Affected before 2.92.0 Fixed in 2.92.0 Patch available GHSA-crc3-h8v6-qh57
- github.com/cli/cli (Go) Vendor— Affected 1.6.0 – 1.14.0 Fixed in — No fix listed GHSA-crc3-h8v6-qh57
Remediation
- Fix · CNA cli (cli) Fixed in 2.92.0
- Fix · GHSA-crc3-h8v6-qh57 github.com/cli/cli/v2 (Go) Fixed in 2.92.0 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
Not affected: 2 products
- Red Hat OpenShift GitOps
- Red Hat OpenStack Platform 18.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-45803
- 2026-10-03 Alias added: GHSA-crc3-h8v6-qh57
References
More cli vulnerabilities
- TI-2025-18873 `gh attestation verify` returns incorrect exit code during verification if no attestations are present CVSS 3.1MEDIUM 6.3
- TI-2024-34983 Connecting to a malicious Codespaces via GH CLI could allow command execution on the user's computer CVSS 3.1CRITICAL 9.6
- TI-2026-35862 GitHub CLI tokens leak via `gh attestation` commands CVSS 3.1CRITICAL 9.1
- TI-2024-36052 go-gh `auth.TokenForHost` violates GitHub host security boundary within a codespace CVSS 3.1HIGH 7.5
- TI-2024-36051 Recursive repository cloning can leak authentication tokens to non-GitHub submodule hosts in the gh cli CVSS 3.1MEDIUM 6.5
- TI-2024-36248 GitHub CLI allows downloading malicious GitHub Actions workflow artifact to result in path traversal vulnerability CVSS 4.0MEDIUM 6.3
Sources
- CVE-2026-45803 · CVE Program
- CVE-2026-45803 · NVD
- FIRST EPSS
- GHSA-crc3-h8v6-qh57 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-45803 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences