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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-48938— Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server

Quick assessment

Affected
cli go-gh
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.

go-gh是GitHub CLI开源的一个 Go 模块的集合。用于从命令行与 gh 和 GitHub API 交互。 go-gh 2.12.1之前版本存在安全漏洞,该漏洞源于攻击者控制的GitHub Enterprise Server可能导致在用户机器上执行任意命令。

AI Predicted 8.1 Difficulty: Easy EPSS 0.54% · P44

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-48938

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
Prevent GitHub CLI and extensions from executing arbitrary commands from compromised GitHub Enterprise Server
Source: CVE Program / CVE List V5
Vulnerability Description
go-gh is a collection of Go modules to make authoring GitHub CLI extensions easier. A security vulnerability has been identified in versions prior to 2.12.1 where an attacker-controlled GitHub Enterprise Server could result in executing arbitrary commands on a user's machine by replacing HTTP URLs provided by GitHub with local file paths for browsing. In `2.12.1`, `Browser.Browse()` has been enhanced to allow and disallow a variety of scenarios to avoid opening or executing files on the filesystem without unduly impacting HTTP URLs. No known workarounds are available other than upgrading.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H/E:U
Source: CVE Program / CVE List V5
Vulnerability Type
违背信任边界
Source: CVE Program / CVE List V5
Vulnerability Title
go-gh 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
go-gh是GitHub CLI开源的一个 Go 模块的集合。用于从命令行与 gh 和 GitHub API 交互。 go-gh 2.12.1之前版本存在安全漏洞,该漏洞源于攻击者控制的GitHub Enterprise Server可能导致在用户机器上执行任意命令。
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 go-gh < 2.12.1 -

II. Public POCs for CVE-2025-48938

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-48938

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

Patches & Fixes for CVE-2025-48938 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-48938

No comments yet


Leave a comment