Skip to main content
← All vulnerabilities
CVE-2026-45803GHSA-CRC3-H8V6-QH57GO-2026-5335

gh: GitHub Actions log output in `gh run view` allows terminal escape sequence injection

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.92.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • cli cli

    From 1.6.0 · fixed in 2.92.0

  • github.com/cli/cli/v2Go

    fixed in 2.92.0

  • github.com/cli/cliGo

    From 1.6.0 · through 1.14.0

  • github.com/cli/cliGo

    From 1.6.0

References 1

GitHub · cli/cli