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

CVE-2026-101078: deepseek-harness Privilege Escalation Flaw

CVE-2026-101078 is a privilege escalation vulnerability in deepseek-ai deepseek-harness affecting versions up to 0.1.7-rc.2. The flaw in the Landlock Backend allows improper isolation. This article covers technical details, affected versions, impact assessment, and mitigation strategies.

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

CVE-2026-101078 affects deepseek-ai/deepseek-harness up to version 0.1.7-rc.2. The flaw resides in an unknown function within packages/sandbox/sandbox-local/src/profiles.ts, part of the Landlock Backend sandbox component. The weakness is classified as improper isolation or compartmentalization [CWE-653] and allows a local actor to weaken the intended sandbox boundary. The exploit details have been publicly disclosed. According to the VulDB entry, the vendor was contacted prior to disclosure but did not respond.

Critical Impact

A local, low-privileged user can bypass sandbox isolation controls in the Landlock Backend, undermining the confidentiality, integrity, and availability guarantees of the deepseek-harness sandbox profile.

Affected Products

  • deepseek-ai/deepseek-harness versions up to and including 0.1.7-rc.2
  • Component: Landlock Backend (packages/sandbox/sandbox-local/src/profiles.ts)
  • Deployments relying on the local sandbox profile for workload isolation

Discovery Timeline

  • 2026-09-28 - CVE-2026-101078 published to the National Vulnerability Database (NVD)
  • 2026-09-28 - Last updated in NVD database

Technical Details for CVE-2026-101078

Vulnerability Analysis

The vulnerability resides in the Landlock Backend profile definitions used by deepseek-harness to construct local sandbox environments. Landlock is a Linux kernel security feature that restricts filesystem actions through unprivileged policies. The sandbox profile logic in profiles.ts fails to enforce proper isolation boundaries. As a result, operations expected to remain confined within the sandbox can affect resources outside its intended scope. The flaw requires local access and low privileges, with no user interaction needed. Successful exploitation yields limited impact on confidentiality, integrity, and availability within the sandboxed scope.

Root Cause

The root cause is improper isolation or compartmentalization [CWE-653]. The Landlock profile declared in packages/sandbox/sandbox-local/src/profiles.ts does not sufficiently constrain mount-related operations. Public disclosure materials describe the issue as a mount-escape pattern, where sandboxed code can leverage filesystem mount semantics to reach paths the profile intended to block. The sandbox treats a single defensive mechanism as sufficient, violating the defense-in-depth premise behind compartmentalization.

Attack Vector

Exploitation requires local access with low privileges on a host running an affected deepseek-harness release. An attacker executes code inside the Landlock-backed sandbox and triggers the gap in profile enforcement to interact with filesystem resources outside the intended boundary. The attack does not require user interaction. See the published GitHub Security Vulnerability Document and the VulDB CVE-2026-101078 Entry for the full disclosure narrative.

No verified proof-of-concept code is reproduced here. Refer to the linked disclosure for technical reproduction steps.

Detection Methods for CVE-2026-101078

Indicators of Compromise

  • Presence of deepseek-harness versions <= 0.1.7-rc.2 with the Landlock Backend enabled
  • Unexpected mount, bind, or pivot_root syscalls originating from processes launched under the sandbox profile
  • Filesystem access events on paths outside the declared Landlock ruleset scope

Detection Strategies

  • Audit the sandbox profile declared in packages/sandbox/sandbox-local/src/profiles.ts and compare against the intended isolation policy
  • Enable Linux audit rules on mount, umount2, pivot_root, and unshare syscalls for processes spawned by the harness
  • Correlate sandboxed process trees against filesystem access patterns to flag writes or reads outside the expected working directory

Monitoring Recommendations

  • Forward Linux audit and sandbox telemetry to a centralized logging pipeline for retrospective analysis
  • Alert on child processes of deepseek-harness that perform namespace or mount operations
  • Track installed deepseek-harness versions across build and runtime hosts to confirm patch status

How to Mitigate CVE-2026-101078

Immediate Actions Required

  • Inventory all systems running deepseek-ai/deepseek-harness and identify any instance at version 0.1.7-rc.2 or earlier
  • Restrict local access to hosts running the affected sandbox to trusted users only
  • Disable the Landlock Backend profile where feasible until a fixed release is adopted

Patch Information

At publication, no vendor-issued patch is referenced in the NVD data. The vendor did not respond to the pre-disclosure contact noted in the VulDB record. Monitor the VulDB Vulnerability #410949 entry and the deepseek-ai/deepseek-harness repository for an upstream fix, then upgrade once a corrected release is published.

Workarounds

  • Run deepseek-harness inside an additional isolation layer such as a container with a restrictive seccomp profile or a dedicated virtual machine
  • Mount sensitive host paths read-only or omit them entirely from systems that execute sandboxed harness workloads
  • Apply mandatory access controls such as SELinux or AppArmor to constrain the harness process beyond what Landlock enforces
bash
# Verify installed deepseek-harness version and remove vulnerable releases
npm ls @deepseek-ai/deepseek-harness
npm uninstall @deepseek-ai/deepseek-harness

# Example AppArmor confinement to supplement the Landlock profile
sudo aa-enforce /etc/apparmor.d/deepseek-harness

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.