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.
CVE-2026-57860
Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-07-17. the CNA's CVSS baseline 7.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 7.8
- EG Score
- 7.8(high)
- EG Risk
- 51(Track*)EG Risk 51/100SSVC: Track*
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity78% × 45%Exploitation40% × 40%Automatability0% × 15%Action: Watch closely — could escalate to Attend. - EPSS
- 3.3%
- KEV
- Not listed
Published
July 17, 2026
Last Modified
July 20, 2026
Advisory Details (5)
Auto-updated Jul 17, 2026[Bug]: Arbitrary Code Execution when running forge in untrusted repo · Issue #3022 · tailcallhq/forgecode · GitHub
https://github.com/tailcallhq/forgecode/issues/3022ForgeCode Arbitrary Code Execution via Unvetted .mcp.json in Untrusted Repository | Advisories | VulnCheck
https://www.vulncheck.com/advisories/forgecode-arbitrary-code-execution-via-unvetted-mcp-json-in-untrusted-repository[Bug]: Command Execution via MCP Configuration Injection Without User Approval · Issue #3252 · tailcallhq/forgecode · GitHub
https://github.com/tailcallhq/forgecode/issues/3252commit 68ca3a3a26c7 (tailcallhq/forgecode)
Fix landed in tailcallhq/forgecode commit 68ca3a3a26c7 — awaiting tagged release
https://github.com/tailcallhq/forgecode/commit/68ca3a3a26c73c38a700453d3d021b5bbdc15dbdGitHub - tailcallhq/forgecode: AI enabled pair programmer for Claude, GPT, O Series, Grok, Deepseek, Gemini and 300+ models · GitHub
https://github.com/tailcallhq/forgecodeVendor Advisories for CVE-2026-57860(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 17× in last 7d / 17× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 14:18 UTCEPSS rescore
- 2026-07-23 03:20 UTCEG score recompute
- 2026-07-23 00:15 UTCEG score recompute
- 2026-07-23 00:15 UTCGHSA enrichment
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-22 14:08 UTCEPSS rescore
- 2026-07-21 15:25 UTCEPSS rescore
- 2026-07-20 17:08 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 14:31 UTCEPSS rescore
- 2026-07-19 02:29 UTCEPSS rescore
- 2026-07-17 20:02 UTCEG score recompute
- 2026-07-17 20:02 UTCGHSA enrichment
- 2026-07-17 18:03 UTCEG score recompute
- 2026-07-17 16:20 UTCEG score recompute
- 2026-07-17 16:19 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Same CWE
10 shownCWE-829
- CVE-2021-41037EG 10.0CRITICAL
- CVE-2022-1161EG 10.0EPSS 91%CRITICAL
- CVE-2020-4561EG 10.0CRITICAL
- CVE-2022-24119EG 9.8CRITICAL
- CVE-2020-16152EG 9.8EPSS 98%CRITICAL
- CVE-2021-21804EG 9.8CRITICAL
- CVE-2020-25414EG 9.8CRITICAL
- CVE-2020-3794EG 9.8EPSS 93%CRITICAL
- CVE-2020-8128EG 9.8CRITICAL
- CVE-2012-4919EG 9.8CRITICAL
Frequently asked(5)
What is CVE-2026-57860?
When was CVE-2026-57860 disclosed?
Is CVE-2026-57860 actively exploited?
What is the CVSS score of CVE-2026-57860?
How do I remediate CVE-2026-57860?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-57860
Is Your Infrastructure Affected by CVE-2026-57860?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.