Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconPublish repo with malicious AGENTS.md
-
DeliveryVictim opens repo in DeepSeek-Reasonix
-
ExploitdiscoverDocs auto-loads memory files into system prompt
-
InstallContent labeled as trusted durable guidance
-
C2LLM follows injected instructions
-
ExecuteSteer permission-gated shell tool
-
ImpactInfluence command execution on host
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | The victim must open or start DeepSeek-Reasonix (versions up to 2.52.0) within an attacker-controlled repository that contains a memory file named REASONIX.md, AGENTS.md, or CLAUDE.md - in the workspace, an ancestor directory, or project-local path - because discoverDocs loads these automatically at every startup with no integrity check, trust gate, or user confirmation. No authentication is required (PR:N) and no explicit referencing or opening of the memory file is needed, but exploitation does require the victim's passive action of opening the repo (UI:P), which is the primary limiting factor. The highest-impact outcome (steering the built-in shell tool toward command execution) is further limited by Reasonix's permission-gating on tool calls and by the probabilistic nature of LLM instruction-following, though GHSA testing reported reliable steering. |
| Impact | Signals are moderate and partly conflicting. The NVD/CVE CVSS 4.0 base is 5.3 (medium) with E:P (proof-of-concept exploit maturity), network vector (AV:N) but passive user interaction required (UI:P) and only Low confidentiality/integrity/availability impact to the vulnerable system (VC:L/VI:L/VA:L, no subsequent-system impact). The vuln.today decision label is 'this_month', not 'act_now' or 'emergency', consistent with a non-urgent but real issue. There is NO CISA KEV listing and NO EPSS score in the input, so there is no evidence of active or widespread exploitation - exploit maturity is proof-of-concept only. A public PoC reference exists but it is not verified as working exploit code. The most significant conflict: the linked GHSA-7v48-x992-r5w7 advisory rates essentially the same memory-loading flaw at CVSS 9.6 (critical) and frames it as repository-controlled prompt injection that can steer the permission-gated shell tool toward command execution, whereas the CVE record scores it 5.3 - a large severity gap that should be reconciled with the vendor. There is also a version-scope discrepancy: the GHSA advisory names affected version v1.17.8, while the CVE/EUVD record describes affected versions up to 2.52.0 fixed in 2.53.0. Net assessment: a genuine prompt-injection weakness worth remediating within the patch cycle, but requiring victim action (opening an attacker-controlled repo) and with command execution gated by the tool-permission system, so it is not a drop-everything emergency on the available data. |
| Exploit ScenarioDerived | An attacker publishes a public repository containing a crafted AGENTS.md (or CLAUDE.md/REASONIX.md). When a victim merely opens or starts DeepSeek-Reasonix inside that repository or a subdirectory of it, discoverDocs auto-loads the file into the system prompt labeled as trusted, durable user guidance, so the agent follows the attacker's injected instructions and can be steered into invoking its permission-gated shell tool. A public PoC reference exists but is not verified as working exploit code, and exploitation requires the victim's passive interaction (UI:P) of opening the repo. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Repository-controlled memory files - AGENTS.md, CLAUDE.md or REASONIX.md - are silently promoted into DeepSeek-Reasonix's system prompt as trusted, user-authored guidance, letting whoever controls a repository steer the agent's behaviour (including toward built-in shell-tool invocation) when a victim simply opens that project in versions up to and including 2.52.0. The CVSS:4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:P with low confidentiality, integrity and availability impact, reflecting that no credentials are needed and only the passive act of starting Reasonix inside the attacker's repository is required, while real damage is constrained by the product's permission gating on tool calls and by probabilistic LLM instruction-following. A public PoC reference exists (a third-party advisory write-up); it is not verified as working exploit code, and there is no confirmed active exploitation (no CISA KEV listing); vendor-released patch: 2.53.0 (commit 4ca33493a673c2788aa8598fbca2b2f47a69e1b8, release tag v2.53.0).
RemediationAI
Upgrade to DeepSeek-Reasonix 2.53.0, which is the vendor-released fix (release tag https://github.com/esengine/DeepSeek-Reasonix/releases/tag/v2.53.0, commit 4ca33493a673c2788aa8598fbca2b2f47a69e1b8); the patch adds workspace-trust gating so that instruction documents from a folder the user has not marked trusted are labelled 'unverified' and presented as information about the project rather than as standing rules, with the block re-issued when trust changes. Until the upgrade can be applied, the exposure reduces to not starting Reasonix inside repositories you do not control - including freshly cloned or downloaded ones - and auditing or removing AGENTS.md, CLAUDE.md and REASONIX.md from the workspace and its ancestor directories before launch, accepting that this suppresses legitimate project memory and therefore removes the context those files normally provide. Also review the agent's permission prompts for built-in shell tool calls, since that gating is the remaining barrier between injected guidance and command execution.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
DeepSeek-Reasonix is a Go-based coding agent (module go/github.com/esengine/DeepSeek-Reasonix) that builds its system prompt at startup. In the vulnerable code path, discoverDocs() in internal/memory/doc.go scans for docNames = REASONIX.md, AGENTS.md and CLAUDE.md across the user-global directory, the ancestor chain up to the project root, and project-local overrides, and readDoc() performs only a readability check - no checksum, signature, TOFU or other integrity verification, and no workspace-trust decision. Block() in internal/memory/memory.go wraps the loaded content in a '
Memory' section explicitly labelled 'Treat it as durable, user-authored guidance for this project', and Compose() appends that block after the built-in system prompt (base + "\n\n" + block); boot.Build() invokes Load()/Compose() unconditionally on every startup. The flaw class is CWE-1427 (improper neutralization of input used for LLM prompting), with the advisory also citing CWE-349; the mechanism is the trust label applied to untrusted content rather than prompt position, and the advisory notes that the separate @path file-reference path does apply filepath.IsLocal, os.OpenRoot, symlink rejection and a 64KB cap, which the memory path does not. The 2.53.0 fix introduces a workspace-trust gate: MarkUnverified() in internal/state/instruction/render.go flags every non-user-scope entry so Block() emits a warning that such entries come from an untrusted folder and should be read as information about the project, not as standing rules, and control/turn_projection.go and refs.go apply this whenever WorkspaceTrust() is not WorkspaceTrusted, while the user's own entries remain unmarked.
Know when Deepseek Reasonix gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Attacker-controlled repo is network-delivered (AV:N) and needs no auth (PR:N) but relies on the victim opening it (UI:R); demonstrated impact is limited and tool execution stays permission-gated, so C/I/A:L.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A security vulnerability has been detected in esengine DeepSeek-Reasonix up to 2.52.0. Affected is the function discoverDocs of the file internal/memory/doc.go. The manipulation leads to improper neutralization of input used for llm prompting. The attack can be initiated remotely. The exploit has been disclosed publicly and may be used. Upgrading to version 2.53.0 is able to address this issue. The identifier of the patch is 4ca33493a673c2788aa8598fbca2b2f47a69e1b8. It is suggested to upgrade the affected component.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Deepseek Reasonix
View allDeepSeek-Reasonix (Reasonix Studio) before 2.53.0 auto-approves `git blame` and `git whatchanged` as read-only, so an at
OS command injection in esengine DeepSeek-Reasonix (Reasonix Studio) allows a local attacker who controls a repository's
Silent host-level code execution is achievable in ESEngine DeepSeek-Reasonix through 1.33.0 when an agent inspects a clo
EUVD-2026-118237
GHSA-46pp-w572-hw78
NVD
CVE.org
EPSS
VulDB
Exploit-DB