CVE-2026-108789: DeepSeek Harness sandbox escape via injected host-realm functions

CVE-2026-108789 · Severity: medium · CVSS 5.5 · Published 2026-10-12

DeepSeek Harness is a plugin-based system for orchestrating AI agents and workflows. A vulnerability in the workflow execution engine allows attackers to escape the Node.js VM sandbox through injected closures, gaining arbitrary file and command execution with the user's privileges. This bypasses the documented file sandbox protections, enabling unauthorized access to credentials, SSH keys, and system files.

Technologies: Deepseek-Ai Deepseek-Harness. Vendors: Deepseek-Ai.

Quick answers

Is CVE-2026-108789 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-108789 being exploited in the wild.
How severe is CVE-2026-108789?
Medium severity, with a CVSS score of 5.5, published 12 October 2026.
Which products and versions are affected?
Deepseek-Ai Deepseek-Harness up to 0.1.1-rc.2; Deepseek-Ai Dsh-Code-Runtime-Worker-Thread up to 0.1.1-rc.2; Deepseek-Ai Dsh-Workflow-Worker-Thread up to 0.1.1-rc.2.
Is there a fix for CVE-2026-108789?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-108789 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-108789?
Check whether you run Deepseek-Ai Deepseek-Harness, Deepseek-Ai Dsh-Code-Runtime-Worker-Thread or Deepseek-Ai Dsh-Workflow-Worker-Thread at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The dsh-workflow-worker-thread component creates a Node.js VM context with an empty scope but injects host-realm closure functions (agent, parallel, pipeline, phase, log) as globals. An attacker can access these functions' constructor property to obtain a reference to the worker thread's Function constructor and execute arbitrary code via agent.constructor('return process')(), fully escaping the VM and accessing process.getBuiltinModule('fs'), child_process, and network APIs. The vulnerability affects all versions up to 0.1.1-rc.2; a related exposure exists in dsh-code-runtime-worker-thread where injected code runs directly in the worker realm without any VM layer.

Affected products

  • deepseek-ai deepseek-harness up to 0.1.1-rc.2
  • deepseek-ai dsh-workflow-worker-thread up to 0.1.1-rc.2
  • deepseek-ai dsh-code-runtime-worker-thread up to 0.1.1-rc.2

Timeline

  • 2026-08-13: disclosed: Vulnerability discussion opened on GitHub
  • 2026-10-12: advisory: CVE-2026-108789 published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.