Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
cli cli
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

GitHub CLI是GitHub CLI开源的一个命令行上的 GitHub。 GitHub CLI 1.6.0至2.92.0之前版本存在安全漏洞,该漏洞源于处理GitHub Actions工作流日志时未清理终端控制序列,可能导致攻击者通过PR触发的工作流嵌入转义序列,在用户查看日志时改变窗口标题、操纵屏幕内容或在某些终端模拟器中执行任意命令。以下版本受到影响:1.6.0版本至2.92.0之前版本。

CVSS 3.5 · Low EPSS 0.31% · P22

Affected Version Matrix 1

VendorProduct Version RangeStatus
cli cli >= 1.6.0, < 2.92.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-45803

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
gh: GitHub Actions log output in `gh run view` allows terminal escape sequence injection
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
转义、元或控制序列转义处理不恰当
Source: CVE Program / CVE List V5
Vulnerability Title
GitHub CLI 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
GitHub CLI是GitHub CLI开源的一个命令行上的 GitHub。 GitHub CLI 1.6.0至2.92.0之前版本存在安全漏洞,该漏洞源于处理GitHub Actions工作流日志时未清理终端控制序列,可能导致攻击者通过PR触发的工作流嵌入转义序列,在用户查看日志时改变窗口标题、操纵屏幕内容或在某些终端模拟器中执行任意命令。以下版本受到影响:1.6.0版本至2.92.0之前版本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
cli cli >= 1.6.0, < 2.92.0 -

II. Public POCs for CVE-2026-45803

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-45803

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-45803 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-45803

No comments yet


Leave a comment