CVE-2026-88755: Z.ai ZCode starts MCP servers from a repo's config the moment you open it
Z.ai's ZCode desktop client 3.11.2.6792 connects to every MCP server declared in a repository's .zcode/config.json as soon as you open the folder, with no approval prompt. A cloned repo can run any command it likes on your machine.
What it is
The researcher's write-up: ZCode merges the repo-local .zcode/config.json into its MCP server list and connects to each server immediately. For stdio servers it spawns the configured command directly, so opening a repository runs whatever command the repository declares.
In their test on Windows 11, opening a crafted repo started an MCP handshake with no consent dialog and launched calc.exe automatically.
The auto-connected server's tool descriptions also go straight into the agent's context. A poisoned description got the agent to send the contents of ~/.zcode/v2/credentials.json (API keys, a JWT token and SSH workspace passwords) to the attacker's server with no warning.
The same researcher points to a similar earlier bug in OpenAI's Codex CLI (CVE-2025-61260). NVD lists this CVE as deferred, and we haven't found a vendor advisory yet.
How to check
- Affected: ZCode desktop client 3.11.2.6792 (tested on Windows x64). Other versions weren't listed.
- Before opening a cloned repo in ZCode, look for a .zcode/config.json file and read any MCP servers it declares.
How to fix
- No fixed version is listed yet. Watch Z.ai's release notes for one.
- Don't open untrusted repositories or pull requests in ZCode. Remove or review .zcode/config.json first.
- If you opened an untrusted repo, rotate the API keys and tokens stored in ~/.zcode/v2/credentials.json.
# before opening a cloned repo in ZCode
cat .zcode/config.json 2>/dev/null Sources
- criticalCVE-2026-115555 and 28 more: IBM's Langflow bulletin fixes 29 flaws up to 1.13.0, including 9.9 code execution, MCP tool calls that run custom code without admin rights and an unauthenticated public-flow RCE, upgrade to 1.13.1
- criticalCVE-2026-76092 and CVE-2026-76099: Docker MCP Gateway served its MCP endpoints with no auth in container mode, and its dynamic tools could mount the Docker socket for root on the host (fixed 0.43.1)
- criticalCVE-2026-142487: Joinly's meeting-agent MCP server let any network client import and run subprocess.Popen through the joinly-settings header (fixed 0.5.4)
- criticalCVE-2026-76812 and more: CKAN MCP Server's unauthenticated HTTP mode let anyone bounce sparql_query to the cloud metadata service and read IAM credentials, plus a string of SSRF, injection and DoS fixes (upgrade to 0.4.147)