Introduction

A critical flaw in DeepSeek Harness — DeepSeek's open-source tool for running AI coding agents on a developer's machine — let a sandboxed agent turn off its own sandbox with a single command.

The vulnerability is tracked as CVE-2026-82533 and was rated 9.4 out of 10 by VulnCheck, which assigned the identifier and published the record on September 8, 2026.

A sandboxed AI agent could remove its own sandbox restriction with one command, allowing it to write outside its workspace without any approval prompt.

What Is DeepSeek Harness?

DeepSeek Harness is an open-source tool that runs an agent's commands inside an operating-system sandbox. This ensures that an agent working on untrusted files cannot write outside its workspace.

Key features:

The tool runs an agent's commands inside an operating-system sandbox, so that an agent working on untrusted files cannot write outside its workspace.

The Vulnerability — One Command to Escape

According to OX Research, the security firm that reported the flaw, one shell command was enough to escape the sandbox.

The command did two things:

  1. Invoked the tool's local interface
  2. Set the agent's session to a mode called danger-full-access, which turns off the sandbox and stops approval prompts

The interface had no authentication. The check that determined whether a request could reach it read the request's Host header and never looked at where the connection originated.

How the Escape Worked

OX Research verified that the sandbox had been working before the escape by running two sessions from the same default settings and giving both the same command:

Why it worked:

The tool also provides the agent's shell with the address of that interface and the current session's identifier, so the agent does not have to look for them.

Affected Versions and What to Install

Version Status Released
0.1.1-rc.2 and earlier Affected August 21
0.1.2-alpha.1 Fixed, on GitHub only August 27, not on npm
0.1.2-alpha.2 First fixed release on npm August 30
0.1.2-rc.1 Current npm release, carries the fix September 3

What to do:

No source reviewed offers a way to stop the escape from inside the sandbox on a default local installation while the tool is running. The agent is already on the same machine.

The Fix

The fix gives the interface an identity check:

What the fix does not change:

Install 0.1.2-alpha.2 or later. The registry's current release is 0.1.2-rc.1.

Community Reports Described the Same Escape

Two developers described the same escape on DeepSeek's own discussion board before the CVE existed:

The second report also noted that the project had no security policy file and no private way to report a flaw. The project still has no security policy file.

The release that carried the fix lists it among routine changes, as removing an old transport and requiring "one-time-token authentication for network access," with no security notice and no mention of the CVE.

Final Thoughts

The DeepSeek Harness sandbox escape is a significant security concern for developers using AI coding agents. It highlights the challenges of securing AI agents that have access to a shell and network resources.

Key takeaways:

If your organization uses AI coding agents and needs assistance with security assessments or AI governance, contact SystemLogicIT for expert guidance.

SL
SystemLogicIT Team
AI Security & Development Experts
Helping organizations secure AI coding agents, development tools, and software supply chains.