MindsDB CVE-2026-7711
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker sends HTTP request to BYOM handler endpoint
-
DeliveryExploit bypasses authentication in exec function
-
ExploitMalicious model file uploaded to MindsDB storage
-
ExecutionMindsDB executes uploaded model
-
PersistAttacker's payload runs with MindsDB process privileges
-
ImpactArbitrary code execution achieved
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The BYOM handler must be enabled and accessible on the MindsDB instance (non-default but common in ML workflows). Network access to the MindsDB Engine Handler endpoint must be available from the attacker's location-this is typically port 47334 or configurable HTTP/HTTPS ports. No authentication credentials are required due to the bypass vulnerability. The vulnerability specifically affects the exec function's file upload mechanism within proc_wrapper.py, meaning any request that triggers model upload through this function is exploitable. Exploitation does not require user interaction or special configuration beyond having the BYOM handler operational. Uploaded models must subsequently be executed by the MindsDB system (standard workflow) to achieve remote code execution; the file upload itself represents authentication bypass and unrestricted storage, but code execution occurs downstream. |
| Impact | CVSS 5.5 with AV:N/AC:L/PR:N/UI:N indicates remote network access with low complexity and no authentication required, affecting confidentiality, integrity, and availability at low impact. However, the real-world risk is elevated by three critical factors: (1) publicly available exploit code (E:P flag) increases likelihood of weaponization; (2) the vulnerability enables unrestricted file uploads combined with authentication bypass, creating a direct pathway to remote code execution if uploaded models are executed; (3) the vendor's non-response to early disclosure leaves no patch timeline, meaning deployed instances face indefinite exposure. The low CVSS impact scores (L/L/L) underestimate risk because they measure individual system components rather than the cumulative attack chain-file upload combined with model execution equals code execution. This is a real priority despite the moderate CVSS score due to exploit availability, vendor unresponsiveness, and the practical attack path from upload to execution. |
| Exploit ScenarioDerived | An attacker crafts a malicious model file and sends a network request to the MindsDB instance targeting the BYOM handler's file upload endpoint (likely via HTTP/HTTPS to the Engine Handler component). The exploit code bypasses the authentication check in the exec function by manipulating the request parameters or headers. The malicious model file is uploaded to the MindsDB instance without authentication. If the uploaded model is subsequently executed by MindsDB's model inference pipeline (a likely operational scenario), the attacker's payload executes with MindsDB process privileges, potentially allowing data exfiltration or lateral movement within the infrastructure. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 04, 2026
MindsDB versions up to 26.01 allow remote unauthenticated attackers to bypass authentication and perform unrestricted file uploads via manipulation of the exec function in the BYOM (Bring Your Own Model) handler's proc_wrapper.py component. Publicly available exploit code exists, and the vendor has not responded to early disclosure, leaving deployed instances vulnerable to remote code execution through malicious model uploads.
RemediationAI
Upgrade MindsDB to a version newer than 26.01 if a patched release becomes available; however, as of the time of analysis, the vendor has not released a patch or acknowledged the vulnerability. Immediate compensating controls are critical: (1) Restrict network access to MindsDB instances by implementing firewall rules to allow BYOM handler access only from trusted internal networks or specific IP addresses, reducing AV:N to a practical AV:L; (2) Disable the BYOM handler entirely if custom model uploads are not required-this eliminates the attack surface; (3) Implement strict file upload validation at the network level using a Web Application Firewall (WAF) to reject suspicious model upload requests, though this may require model format signatures; (4) Monitor and log all file upload attempts to the BYOM handler and alert on uploads from unauthenticated sources. These controls add operational complexity and may limit legitimate use of custom models, so their application should be risk-weighted against business requirements. Actively monitor MindsDB release notes and security advisories for patches; if the vendor remains unresponsive, consider migrating to alternative solutions without known authentication bypass vulnerabilities.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MindsDB's BYOM (Bring Your Own Model) handler is a component within the Engine Handler that enables integration of custom machine learning models. The vulnerability exists in the exec function of mindsdb/integrations/handlers/byom_handler/proc_wrapper.py, which processes requests to execute or upload models. The root cause is classified as CWE-284 (Improper Access Control), indicating insufficient authentication or authorization checks in the file upload mechanism. This allows attackers to bypass authentication protections designed to restrict who can upload models to the MindsDB instance, effectively treating file uploads as unrestricted.
Know when the next one hits your stack
- 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:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
A weakness has been identified in MindsDB up to 26.01. This impacts the function exec of the file mindsdb/integrations/handlers/byom_handler/proc_wrapper.py of the component Engine Handler. Executing a manipulation can lead to unrestricted upload. The attack can be executed remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB