CVE-2026-142226: DeepSeek Harness's experimental inspector left its CDP WebSocket unauthenticated, so a web page could use DNS rebinding to run code in the host Node.js process (through 0.2.3-alpha.3)
DeepSeek Harness's experimental inspector (npm @deepseek-ai/dsh-experimental-inspector) is a Chrome DevTools Protocol hub for debugging the harness. Through 0.2.3-alpha.3, its /devtools/page/<targetId> WebSocket accepts any connection with no token or Origin check, and /json hands out the targetId. A local process, or a malicious web page using DNS rebinding, can read the targetId, connect and call Runtime.evaluate to run JavaScript in the host Node.js process. NVD published the CVE on 2 December 2026; 0.2.3-alpha.3 is still the newest tag.
What it is
In packages/experimental/inspector/src/worker/bridge/endpoint.ts, the HTTP handler answers /json and /json/list with the target, including its id, to any caller.
The WebSocket upgrade handler accepts /devtools/page/<targetId> without any check. The /ingest path next to it requires a client token and a localhost or allowlisted Origin, but the CDP path does not.
Once connected, a client can send CDP commands such as Runtime.evaluate, which runs JavaScript in the host realm, the Node.js process that runs the harness and holds its keys.
VulnCheck lists the inspector through 0.2.3-alpha.3 as affected and credits Zachariah Mithani (AploSec). As of 3 December 2026 the repository has no newer release tag.
How to check
- Check whether you installed @deepseek-ai/dsh-experimental-inspector or turned on the harness inspector (npm ls @deepseek-ai/dsh-experimental-inspector).
- While it is running, see which port it listens on and whether /json answers without a token.
- Treat any machine where the inspector ran while you browsed the web as possibly exposed.
How to fix
- Do not run the experimental inspector outside a throwaway environment until DeepSeek ships a fix.
- If you need it, run it in a container or VM with no real credentials, and stop it as soon as you finish debugging.
- Rotate the DeepSeek and other API keys the harness process could read if the inspector was left running.
npm ls @deepseek-ai/dsh-experimental-inspector
# with the inspector running, this should not return a target without auth
curl -s http://127.0.0.1:PORT/json Sources
- criticalCVE-2026-95182: DeepSeek Harness can be tricked into running a planted fake npx
- criticalCVE-2026-75913: CodeWhale (formerly DeepSeek-TUI) auto-approved git_show lets prompt injection write arbitrary files, plus an unprompted shell input bug
- criticalDeepSeek left a database open with chat history and secrets
- highCVE-2026-137056: DeepSeek-Reasonix auto-approved git blame and git whatchanged as read-only, so a repository's textconv driver ran attacker commands without asking (fixed 2.53.0)