PyPI: mindsdb

CVE-2024-45853

Safety vulnerability ID: SFTY-20240912-83055

Safety legacy ID: pyup.io-73319

MindsDB affected versions contain a critical security vulnerability in the 'inhouse' model functionality. Malicious actors can exploit this flaw to execute arbitrary code on the server during prediction tasks. The vulnerability stems from unsafe deserialization of untrusted data in the BYOM (Bring Your Own Model) feature. Attackers who successfully upload a compromised 'inhouse' model can trigger the exploit when the system uses the model for predictions. This security issue poses a significant risk to server integrity and data confidentiality. Users are advised to update to a patched version or implement alternative serialization methods immediately.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

MindsDB Deserialization of Untrusted Data vulnerability

Advisory

MindsDB affected versions contain a critical security vulnerability in the 'inhouse' model functionality. Malicious actors can exploit this flaw to execute arbitrary code on the server during prediction tasks. The vulnerability stems from unsafe deserialization of untrusted data in the BYOM (Bring Your Own Model) feature. Attackers who successfully upload a compromised 'inhouse' model can trigger the exploit when the system uses the model for predictions. This security issue poses a significant risk to server integrity and data confidentiality. Users are advised to update to a patched version or implement alternative serialization methods immediately.

Affected Package

Affecting mindsdb package, versions>=23.10.2.0

Also affects

---

How to Fix

Upgrademindsdbto0.6.5or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more