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

CVE-2026-108789: DeepSeek Harness RCE Vulnerability

CVE-2026-108789 is a remote code execution flaw in deepseek-ai deepseek-harness that allows attackers to enforce behavioral workflow manipulation. This post explains its impact, affected versions up to 0.1.1-rc.2, and mitigation steps.

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

CVE-2026-108789 affects deepseek-ai/deepseek-harness versions up to 0.1.1-rc.2. The flaw resides in the agent function of the dsh-workflow-worker-thread component. Manipulation of this function leads to improper enforcement of a behavioral workflow, categorized under [CWE-840] (Business Logic Errors). An attacker can trigger the condition remotely with low privileges and limited user interaction. The vendor was contacted about the disclosure but did not respond. Public exploit code may be available for this issue.

Critical Impact

Remote attackers with low privileges can bypass behavioral workflow enforcement in the DeepSeek Harness worker thread, producing limited confidentiality, integrity, and availability impact on the affected component.

Affected Products

  • deepseek-ai deepseek-harness up to version 0.1.1-rc.2
  • Component: dsh-workflow-worker-thread
  • Affected function: agent

Discovery Timeline

  • 2026-10-12 - CVE-2026-108789 published to NVD
  • 2026-10-13 - Last updated in NVD database

Technical Details for CVE-2026-108789

Vulnerability Analysis

The vulnerability is a business logic flaw ([CWE-840]) in the DeepSeek Harness framework. The agent function within the dsh-workflow-worker-thread component fails to properly enforce the intended behavioral workflow. An attacker who can reach the worker thread over the network can manipulate inputs to deviate from the enforced execution path. The result is limited impact on confidentiality, integrity, and availability of the component itself, without crossing a trust boundary into the broader subsystem.

Because the underlying issue is workflow enforcement rather than memory safety, exploitation does not require corrupting process state. The attacker instead abuses the sequencing or state assumptions of the agent to perform actions outside the sanctioned workflow.

Root Cause

The root cause is improper enforcement of a behavioral workflow inside the agent function. The code path does not validate that invocations occur in the sequence and context expected by the harness. This permits callers with low privileges to drive the agent through unintended states.

Attack Vector

The attack vector is network-based with low attack complexity. The attacker needs low privileges and some user interaction to trigger the condition. See the GitHub DeepSeek Harness Repository and the GitHub discussion for technical context. Additional details are tracked in VulDB CVE-2026-108789.

No verified exploit code is provided. Refer to the linked advisories for technical specifics on the affected code path.

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

Indicators of Compromise

  • Unexpected invocation sequences against the agent function in dsh-workflow-worker-thread logs.
  • Worker thread executions that complete outside the documented workflow states.
  • Network calls to the DeepSeek Harness endpoint from accounts not provisioned for agent orchestration.

Detection Strategies

  • Instrument the agent function to log workflow state transitions and alert on transitions that violate the expected state machine.
  • Correlate authentication events with worker thread activity to identify low-privilege accounts driving agent workflows.
  • Hunt for repeated requests that attempt the same workflow step out of order, which may indicate probing.

Monitoring Recommendations

  • Baseline normal workflow sequences in dsh-workflow-worker-thread and alert on deviations.
  • Enable verbose auditing on the DeepSeek Harness service during the exposure window.
  • Forward application logs to a centralized analytics platform for sequence-based detection.

How to Mitigate CVE-2026-108789

Immediate Actions Required

  • Inventory all deployments of deepseek-harness and identify instances at or below version 0.1.1-rc.2.
  • Restrict network access to the DeepSeek Harness worker thread to trusted operators and internal networks only.
  • Enforce least-privilege on accounts able to invoke the agent function and remove unused credentials.
  • Monitor the GitHub DeepSeek Harness Repository for a vendor fix.

Patch Information

At the time of publication, the vendor had not responded to the disclosure and no official patch was listed. Track the VulDB entry for vulnerability #416568 and the upstream discussion for remediation updates. Apply the fixed release as soon as it is published upstream.

Workarounds

  • Isolate the harness worker thread behind an authenticated reverse proxy that enforces request sequencing.
  • Disable the agent function entrypoint if it is not required for your workload.
  • Add application-layer validation that rejects workflow invocations originating from untrusted sources or out-of-order states.
  • Rotate credentials used by low-privilege service accounts that interact with the harness.
bash
# Configuration example: restrict access to the DeepSeek Harness worker thread
# Example iptables rule - allow only trusted orchestration subnet
iptables -A INPUT -p tcp --dport 8080 -s 10.0.10.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 8080 -j DROP

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.