Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker plants malicious .mcp.json in public repository
-
DeliveryVictim is socially engineered to clone attacker-controlled project
-
ExploitVictim invokes MiniCode-Python 0.1.0 in project directory
-
Executionconfig.py auto-loads project .mcp.json without user consent
-
Persistsubprocess.Popen executes injected MCP server command
-
ImpactArbitrary OS commands run as victim developer user
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Command injection prevention
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the victim to clone or open an attacker-controlled project directory containing a crafted |
| Impact | The vendor-assigned CVSS 4.0 score of 1.3 reflects compounding mitigating factors: high attack complexity (AC:H) requiring social engineering, passive user interaction (UI:P) meaning the victim must actively run MiniCode in the malicious project, and conservative low-impact ratings (VC:L/VI:L/VA:L). The assigned low impact metrics appear inconsistent with the actual capability unlocked by successful exploitation - arbitrary OS command execution via |
| Exploit ScenarioDerived | An attacker publishes a public GitHub repository containing a crafted |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 22, 2026
Command injection in MiniCode-Python 0.1.0 allows a remote attacker to execute arbitrary OS commands on a developer's machine by embedding malicious MCP server definitions in a project-level .mcp.json file that the tool automatically loads via subprocess.Popen in minicode/config.py. Successful exploitation requires the victim to clone or open an attacker-controlled project and invoke MiniCode-Python within it, making this a developer supply-chain style attack with high complexity and passive user interaction requirements. A public proof-of-concept is confirmed per CVSS 4.0 supplemental metric E:P and the referenced GitHub Gist; the vendor has released version 0.1.0-rc1 to resolve the issue.
RemediationAI
Upgrade MiniCode-Python to version 0.1.0-rc1, available at https://github.com/QUSETIONS/MiniCode-Python/releases/tag/v0.1.0-rc1 and addressed by commit 9d868dc2550f426c6ddf8ee98f30ffe450ca5e32. After upgrading, project-level .mcp.json files are disabled by default and require explicit opt-in via the --trust-project-mcp CLI flag or MINI_CODE_TRUST_PROJECT_MCP=1 environment variable - only set this flag when working with trusted, reviewed project repositories. As an interim workaround for environments that cannot upgrade immediately, avoid invoking MiniCode-Python 0.1.0 within any untrusted or unreviewed project directory, and manually audit the contents of any .mcp.json files in project roots before use; this workaround is manual, error-prone, and should not substitute for patching. No additional compensating controls were identified in the available data.
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
MiniCode-Python is a Python AI coding assistant that integrates external tools via the Model Context Protocol (MCP). MCP server entries in project-level .mcp.json files define command strings that the tool launches as subprocesses. Prior to 0.1.0-rc1, the load_effective_settings function in minicode/config.py unconditionally called read_mcp_config_file on the project .mcp.json path and passed the resulting server command definitions to subprocess.Popen for execution - with no user consent gate and no sanitization. CWE-77 (Improper Neutralization of Special Elements used in a Command) captures this root cause: externally supplied configuration data from a cloned project flowed directly into an OS command executor. The security comment added in the fix commit explicitly warns: 'A cloned project could define a malicious MCP server (e.g. curl | sh).' The fix restructures load_effective_settings and load_runtime_config to require explicit opt-in via --trust-project-mcp CLI flag or MINI_CODE_TRUST_PROJECT_MCP=1 environment variable before loading any project-level MCP configuration. No CPE string was supplied in the input data; affected version is confirmed as 0.1.0 from ENISA EUVD-2026-47592 and the vendor GitHub commit history.
Know when Python 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:H/AT:N/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Arbitrary OS command execution via subprocess.Popen warrants C:H/I:H/A:H; social engineering to open malicious project drives AC:H and UI:R, with no attacker privileges needed.
Primary rating from Vendor (vuldb).
CVSS VectorVendor: vuldb
DescriptionCVE.org
A vulnerability was determined in QUSETIONS MiniCode-Python 0.1.0. This vulnerability affects the function subprocess.Popen of the file minicode/config.py of the component Project File Handler. Executing a manipulation can lead to os command injection. The attack may be launched remotely. A high complexity level is associated with this attack. It is stated that the exploitability is difficult. The exploit has been publicly disclosed and may be utilized. Upgrading to version 0.1.0-rc1 is able to resolve this issue. This patch is called 9d868dc2550f426c6ddf8ee98f30ffe450ca5e32. 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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t
BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser
pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi
The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python
BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica
OpenSSL before 0.9.8za, 1.0.0 before 1.0.0m, and 1.0.1 before 1.0.1h does not properly restrict processing of ChangeCiph
pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.
Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301
In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse
Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne
EUVD-2026-47592
GHSA-6mqg-64h7-88w3
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB