CVE-2026-57860
Last modified
CVE-2026-57860 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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']).
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| tailcallhq | forgecode | 2.11.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-57860?
How severe is CVE-2026-57860?
How do I fix CVE-2026-57860?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-57855Cockpit CMS contains a missing authorization vulnerability i…8.8
- CVE-2026-57856Cockpit CMS contains a path traversal vulnerability in the B…8.8
- CVE-2026-57857The Flow Payment plugin for WordPress (flow.cl) version 3.0.…5.1
- CVE-2026-57858Cal.com Cal.diy versions 2.1.1 through 6.2.0 contain a store…8.9
- CVE-2026-57859e107 prior to version 2.3.8 contains a code execution vulner…7.7
- CVE-2026-5786An Improper Access Control vulnerability in Ivanti EPMM befo…8.8
- CVE-2026-57862Kanboard 1.2.52 and prior contains a server-side request for…8.5
- CVE-2026-57867MicroRealEstate allows adversaries to bypass authentication …8.8
- CVE-2026-57868MicroRealEstate is affected by broken object-level access co…7.1
- CVE-2026-57869Broken object-level access controls and the use of a determi…7.1
- CVE-2026-5787An Improper Certificate Validation in Ivanti EPMM before ver…9.1
- CVE-2026-57870Broken object-level access control on the Template API in Mi…5.3
Are you affected by CVE-2026-57860?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
