Business logic flaw in deepseek-ai deepseek-harness lets a remote user bend the agent workflow

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-108789?

CVE-2026-108789 is a vulnerability classified as Improper Enforcement of Behavioral Workflow and Business Logic Errors, affecting deepseek-harness (affected versions: 0.1.1-rc.0, 0.1.1-rc.1, and other affected versions). This vulnerability is rated Medium, with a CVSS score of 5.1. Public exploit code or evidence is available for this vulnerability, but that does not confirm exploitation in the wild.

Overview

Original source data

A vulnerability was identified in deepseek-ai deepseek-harness up to 0.1.1-rc.2. This affects the function agent of the component dsh-workflow-worker-thread. The manipulation leads to enforcement of behavioral workflow. The attack is possible to be carried out remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.

Affected products and scope

deepseek-harness from deepseek-ai, in the release candidate builds up to and including the newest one named in the affected product data, specifically the agent function of the dsh-workflow-worker-thread component. The record does not identify any configuration as unaffected, and it lists no fixed release.

Technical details

The weakness is a business logic error, classified as CWE-840 and specifically as improper enforcement of behavioral workflow (CWE-841): the code that is meant to constrain the order and conditions of an agent's steps does not hold under manipulation. The affected code is the agent function inside the dsh-workflow-worker-thread component of deepseek-harness. The record states that the attack can be carried out remotely and does not describe the input path, the specific check that fails, or the code involved, so the exact mechanism is not publicly documented beyond this classification.

Exploitability

The vector is network reachable, with low attack complexity and low privileges required, and it needs some form of user interaction. A public exploit exists and the record notes it might be used; it is not listed as exploited in the wild. Practically, an attacker needs a way to reach the harness and an account that can trigger or take part in a workflow.

Technical impact

An attacker gains influence over how the harness executes an agent workflow, rather than code execution or direct access to the host as described. Per the record's scoring, the effect on confidentiality, integrity and availability is low and the scope is unchanged, meaning the manipulation stays within the harness's own security context rather than crossing into the surrounding system.

Business impact

Workflow enforcement is the part of an agent harness that decides what the agent may do and in what order: which step runs next, and which actions have to pass an approval before they happen. When that control can be manipulated, the guarantees built on top of it stop being guarantees. An agent usually runs with its own credentials and its own tool access, so anything the agent is permitted to do becomes something a manipulated workflow can attempt, including reading data it was not meant to reach or taking actions outside the approved path. The record scores the impact as limited on confidentiality, integrity and availability, so this is not a full takeover of the host, but it is enough to undermine review steps and audit assumptions you may have built around the harness. Teams running deepseek-harness in automation, or anyone exposing its workflow worker to users outside a trusted group, should care.

Remediation

The record lists no patch and no workaround, and the vendor did not respond to the disclosure, so there is no vendor-supplied fix to apply. Reduce exposure instead: keep the harness and its workflow worker off untrusted networks, restrict which accounts can start or join a workflow, and treat any approval or ordering step in your workflows as advisory until a fix appears. Check the upstream project directly for a release that addresses it, since this record will not be updated by the vendor.

Detection

Look at workflow worker and agent logs for step sequences that run out of their defined order, for agent tool calls that fall outside the workflow's expected path, and for workflow activity originating from low-privilege or unfamiliar accounts. Requests to the worker thread from outside the networks you expect, and repeated attempts to drive the same workflow in unusual ways, are worth reviewing. Compare observed step traces against the workflow definition to spot deviations.

Sources (12)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.