Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-45803

LOW 3.5EPSS 16%

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

Also known as GHSA-crc3-h8v6-qh57, GO-2026-5335

Mitigation

  • Upgrade github.com/cli/cli/v2 to 2.92.0 or later.

Who should check

  • Projects that depend on Go package github.com/cli/cli/v2 (< 2.92.0)
  • Projects that depend on Go package github.com/cli/cli (>= 1.6.0, <= 1.14.0)
  • Anyone running cli >= 1.6.0, < 2.92.0

Vulnerability facts

Affected
github.com/cli/cli/v2 < 2.92.0; github.com/cli/cli >= 1.6.0, <= 1.14.0
Fixed in
2.92.0
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
3.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: Required
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.31% chance of exploitation in 30 days (percentile 16, 2026-11-26)
CWE
CWE-150
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Go github.com/cli/cli/v2< 2.92.02.92.0osv
Go github.com/cli/cli>= 1.6.0, <= 1.14.0—osv
cli>= 1.6.0, < 2.92.0—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-45803. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-45803.md
Affected: github.com/cli/cli/v2 < 2.92.0; github.com/cli/cli >= 1.6.0, <= 1.14.0
Fixed in: 2.92.0

Steps:
1. Search this machine and project for github.com/cli/cli/v2 (Go), github.com/cli/cli (Go), cli: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-45803 being exploited?

There is no confirmed exploitation: CVE-2026-45803 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-45803?

Low: CVSS 3.5 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-45803?

github.com/cli/cli/v2 < 2.92.0; github.com/cli/cli >= 1.6.0, <= 1.14.0.

Is there a fix for CVE-2026-45803?

Yes. Fixed in 2.92.0. Upgrade github.com/cli/cli/v2 to 2.92.0 or later.

How do I check if I'm affected by CVE-2026-45803?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors