Skip to main content
Vulnerability Database/CVE-2026-101102

CVE-2026-101102: Deepseek-AI Harness Sandbox RCE Vulnerability

CVE-2026-101102 is a remote code execution vulnerability in deepseek-ai deepseek-harness affecting versions up to 0.1.0-rc.7. The flaw exists in the Code Mode Sandbox run_code function. This post covers technical details, affected versions, security impact, and mitigation strategies.

Published:

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-101102 Overview

CVE-2026-101102 affects deepseek-ai/deepseek-harness versions up to 0.1.0-rc.7. The flaw resides in the run_code function of the Code Mode Sandbox component. Attackers can manipulate the sandbox remotely to escape its intended containment boundary. The vendor's own documentation, including SAFETY.md and design notes, explicitly states the worker provides "containment, not a security boundary". The vendor was contacted for coordinated disclosure but did not respond. This weakness is categorized under [CWE-264] (Permissions, Privileges, and Access Controls).

Critical Impact

Authenticated remote attackers can bypass the Code Mode Sandbox in deepseek-harness, resulting in limited confidentiality, integrity, and availability impact on the host executing untrusted model-generated code.

Affected Products

  • deepseek-ai/deepseek-harness versions up to and including 0.1.0-rc.7
  • Code Mode Sandbox component (run_code function)
  • Downstream projects embedding the deepseek-harness worker for LLM code execution

Discovery Timeline

  • 2026-09-28 - CVE CVE-2026-101102 published to the National Vulnerability Database (NVD)
  • 2026-09-28 - Last updated in NVD database

Technical Details for CVE-2026-101102

Vulnerability Analysis

The deepseek-harness project ships a Code Mode Sandbox that executes model-generated code inside a worker process. The run_code function is the entry point for untrusted code execution. According to the vendor's own SAFETY.md, the worker is designed for containment, not as a security boundary. Attackers with the ability to submit code through the harness can therefore reach the host beyond the intended sandbox restrictions.

Exploitation requires network reachability to the harness and low-privilege authentication. No user interaction is needed. Impact is limited in scope because the vulnerable component is a development-oriented execution harness, but any process, file, or credential accessible to the worker user is at risk.

Root Cause

The root cause is an architectural decision rather than an implementation bug. The Code Mode Sandbox relies on process-level containment without enforcing kernel-level isolation, seccomp filters, or namespace restrictions strong enough to constitute a security boundary. The vendor's documentation acknowledges this design limitation. Because run_code accepts arbitrary attacker-controlled code, any containment gap becomes exploitable.

Attack Vector

An authenticated attacker submits crafted Python or shell payloads through the harness interface that invokes run_code. Once executed inside the worker, the payload uses standard language primitives to read files, spawn subprocesses, or open outbound network connections that the sandbox does not block. See the VulDB entry for CVE-2026-101102 and the associated CTI report for additional context.

No verified public exploit code is available for this issue. The vulnerability manifests when untrusted model output or a malicious client request reaches the run_code handler. Consult the referenced advisories for reproducer details.

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 Attempts

Detection Methods for CVE-2026-101102

Indicators of Compromise

  • Unexpected child processes spawned by the deepseek-harness worker (for example, sh, bash, curl, wget, python -c).
  • Outbound network connections from the harness worker to non-allowlisted destinations.
  • Reads of sensitive host files such as /etc/passwd, cloud metadata endpoints, or ~/.ssh/ from within the worker process.
  • New or modified files under the worker's runtime directory outside the expected job workspace.

Detection Strategies

  • Baseline the syscalls and process tree of the harness worker, then alert on deviations such as execve calls to shells or network utilities.
  • Instrument run_code invocations with structured logging that captures caller identity, payload hash, and execution duration.
  • Correlate harness activity with endpoint telemetry to catch post-execution behavior indicative of sandbox escape.

Monitoring Recommendations

  • Forward harness process, file, and network telemetry to a centralized analytics platform for retrospective hunting.
  • Monitor authentication logs for the harness API and alert on unusual submission volumes or off-hours activity.
  • Track egress from hosts running deepseek-harness and block connections to unapproved networks.

How to Mitigate CVE-2026-101102

Immediate Actions Required

  • Restrict network exposure of deepseek-harness to trusted operators only; do not expose the API to untrusted networks.
  • Run the harness worker as an unprivileged user in a dedicated host or container with no access to production secrets.
  • Disable or gate the Code Mode Sandbox where it is not required for business operations.
  • Rotate any credentials, tokens, or keys that were reachable from hosts running vulnerable versions.

Patch Information

No vendor patch is currently referenced in the NVD entry for CVE-2026-101102. The vendor did not respond to disclosure attempts. Track the VulDB CVE-2026-101102 entry and the upstream deepseek-ai/deepseek-harness repository for future fixed releases beyond 0.1.0-rc.7.

Workarounds

  • Wrap the harness worker in a hardened isolation layer such as gVisor, Firecracker, or a dedicated Kubernetes sandbox with strict seccomp and AppArmor profiles.
  • Enforce egress firewall rules that deny all outbound traffic from the worker except explicitly required endpoints.
  • Apply filesystem restrictions using read-only bind mounts and disable access to host metadata services.
  • Require code review or allowlisting for any code submitted to run_code in production or shared environments.
bash
# Example hardened container invocation for deepseek-harness worker
docker run --rm \
  --user 65534:65534 \
  --read-only \
  --tmpfs /tmp:rw,noexec,nosuid,size=64m \
  --cap-drop=ALL \
  --security-opt no-new-privileges \
  --security-opt seccomp=/etc/docker/seccomp-harness.json \
  --network harness-egress-restricted \
  deepseek-harness:pinned

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

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.