HIGH8.8
PYSEC-2026-1629
MindsDB Eval Injection vulnerability
Quick fix
PYSEC-2026-1629 — mindsdb: upgrade to the fixed version with the command below.
pip install --upgrade 'mindsdb>=24.7.4.1'Details
An arbitrary code execution vulnerability exists in versions 23.11.4.2 up to 24.7.4.1 of the MindsDB platform, when one of several integrations is installed on the server. If a specially crafted ‘UPDATE’ query containing Python code is run against a database created with the specified integration engine, the code will be passed to an eval function and executed on the server.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-45847[ADVISORY]
- https://github.com/mindsdb/mindsdb/commit/11a4db792ad36cf704f7307c7602128b17752c80[WEB]
- https://github.com/mindsdb/mindsdb[PACKAGE]
- https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb[WEB]
- https://pypi.org/project/mindsdb[PACKAGE]
- https://github.com/advisories/GHSA-crmg-rp64-5cm3[ADVISORY]