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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-64653— GitHub CLI: Unescaped variable components in request URLs could allow path traversal

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之前版本存在路径遍历漏洞,该漏洞源于HTTP请求URL在插入可变路径组件时未进行百分号编码,攻击者控制的仓库或资源值中的URL路径元字符可能使gh访问非预期的API端点或资源。

CVSS 5.1 · Medium EPSS 0.53% · P42

Possible ATT&CK Techniques 1 AI

T1071 · Application Layer Protocol

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-64653

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: Unescaped variable components in request URLs could allow path traversal
Source: CVE Program / CVE List V5
Vulnerability Description
GitHub CLI (gh) is GitHub’s official command line tool. Prior to 2.97.0, some HTTP request URLs interpolate variable path components without percent encoding, allowing URL path metacharacters in attacker-controlled repository or resource values to make gh address a different API endpoint or resource than the user intended. 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:A/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之前版本存在路径遍历漏洞,该漏洞源于HTTP请求URL在插入可变路径组件时未进行百分号编码,攻击者控制的仓库或资源值中的URL路径元字符可能使gh访问非预期的API端点或资源。
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-64653

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

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

Patches & Fixes for CVE-2026-64653 (1)

Vendor Advisories for CVE-2026-64653 (1)

Vendor Pages for CVE-2026-64653 (1)

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

CVE-2026-64654 5.3 MEDIUM GitHub CLI: Terminal escape sequence injection in multiple `gh` commands
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-64653

No comments yet


Leave a comment