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

CVE-2026-108788: deepseek-ai Sandbox Escape Vulnerability

CVE-2026-108788 is a sandbox escape flaw in deepseek-ai deepseek-harness affecting the spawn function in the Sandbox component. Attackers can manipulate the Profile argument to break out of the sandbox. This article covers technical details, affected versions up to 0.1.1-rc.2, impact assessment, 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-108788 Overview

CVE-2026-108788 affects deepseek-ai deepseek-harness versions up to 0.1.1-rc.2. The flaw resides in the spawn function of the Sandbox component. An attacker with local access and low privileges can manipulate the Profile argument to break out of sandbox restrictions. The weakness is classified under CWE-264: Permissions, Privileges, and Access Controls. The vendor was contacted prior to public disclosure but did not respond. A public proof-of-concept has been disclosed, increasing the likelihood of opportunistic exploitation against local test harness deployments.

Critical Impact

Local attackers can abuse the Profile argument of the Sandbox spawn function in deepseek-harness to perform a sandbox escape, with limited confidentiality, integrity, and availability impact.

Affected Products

  • deepseek-ai deepseek-harness versions up to and including 0.1.1-rc.2
  • Sandbox component, spawn function
  • Deployments exposing the harness to untrusted local users or profiles

Discovery Timeline

  • 2026-10-12 - CVE-2026-108788 published to NVD
  • 2026-10-14 - Last updated in NVD database

Technical Details for CVE-2026-108788

Vulnerability Analysis

The vulnerability resides in the Sandbox component of deepseek-harness, specifically the spawn function responsible for launching processes within an isolation boundary. The Profile argument controls sandbox configuration during process creation. Improper handling of this argument allows a local attacker to influence sandbox behavior in ways that defeat intended isolation. The result is a sandbox escape with limited impact on confidentiality, integrity, and availability of resources outside the intended boundary. Because the attack vector is local and requires low privileges, exploitation is restricted to users already present on the host running the harness. The public disclosure of a proof-of-concept increases operational risk even where the overall severity remains low.

Root Cause

The root cause maps to [CWE-264] weaknesses in permissions, privileges, and access controls. The spawn function trusts caller-supplied Profile data without sufficient validation or constraint enforcement. This permits a privileged configuration path to be reached from a lower-trust context.

Attack Vector

An attacker needs local access to a system running a vulnerable deepseek-harness build. The attacker invokes the Sandbox spawn entry point with a crafted Profile argument. Successful manipulation causes the sandboxed process to execute outside the intended restriction set. No user interaction is required.

// No verified exploit code is available. Refer to the published advisories
// for technical details:
// - https://vuldb.com/vuln/416567
// - https://mcniyfj5bw9b.feishu.cn/docx/EMBrd1Ak3oJDFjx48F9cYH0Snnb

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-108788

Indicators of Compromise

  • Unexpected invocations of the deepseek-harness Sandbox spawn function with unusual or externally sourced Profile arguments.
  • Child processes of the harness executing outside expected working directories or with permissions inconsistent with sandbox policy.
  • Local user accounts interacting with deepseek-harness binaries that are not part of normal ML workflow operators.

Detection Strategies

  • Enable verbose logging on the deepseek-harness Sandbox component and capture every Profile value passed to spawn.
  • Baseline legitimate Profile values and alert on deviations, unknown identifiers, or malformed structures.
  • Correlate process creation telemetry with harness activity to identify child processes that escape the expected sandbox cgroup, namespace, or working directory.

Monitoring Recommendations

  • Monitor local privilege boundaries on hosts running deepseek-harness, with particular attention to users permitted to invoke the harness.
  • Track filesystem and network activity attributed to harness child processes for actions outside the sandbox scope.
  • Review access to the VulDB Vulnerability Detail and VulDB CTI Analysis pages for updated indicators as the public PoC evolves.

How to Mitigate CVE-2026-108788

Immediate Actions Required

  • Inventory all systems running deepseek-ai deepseek-harness and identify builds at or below 0.1.1-rc.2.
  • Restrict local access to hosts running the harness to trusted operators only, since the attack vector requires local, low-privilege access.
  • Disable or isolate the Sandbox component on shared or multi-tenant systems until a patched release is available.

Patch Information

At the time of publication, the vendor has not responded to the disclosure and no official fixed version is listed. Monitor the deepseek-ai GitHub organization and the VulDB CVE Report for updates on a patched release.

Workarounds

  • Run deepseek-harness only inside dedicated virtual machines or containers so that a sandbox escape is contained by an outer isolation layer.
  • Enforce mandatory access controls such as SELinux or AppArmor profiles around the harness process to constrain the impact of a successful escape.
  • Remove execute permissions on the harness binary for non-operator local accounts and audit sudo or setuid paths that could expose the spawn function to lower-trust users.
bash
# Example: restrict execute permissions on the harness binary
# to a dedicated operator group only
sudo groupadd deepseek-ops
sudo chown root:deepseek-ops /path/to/deepseek-harness
sudo chmod 750 /path/to/deepseek-harness

# Verify no world-executable bits remain
ls -l /path/to/deepseek-harness

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.