{"id":14739,"date":"2026-09-04T19:02:10","date_gmt":"2026-09-04T11:02:10","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-57860"},"modified":"2026-09-04T19:02:10","modified_gmt":"2026-09-04T11:02:10","slug":"cve-2026-57860","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-57860","title":{"rendered":"CVE-2026-57860 [HIGH] &#8211; ForgeCode (tailcallhq\/forgecode), an AI pair-programming CLI, automatically loads and exec"},"content":{"rendered":"<p>ForgeCode (tailcallhq\/forgecode), an AI pair-programming CLI, automatically loads and executes the MCP servers defined in a repository&#8217;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: [&#8216;-c&#8217;, &#8216;touch \/tmp\/pwned&#8217;]). When a user runs the forge CLI inside a cloned untrusted repository, the specified commands are spawned with the invoking user&#8217;s privileges, resulting in arbitrary code execution. This provides a reliable initial-access and persistence primitive against developers who evaluate untrusted repositories with ForgeCode.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ForgeCode (tailcallhq\/forgecode), an AI pair-programming CLI, automatically loads and executes the MCP servers defined in a repository&#8217;s .mcp.json file on startup without user confirmation. A maliciou<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-14739","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/14739","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14739"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14739"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}