CVE-2026-95183
Received Received - Intake

Prompt Injection in DeepSeek Harness via Context-Compaction

Vulnerability report for CVE-2026-95183, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-16

Last updated on: 2026-10-16

Assigner: MITRE

Description

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-16
Last Modified
2026-10-16
Generated
2026-10-16
AI Q&A
2026-10-16
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
n/a n/a n/a

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability affects DeepSeek Harness (dsh) developer preview, specifically commit c291e796. It involves improper handling of input for LLM prompting, allowing attackers to inject malicious instructions via crafted external content. The context-compaction feature automatically replaces conversation history with a model-generated summary without user notice. The summarizer reproduces parts of the conversation verbatim and preserves injected directives, including shell commands, across compaction sessions.

Detection Guidance

Detecting this vulnerability requires monitoring for unauthorized shell commands or persistent directives in DeepSeek Harness (dsh) summaries. Check logs for unexpected network egress or suspicious process execution. Review generated summary files for verbatim reproduction of injected content, including shell commands or operational requirements.

Impact Analysis

An attacker can embed malicious instructions in external content like web pages, emails, or files. These instructions persist through compaction and may be executed during resumed sessions. While execution may be restricted in some setups, the payload remains preserved. Network egress is unrestricted, enabling silent data exfiltration without user interaction or privileges.

Compliance Impact

This vulnerability could lead to non-compliance with GDPR and HIPAA due to potential unauthorized data exfiltration and lack of input validation. Attackers can embed malicious instructions in external content that persist across sessions, enabling silent data theft without user interaction or privileges. The absence of provenance or trust marking for tool outputs further exacerbates risks of data breaches.

Mitigation Strategies

Disable the context-compaction feature in DeepSeek Harness (dsh) commit c291e796 to prevent persistence of injected prompts. Review and sanitize all external content processed by the system, including web pages, emails, and files, to remove potential malicious directives. Monitor network egress for unusual data transfers as a precaution.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-95183. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart