Vulnerability in DeepSeek Harness allows sandbox escape and off-workspace execution

Author: Published 6 min de lectura 50 reading

The images in this article were generated with artificial intelligence. How we publish

A failure in DeepSeek Harness, the open source tool that manages local coding agents, allowed a confined agent to annul its own restrictions and execute commands outside the working space with a single order. The failure, registered as CVE-2026-82533 and published by VulnCheck, was described as high gravity (9.4 / 10) and corrected in the project repository on August 27 according to the public notices cited by researchers.

Technically, the problem was not a kernel leak or a failure in the isolation of the operating system, but a weakness in the local management surface: the agent, who runs his commands within a sandbox whose aim is to limit scriptures outside the workspace, could make an HTTP request to the local web server that exposes the tool on the same machine. That interface accepted requests without effective authentication and could change the agent's session settings to a mode called "danger-full-access," which disables sandbox protection and eliminates approval notices. In the affected version, it was enough to run a command that would invoke the local interface itself so that the following commands would run out of the confinement. According to the OX Research report and the technical note available in the VulnCheck sheet.

Vulnerability in DeepSeek Harness allows sandbox escape and off-workspace execution
Image generated with IA.

The key details that explain why the escape was possible are three and should be understood separately: first, the Harness sandbox only restricts the file scriptures; readings and network access were not contained by default, so the local interface was achievable from a session within the sandbox. Second, the tool gave the agent's shell the address of that interface and the session identifier, so the agent did not need to "discover" where to talk to the service. Third, the check that decided if a request had permission was based on the HTTP Host header sent by the client, which can be falsified by the one who controls the connection. A comment in the code made it clear that this check "is not an authentication layer," and in fact, he trusted a customer-controlled header to decide whether the request could change the status of the session.

OX Research researchers and public reviews showed a practical case: two sessions initiated with the default configuration received the same order; the session that made the call to the local interface changed to a dangerous way and could write out of your workspace, while the other was blocked. In addition, the same interface served requests that could download the full log of the session, which implies risk of exposure of conversations and sensitive data stored by the agent.

Vulnerability affected the previous and previous versions of the Harness. According to public sources, the project increased a correction that introduces a single-use mechanism: when it starts, the tool prints a single-use token in the local direction; the browser exchanges that token with a signed cookie and subsequent calls require that cookie. However, that correction did not change the scope of the sandbox: the default policy still does not restrict readings or network access, and the agent continues to receive the local address of the service, leaving open questions about whether an agent within the workspace can, under certain conditions, obtain a valid session with the new scheme.

There are other practical factors that fuel the risk. The Harness web server refuses to listen on all network interfaces by default: it is only accessible locally. That means that, for someone outside the machine to reach the interface, it would have to explode a port reshipment, an SSH tunnel, or a proxy (for example, an editor or a desktop wrapper that exposes the port). In local facilities without those tunnels, the agent himself - not a remote attacker - was the path of attack.

Real and short-term consequences: a malicious or manipulated agent could execute orders with the privileges of the user who launched the harness, modify or delete files outside the workspace, steal conversation records, and access secrets present in the developer's system. If the harness was distributed within a desktop application that packs an old version, the users of that app are at risk until the packer updates the dependency. In short, the vector is attractive to an attacker because the harness exposes a shell and operates with user permissions.

Confirmed facts: VulnCheck published the vulnerability tab and gave it the 9.4 score; OX Research showed that a single order was sufficient to change the session to danger-full-access; the project updated access control on the interface by adding a single-use token and signed cookie. Reasonable estimates: an attacker who can access the interface by means of a tunnel or a reshipment can activate the same remote sequence; the risk is significant in equipment where tunnels, editor's proxies or third party wrappers are used that expose the port. Incorrect or unpublicly verified information: if, under the new token authentication, a confined agent can still generate or re-use a valid session without human interaction, there is no strong public confirmation in the revised sources.

What should the reader do right now: If you use DeepSeek Harness, check the installed version and update to the first publication that includes the correction - according to public notices, the available version in the register is 0.1.2-alpha.2 or higher or the subsequent "rc" versions that already incorporate the change. If you installed the harness through a third-party wrapper (a desktop app), check which version embarks that wrapper and demand or expect an update of the package holder. If you cannot update immediately, stop the local web service as long as you do not use it and close any tunnel, reshipment or proxy that exposes the harness port outside the machine.

Vulnerability in DeepSeek Harness allows sandbox escape and off-workspace execution
Image generated with IA.

Additional mitigation measures: run unreliable agents in even more restrictive environments (virtual machines or containers with strict network policies and file system), audit logs in search of unusual activity associated with harness sessions, and rote credentials or secrets that may have been accessible in the system while a vulnerable version was active. For equipment and organisations, consider prohibiting the use of local agents in machines with sensitive data until proper segregation of functions is verified and a safe patch and packaging policy is implemented for third-party wrappers.

Recommendations for project developers and wrappers: publish a clear security policy, provide private channels for security reports, include in the explicit version notes when a correction mitigates a vector that allows remote execution or data exposure, and submit the project to security audits on the authorization logic of your local API. Third-party packers should update their buildings and communicate the affected versions to their users.

To deepen technical concepts related to this type of failure (how tunnels allow to expose local services and why to rely on customer-controlled headers is dangerous), you can consult resources on SSH tunelization and the sandboxing model: how SSH tunnels work and a general explanation of the concept of security sandbox in public documentation. You can also review the third party vulnerability analysis page to look for the technically detailed file of the incident in VulnCheck.

Coverage

Related

More news on the same subject.