Skip to main content

DeepSeek-Reasonix CVE-2026-137056

| EUVDEUVD-2026-135712 HIGH
Incomplete List of Disallowed Inputs (CWE-184)
2026-11-25 VulnCheck GHSA-87w8-5xwj-rrfw
8.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Deliver poisoned Git repository to victim
  2. Delivery
    Plant textconv driver in .gitattributes and .git/config
  3. Exploit
    Agent runs auto-approved 'git blame' (no prompt)
  4. Execution
    git executes attacker command as the user
  5. Impact
    Exfiltrate provider API keys and session history

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Input validation completeness
Exploitation Conditions

The victim must open or operate within an attacker-controlled Git repository whose own configuration defines a program-running key - specifically a .gitattributes mapping (*.c diff=evil) plus a .git/config entry diff.evil.textconv=<command>. Execution triggers when the Reasonix agent runs git blame <file> (textconv applies BY DEFAULT, no flag required), reachable via prompt injection or routine use; git blame --no-textconv does not fire the driver. The root cause is that the shellsafe classifier omits git blame/git whatchanged from its ext-diff/textconv guard, auto-approving them as read-only in every approval mode (read-only/workspace/full) with no user prompt or audit signal. Affected: all versions < 2.53.0, CLI and desktop, all platforms (Windows has no OS-level bash sandbox; macOS/Linux sandboxes do not strip git config). Limiting factor (UI:P): the attack is not unauthenticated-remote against a service - it requires the user to engage an untrusted repository; it does not self-propagate.

Impact

This is a genuine priority, not an inflated high-CVSS issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, VC/VI/VA all High, score 8.7) describes a permission-boundary bypass that yields arbitrary command execution with the user's full privileges, and the GHSA advisory backs it with a complete, empirically-verified proof of concept (6/6 differential assertions pass; live-reproduced on v1.39.6 and v1.39.7). The vuln.today decision label is 'this_week' and the report comes from VulnCheck plus an independent reporter, so urgency is corroborated by multiple sources. Countervailing signals: this is NOT in CISA KEV and no EPSS score is supplied, so there is no evidence of active, widespread exploitation - exploitation status is 'a verified public PoC exists,' which is distinct from in-the-wild use. The one real friction is UI:P: exploitation needs the victim to open and operate on an attacker-controlled repository, so it is not wormable/unauthenticated-against-a-listener despite AV:N. Note a CWE discrepancy across sources (input lists CWE-184; the GHSA lists CWE-78/CWE-862) - the GHSA classification better matches the mechanism. Net: high-priority, patch within the vendor's stated 'this_week' window.

Exploit ScenarioDerived

An attacker publishes or shares a poisoned Git repository containing a crafted .gitattributes (*.c diff=evil) and a .git/config textconv entry (diff.evil.textconv=<command>). When the Reasonix AI agent - steered by prompt injection or just routine debugging - runs an ordinary git blame <file>, git applies the textconv filter by default (no flag needed) and executes the attacker's command with the user's privileges. A full working PoC is published in the GHSA advisory and was empirically verified by the researcher, so no exploit development is required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.9% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 25, 2026

DeepSeek-Reasonix (Reasonix Studio) before 2.53.0 auto-approves git blame and git whatchanged as read-only, so an attacker-controlled repository can define a textconv driver in .gitattributes plus .git/config and have an arbitrary command executed with the user's privileges when the agent simply runs git blame <file> - textconv applies by default, no flag required. Affected are all versions up to and including 1.39.7, CLI and desktop, on every platform; the trigger is reachable through prompt injection or routine debugging, and because the command is classified as permission-safe no approval prompt, warning, or audit signal fires. A working proof-of-concept reproduction (marker-file execution via plain git blame) is publicly documented in the vendor advisory; no confirmed active exploitation (CISA KEV) is recorded, and the vendor has released a fix in 2.53.0.

RemediationAI

Upgrade to DeepSeek-Reasonix 2.53.0, the vendor-released patch (commit 191d1e17a15021818f0c70fe47b7b0011f0958ff, release https://github.com/esengine/DeepSeek-Reasonix/releases/tag/v2.53.0); the 1.x line is no longer maintained, so installations on 1.39.x must move to 2.x rather than wait for a backport. After the fix, the agent's git content reads (diff, log, show, blame, whatchanged, grep, status, ls-files, cat-file, describe, stash) are no longer auto-approved when the repository's own configuration defines a program-running key (core.fsmonitor, a textconv or filter, an external diff, or a gpg program) - they prompt first and name the key, and reads that cannot be tied to an inspectable repository are also questioned; note the vendor states plan mode still counts such reads as reads for its own accounting, tracked as a separate issue. The advisory's own confirmed compensating control for the executing vector is git blame --no-textconv, which does not fire the textconv driver, but that is not a substitute for upgrading since the classifier gap also affects git whatchanged and other program-running keys. Full details at https://github.com/esengine/DeepSeek-Reasonix/security/advisories/GHSA-m46m-j2rc-6ff4.

Affected VersionsENISA

DeepSeek-Reasonix 0 <2.53.0
reasonix 0 <2.53.0

Affected Packages

euvd deepseek_reasonix fix: 2.53.0
euvd reasonix fix: 2.53.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Reasonix is a Go-based AI coding agent whose shellsafe classifier (internal/shellsafe/effect.go) is the single source of truth for which shell commands may run without user approval, consulted by the permission layer at internal/permission/bash_readonly.go:34 via ClassifyBash(subject).IsPermissionReader(). The git handler correctly guards diff, show, and log against --ext-diff and --textconv - the flags that make git execute external diff or textconv helpers declared in a repository's .gitattributes - returning an unknown code effect in that case. However blame and whatchanged are listed in readOnlyPrefixes["git"] but absent from that guarded switch, so they fall through to the generic allowlist at line 298 and are returned as knownReader with no ext-diff/textconv check. This is a CWE-184 incomplete-list/allowlist-coverage defect (the advisory also maps it to CWE-78 and CWE-862): the dangerous capability is not the git subcommand itself but the repository-supplied configuration that turns a read into program execution. Git applies textconv during git blame by default, so git blame a.c against a repo containing *.c diff=evil and diff.evil.textconv=<cmd> executes the attacker's command; git blame --no-textconv is confirmed not to fire the driver. The same classifier gap exists for git whatchanged, though the reporter's testing on git 2.56.0.windows.1 found its sink did not actually fire, so blame is the confirmed executing vector. The fix moves detection to internal/platform/gitcmd/programs.go, which enumerates repository-scope program-running keys (core.fsmonitor, diff.external, diff.*.textconv, diff.*.command, filter.*.clean|smudge|process, gpg.program, gpg.*.program) and forces an approval prompt naming the key; the user's global and system settings are deliberately not listed.

Know when 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

Vendor (VulnCheck) PRIMARY 8.7 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 8.8 HIGH

Poisoned repo delivered over network (AV:N) needs no auth to the agent (PR:N) but requires the user to open it and trigger git blame (UI:R); textconv RCE as the user gives full C/I/A with unchanged scope.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

DeepSeek-Reasonix before 2.53.0 contains a command execution vulnerability that allows attackers to run commands without user approval because the shellsafe classifier treats git blame and git whatchanged as read-only. Attackers can plant a diff textconv driver in .gitattributes and .git/config so that git blame, triggered via prompt injection or routine use, executes attacker-chosen commands with the user's privileges, exposing stored provider API keys and session history.

Technical POC Analysis

The bug is an allowlist-coverage gap (CWE-184 incomplete list; the advisory itself files it under CWE-78 improper neutralization plus CWE-862 missing authorization) in the shellsafe command classifie…

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A high-severity flaw in DeepSeek-Reasonix (Reasonix Studio) versions up to 1.39.7 allows a malicious repository to execute arbitrary commands on a developer's machine whenever the AI agent runs a routine git blame - silently, with no approval prompt or audit trail. Because the trigger is classified as a safe read-only action and can be reached through prompt injection, any engineer who opens an untrusted repo with the agent is exposed. The vendor has released a fix in 2.53.0.

Business Impact: High
Compensating Controls

Apply vendor patch (upgrade to 2.53.0 or later); until then, avoid running the agent against untrusted repositories and manually inspect .gitattributes/.git/config for textconv drivers.

Threat Intelligence Overview

EPSS Score
0.9%
Top 44% exploitable
Prevalence
Low
niche open-source AI coding agent (esengine/DeepSeek-Reasonix), limited user base
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.9%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy