ConfigPoisoning Vulnerability in DeepSeek-Reasonix Exposes AI Coding Agents to Remote Code Execution

A sleek metallic padlock securing a frayed glowing digital cable set against a dark slate background with subtle studio lighting.

GitLab's Threat Research Group has detailed a high-severity command execution flaw in DeepSeek-Reasonix Studio, a desktop Git client built for pairing with AI coding assistants. Tracked as CVE-2026-102437 and GHSA-grg2-7gc6-36m6, the vulnerability—dubbed ConfigPoisoning—allows malicious code to execute automatically when a developer views a file diff inside an affected repository.

How Git Filter Hooks Bypass Existing Hardening

DeepSeek-Reasonix's Git wrapper previously hard-coded protective flags against common injection vectors, such as passing `–no-ext-diff` and disabling `core.fsmonitor` or `maintenance.auto`. However, it left unhandled the `filter.<driver>.clean` key, which Git invokes to build comparison blobs prior to rendering diffs. Because `.gitattributes` assigns filter drivers per file name, deny-lists targeting static Git configuration keys fail to catch the execution path.

If a repository assigns a file to a custom filter driver in `.gitattributes` and defines a malicious clean command in `.git/config`, opening the file's diff triggers the payload. The command executes once for each side of the comparison. While standard Git clones over HTTPS or SSH do not automatically pull `.git/config`, attackers could deliver poisoned settings through archives, devcontainers, CI caches, or direct manipulation by a prompt-injected coding agent already running with local file privileges.

Patches Available and Scope Across Developer Tools

Maintainers have addressed the flaw in DeepSeek-Reasonix Studio version 2.21.0 and the DeepSeek Reasonix npm package version 1.39.3. Repositories directly hosted on and cloned from GitLab remain unaffected because remote clones strip local configuration files.

GitLab noted that ConfigPoisoning is not isolated to DeepSeek-Reasonix. Multiple AI coding agents inherit repository-level Git configurations when executing commands against workspace directories. Security researchers advised developers of tools that invoke Git subprocesses to avoid using Git's filter machinery directly or to explicitly override filter keys, external diff drivers, and hook paths on every invocation.

AI-generated editorial illustration; not a documentary photograph.

Source: DeepSeek-Reasonix: How a poisoned config can hijack an AI coding agent

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *