IT SBIT Services
Schneeberger
DEEN
CVE tracker

DeepSeek Harness (dsh): Prompt injection via context compaction

CVE-2026-95183High 8.8

← All vulnerabilities

Summary

DeepSeek Harness (dsh), an AI coding-agent runtime, replaces conversation history during context compaction with a model-generated summary that becomes the entire context of the resumed session. Instructions injected into external content such as web pages, emails or repository files can be reproduced verbatim in this summary and carried into the resumed session as established tasks. Under the conditions described, an attacker could use this for silent network exfiltration of workspace data, since network egress of the resumed session is unrestricted.

Affected

  • DeepSeek Harness (dsh), developer preview, commit c291e796 (2026-09)
  • Package: @deepseek-ai/dsh-compaction-basic
  • No release version range known.

Fixed in

Unknown.

Workaround

  • No vendor-documented mitigation found.
  • Limit which external content agents can ingest (web pages, repositories, documents, tool output).
  • Keep human approval prompts enabled.
  • Do not treat the sandbox as a security boundary; it does not prevent network egress.

Exploitation

  • No exploitation reported in the wild.
  • No public proof of concept confirmed; a PoC repository is referenced in the CVE record.
  • CISA SSVC: Exploitation none, Automatable no, Technical Impact total.

Our recommendation

  • Inventory whether dsh is installed on workstations or CI runners.
  • Pause or restrict use of dsh with untrusted repositories, web content or emails until a vendor fix is confirmed.
  • Remove credentials and restrict shell and network access for agents that process untrusted content.
  • Monitor outbound network traffic from agent hosts.
  • Verify the NVD status and the vendor advisory for a fixed version.

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 31 Oct 2026, 16:02.

Original description (NVD)

An issue in the context-compaction feature of DeepSeek Harness (dsh) commit c291e796 allows attackers to execute a prompt injection attack via crafted external content.

NVD references (2)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.