CVE-2026-137056: DeepSeek-Reasonix before 2.53.0 Command Execution via Auto-Approved git blame
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
DeepSeek-Reasonixto a version that resolves this vulnerability.Fixed in 2.53.0
Event History
Frequently Asked Questions
Who is exposed to exploitation?
Users are exposed when they use a repository in which an attacker can plant a diff textconv driver through .gitattributes and .git/config, and git blame is invoked against that repository. The invocation may result from prompt injection or routine use.
What must an attacker do to trigger command execution?
The attacker needs to arrange for a malicious diff textconv driver and cause git blame to run. The vulnerable shellsafe classifier treats git blame and git whatchanged as read-only, allowing the command to run without user approval.
What can an attacker access or do after successful exploitation?
Commands run with the affected user's privileges. This can expose stored provider API keys and session history, and the stated impact includes compromise of confidentiality, integrity, and availability.
Which version addresses the issue?
Upgrade to DeepSeek-Reasonix 2.53.0 or later. Versions before 2.53.0 are affected.