CVE-2024-45846
Python vulnerability analysis and mitigation

Overview

An arbitrary code execution vulnerability exists in versions 23.10.3.0 up to 24.7.4.1 of the MindsDB platform, when the Weaviate integration is installed on the server. The vulnerability was discovered and disclosed on September 12, 2024, affecting the MindsDB platform's Weaviate integration component. If a specially crafted 'SELECT WHERE' clause containing Python code is run against a database created with the Weaviate engine, the code will be passed to an eval function and executed on the server (HiddenLayer Advisory, NVD).

Technical details

The vulnerability exists inside the select function of the mindsdb/integrations/handlers/weaviatehandler/weaviatehandler.py file in the Weaviate integration. The issue stems from an unprotected eval function that processes embedding vector filters in 'SELECT WHERE' clauses. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. It is categorized as CWE-95: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') (HiddenLayer Advisory).

Impact

The vulnerability allows an authenticated attacker to execute arbitrary Python code on the machine where the MindsDB instance is running. This could potentially lead to complete system compromise, as the attacker would have the ability to execute any code within the context of the MindsDB application (HiddenLayer Advisory).

Mitigation and workarounds

The vulnerability was addressed in version 24.7.4.1 of MindsDB, where the use of 'eval' was replaced with 'ast.literal_eval'. Users are advised to upgrade to this version or newer to mitigate the vulnerability (HiddenLayer Advisory).

Community reactions

The vulnerability was initially reported to the vendor on July 12, 2024, and after multiple follow-ups, the vendor responded on September 10, 2024, confirming they had implemented changes to mitigate the reported issues. The public disclosure was made on September 12, 2024 (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

CVE-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 11, 2025
CVE-2025-13780CRITICAL9.1
  • PythonPython
  • pgadmin4
NoYesDec 11, 2025
CVE-2025-67644HIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 11, 2025
CVE-2025-67720MEDIUM6.5
  • PythonPython
  • pyrofork
NoYesDec 11, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 10, 2025

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