CVE-2024-45847: MindsDB Eval Injection Vulnerability Leading to Arbitrary Code Execution

mindsdb Updated 07 Jul 2026

Summary

07/07/2026
Yes i
High
8.8

CVE-2024-45847: MindsDB Eval Injection vulnerability. Affects mindsdb versions >= 23.11.4.2, < 24.7.4.1. Fixed in 24.7.4.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

MindsDB is an open-source platform that simplifies the integration of machine learning into applications by allowing users to create and manage machine learning models directly within databases. It provides various integrations to enhance its functionality, making it a powerful tool for developers. However, certain versions of MindsDB are vulnerable to an Eval Injection vulnerability, which can lead to severe security risks if exploited.

Vulnerability Detail

An arbitrary code execution vulnerability exists in versions 23.11.4.2 up to 24.7.4.1 of the MindsDB platform. This vulnerability arises when specific integrations are installed on the server. If an attacker executes a specially crafted 'UPDATE' query containing Python code against a database created with the affected integration engine, the code will be passed to an eval function and executed on the server. This can lead to unauthorized access and control over the server, potentially compromising sensitive data and system integrity.

How To Fix

Latest published version: 26.1.0 as of 22 Oct 2026

pip install --upgrade "mindsdb==26.1.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

24.7.4.1

This is the first release that contains the fix.

pip install --upgrade "mindsdb==24.7.4.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, you can disable the specific integrations that are known to be vulnerable until you can apply the patch. This can help mitigate the risk of exploitation while you prepare for the update.

Conclusion

The MindsDB Eval Injection vulnerability (CVE-2024-45847) poses a significant risk of arbitrary code execution in specific versions of the platform. It is crucial to update to the latest version to mitigate this risk. Utilize available tools like Vulert to monitor and assess your application's vulnerability status.

See every vulnerability recorded for mindsdb →

Share this vulnerability

FAQ

CVE-2024-45847 is a vulnerability in the MindsDB platform that allows for arbitrary code execution through crafted SQL queries.

Versions 23.11.4.2 up to 24.7.4.1 of MindsDB are affected by this vulnerability.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If you cannot update immediately, consider disabling the vulnerable integrations as a temporary workaround to reduce risk.

The CVSS score of this vulnerability is 8.8, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for mindsdb.

How To Fix

Latest published version: 26.1.0 as of 22 Oct 2026

pip install --upgrade "mindsdb==26.1.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

24.7.4.1

This is the first release that contains the fix.

pip install --upgrade "mindsdb==24.7.4.1"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback