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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-64654— GitHub CLI: Terminal escape sequence injection in multiple `gh` commands

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 CLI 2.97.0之前版本存在输入验证错误漏洞,该漏洞源于多个命令未中和终端转义序列,可能导致攻击者嵌入转义序列,导致标题或屏幕内容被篡改,甚至在某些终端模拟器上执行命令。

CVSS 5.3 · Medium EPSS 0.77% · P54

Affected Version Matrix 1

VendorProduct Version RangeStatus
cli cli < 2.97.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-64654

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
GitHub CLI: Terminal escape sequence injection in multiple `gh` commands
Source: CVE Program / CVE List V5
Vulnerability Description
GitHub CLI (gh) is GitHub's official command line tool. Prior to version 2.97.0, multiple GitHub CLI commands printed externally controlled gist, API, pull request, release, codespace, skill, or agent-task content without neutralizing terminal escape sequences. An attacker who can influence that content can embed escape sequences that are interpreted by the terminal of a user who runs an affected command, with impact ranging from cosmetic manipulation of the title or on-screen content to, on some terminal emulators, command execution. This extends the same class of issue as CVE-2026-45803—which addressed only gh run view --log—to the other affected command paths. This issue is fixed in version 2.97.0.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA: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 CLI 2.97.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 < 2.97.0 -

II. Public POCs for CVE-2026-64654

# 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-64654

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

Vendor Advisories for CVE-2026-64654 (1)

Vendor Pages for CVE-2026-64654 (1)

Same Patch Batch · cli · 2026-08-06 · 4 CVEs total

CVE-2026-64653 5.1 MEDIUM GitHub CLI: Unescaped variable components in request URLs could allow path traversal
CVE-2026-64652 3.3 LOW GitHub CLI: Partial token disclosure in `gh auth status` output
CVE-2026-64655 2.1 LOW GitHub CLI: Attestation Verification Bypass via Unescaped Regex Metacharacters in SAN Matc

IV. Related Vulnerabilities

V. Comments for CVE-2026-64654

No comments yet


Leave a comment