# CVE-2024-45846: MindsDB Eval Injection vulnerability

Source: https://junglewise.ai/threats/cve-2024-45846-mindsdb-eval-injection-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-09-12  
License: CC BY 4.0 with a link back

CVE-2024-45846 · Severity: low · CVSS 3.1 · Published 2024-09-12

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. 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.

Technologies: [mindsdb (PyPI)](https://junglewise.ai/threats/technologies/mindsdb). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2024-45846 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-45846 being exploited in the wild.

**How severe is CVE-2024-45846?** Low severity, with a CVSS score of 3.1, published 12 September 2024.

**Which products and versions are affected?** mindsdb (PyPI) ECOSYSTEM:introduced=23.10.3.0,fixed=24.7.4.1.

**Is there a fix for CVE-2024-45846?** Yes. mindsdb (PyPI): upgrade to 24.7.4.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-45846?** Check whether you run mindsdb (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- mindsdb (PyPI): upgrade to 24.7.4.1 or later

  ```sh
  pip install "mindsdb>=24.7.4.1"
  ```


## Affected products

- mindsdb (PyPI) ECOSYSTEM:introduced=23.10.3.0,fixed=24.7.4.1

## Identifiers

- CVE-2024-45846
- GHSA-wcjw-3v6p-4v3r
- PYSEC-2024-77

## Related threats

- [PYSEC-2026-2648 - MindsDB has an Improper Access Control Issue](https://junglewise.ai/threats/cve-2026-7711-mindsdb-has-an-improper-access-control-issue)
- [PYSEC-2026-1628 - MindsDB Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2024-45856-mindsdb-cross-site-scripting-in-web-ui)
- [PYSEC-2026-1629 - MindsDB Eval Injection vulnerability](https://junglewise.ai/threats/cve-2024-45847-mindsdb-eval-injection-vulnerability)
- [MindsDB path traversal in /api/files leading to RCE](https://junglewise.ai/threats/cve-2026-27483-mindsdb-path-traversal-in-api-files-leading-to-rce)
- [MindsDB SSRF via URL validation bypass in File Upload](https://junglewise.ai/threats/cve-2026-2531-mindsdb-ssrf-via-url-validation-bypass-in-file-upload)
