CVE-2024-45855
Python vulnerability analysis and mitigation

Overview

A deserialization vulnerability (CVE-2024-45855) exists in MindsDB platform versions 23.10.2.0 and newer. The vulnerability allows a maliciously uploaded 'inhouse' model to execute arbitrary code on the server when using the 'finetune' operation. This vulnerability was discovered and reported by HiddenLayer security researchers (HiddenLayer Advisory).

Technical details

The vulnerability exists within the finetune method of the ModelWrapperUnsafe class in the mindsdb/integrations/handlers/byom_handler/byom_handler.py file. The issue stems from the unsafe use of pickle.loads on custom models built via the Build Your Own Model process. This vulnerability is only exploitable when the BYOM engine is configured to use 'inhouse' instead of the default 'venv' setting. The vulnerability has been assigned a CVSS v3.1 score of 7.1 (HIGH) with vector: AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H and is categorized as CWE-502: Deserialization of Untrusted Data (HiddenLayer Advisory, NVD).

Impact

If successfully exploited, this vulnerability allows authenticated attackers to execute arbitrary code on the server running the MindsDB platform. The impact is particularly severe as it could lead to complete system compromise, including potential data theft, system manipulation, or service disruption (HiddenLayer Advisory).

Mitigation and workarounds

The vulnerability was addressed in July 2024 with updates to the project Github repository in version v24.7.4.1. Users are advised to upgrade to the latest version of MindsDB. Additionally, ensuring that the BYOM engine remains set to its default 'venv' setting rather than 'inhouse' can help prevent exploitation (HiddenLayer Advisory).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-5882-5rx9-xgxpCRITICAL10
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
CVE-2026-23949HIGH8.6
  • PythonPython
  • jaraco.context
NoYesJan 20, 2026
GHSA-vx9w-5cx4-9796HIGH8.6
  • PythonPython
  • crawl4ai
NoYesJan 16, 2026
CVE-2026-23535HIGH8
  • PythonPython
  • wlc
NoYesJan 16, 2026
CVE-2026-23490HIGH7.5
  • PythonPython
  • fence-agents-intelmodular
NoYesJan 16, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management