Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-88755 Overview
Z.ai ZCode version 3.11.2.6792 automatically establishes connections to Model Context Protocol (MCP) servers declared inside a repository's workspace configuration. An attacker who convinces a user to open a crafted repository can trigger execution of arbitrary code on the local system. The flaw maps to [CWE-78: OS Command Injection] and requires user interaction to open the malicious workspace.
Critical Impact
Opening a crafted repository in ZCode v3.11.2.6792 can execute attacker-controlled commands locally with the privileges of the current user.
Affected Products
- Z.ai ZCode v3.11.2.6792
- Workspaces containing MCP server declarations
- Any platform where ZCode auto-loads workspace MCP configuration
Discovery Timeline
- 2026-10-16 - CVE CVE-2026-88755 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-88755
Vulnerability Analysis
ZCode supports the Model Context Protocol, a mechanism for connecting AI coding assistants to external tool servers. The product reads MCP server definitions from a workspace-level configuration file bundled inside each repository. On opening a repository, ZCode launches the declared MCP servers without prompting the user to approve the command or the executable path.
An MCP server definition typically specifies a command, arguments, and environment variables. When ZCode processes a hostile declaration, it spawns the attacker-specified process on the local operating system. The behavior converts a file-open action into local code execution under the current user's context.
Root Cause
The product trusts workspace-scoped configuration as if it were user-authored. Repository-controlled MCP entries are consumed without a trust prompt, allowlist, or signature check. Because the launched command and arguments are supplied by the repository, the issue is classified under [CWE-78] as improper neutralization of elements used in an OS command.
Attack Vector
The CVSS vector AV:L/AC:L/PR:N/UI:R reflects local attack reach with required user interaction. An attacker publishes a repository containing a workspace file that declares a malicious MCP server. The victim clones or opens the repository in ZCode, and the editor spawns the attacker's command. No further prompt or privilege change is required for the code to run.
See the GitHub PoC Repository for CVE-2026-88755 and the GitHub Gist Code Snippet for a demonstration workspace layout.
Stop Remote Code Execution Before It Runs
Singularity™ Endpoint detects and blocks exploit attempts at machine speed, including zero-days and novel attack techniques.
Stop Exploit AttemptsDetection Methods for CVE-2026-88755
Indicators of Compromise
- Unexpected child processes spawned by the ZCode editor binary shortly after a repository is opened.
- Workspace files such as .vscode/mcp.json, .zcode/mcp.json, or equivalent containing command fields referencing shells, interpreters, or network utilities.
- Outbound network connections initiated by processes whose parent is ZCode but which are not part of the normal MCP tool set.
Detection Strategies
- Inspect cloned repositories for workspace-scoped MCP configuration before opening them in ZCode.
- Hunt endpoint telemetry for ZCode spawning cmd.exe, powershell.exe, /bin/sh, bash, python, node, or curl immediately after a workspace load event.
- Correlate process creation events with recent git clone or archive extraction activity in developer directories.
Monitoring Recommendations
- Enable process creation and command-line auditing on developer workstations to capture full MCP server invocations.
- Alert on new persistence artifacts (scheduled tasks, cron entries, autostart keys) created by processes with ZCode as the parent.
- Monitor DNS and egress traffic from developer hosts for connections to repositories or domains referenced by newly opened workspaces.
How to Mitigate CVE-2026-88755
Immediate Actions Required
- Treat untrusted repositories as hostile and do not open them in ZCode v3.11.2.6792.
- Review all repositories currently open in ZCode for workspace MCP declarations and remove unknown entries.
- Restrict developer accounts from running with elevated privileges to limit the blast radius of local code execution.
Patch Information
No fixed version is listed in the NVD entry at the time of publication. Consult the vendor pages ZAI Security Overview and ZCode Security Insights for updates and apply any released build above 3.11.2.6792 as soon as it becomes available.
Workarounds
- Clone untrusted repositories into a sandboxed directory and inspect workspace files with a plain text editor before opening in ZCode.
- Disable automatic MCP server startup in ZCode settings where supported, and require manual approval for each server.
- Use operating system allowlisting (for example, AppLocker, WDAC, or SELinux policies) to restrict which binaries ZCode can spawn.
# Pre-open inspection: list MCP server declarations in a cloned repo
grep -R --include='*.json' -nE '"mcpServers"|"command"' ./path/to/repo
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

