CVE-2026-45803
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.
Weakness
- CWE-150: Improper Neutralization of Escape, Meta, or Control Sequences
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-15 |
Timeline
- 2026-05-15Published by the CNA15:26 UTC
- 2026-05-15CISA SSVC decision recordedsame day
- 2026-05-19GitHub advisory published (GHSA-crc3-h8v6-qh57)4 days after publication
Exploit and advisory records
GitHub advisory GHSA-crc3-h8v6-qh57, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/cli/cli | from 1.6.0 through 1.14.0 | |
| Go github.com/cli/cli/v2 | before 2.92.0 | 2.92.0 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| github cli | from 1.6.0 before 2.92.0fixed in 2.92.0 | 2.92.0 |
References
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-45803'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-45803'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-45803'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-45803'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).