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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-57860— ForgeCode Arbitrary Code Execution via Unvetted .mcp.json in Untrusted Repository

CVSS 7.8 · High EPSS 0.13% · P3

Affected Version Matrix 1

VendorProductVersion RangeStatus
tailcallhqforgecode2.11.1affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-57860

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
ForgeCode Arbitrary Code Execution via Unvetted .mcp.json in Untrusted Repository
Source: CVE Program / CVE List V5
Vulnerability Description
ForgeCode (tailcallhq/forgecode), an AI pair-programming CLI, automatically loads and executes the MCP servers defined in a repository's .mcp.json file on startup without user confirmation. A malicious repository can supply a crafted .mcp.json whose mcpServers entries specify arbitrary command and args values (for example, command: bash with args: ['-c', 'touch /tmp/pwned']). When a user runs the forge CLI inside a cloned untrusted repository, the specified commands are spawned with the invoking user's privileges, resulting in arbitrary code execution. This provides a reliable initial-access and persistence primitive against developers who evaluate untrusted repositories with ForgeCode.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
从非可信控制范围包含功能例程
Source: CVE Program / CVE List V5
Vulnerability Title
Tailcall Forge 软件供应链问题漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Tailcall Forge是美国Tailcall公司开源的一款Web中间件软件。 Tailcall Forge 2.11.1版本存在软件供应链问题漏洞,该漏洞源于启动时自动加载并执行仓库中.mcp.json文件定义的MCP服务器,且无需用户确认。恶意仓库可提供特制.mcp.json文件,指定任意命令及参数,当用户在克隆的不可信仓库中运行forge CLI时,指定命令将以调用用户权限执行,从而导致任意代码执行。
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

VendorProductAffected VersionsCPESubscribe
tailcallhqforgecode 2.11.1 -

II. Public POCs for CVE-2026-57860

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium
Qwen3.6-35B-A3B · 7679 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-57860

登录查看更多情报信息。

Vendor Advisories for CVE-2026-57860 (2)

Proof of Concept for CVE-2026-57860 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-57860

No comments yet


Leave a comment