# CVE-2024-45848: mindsdb RCE — Fixed in 24.7.4.1

🐍

🐍 PyPI

Not in CISA KEV

HIGH severity

# CVE-2024-45848 — mindsdb

HIGH [Fix: mindsdb/mindsdb@11a4db7](https://github.com/mindsdb/mindsdb/commit/11a4db792ad36cf704f7307c7602128b17752c80)

CVE-2024-45848 is a high-severity (CVSS 8.8) CWE-95 vulnerability in mindsdb. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for mindsdb — see the affected versions and patch details below.

MindsDB Eval Injection vulnerability

Also known as[GHSA-9gq6-6936-885w](/vulnerability/GHSA-9gq6-6936-885w)PYSEC-2024-78

Published

Sep 12, 2024

Updated

Oct 28, 2026

Affected

1 pkg

Patched

1 / 1

Exploits

1 known

Exploitation data as of Nov 5, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

## Exploitation Status

### Proof-of-concept exploit code exists

-   CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
-   A successful exploit gives an attacker total control of the affected component, not partial access.

Exploitation and automatability from CISA’s SSVC triage for CVE-2024-45848.

## EPSS Exploitation Probability

[via FIRST.org ↗](https://www.first.org/epss/)

0.9%probability of exploitation in next 30 days

Lower Risk0.00%

Lower risk than most CVEs58th percentile — riskier than 58% of all scored CVEsHighest risk

0.00%0.45%0.90%1.35%0.4%0.9%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from [FIRST.org EPSS](https://www.first.org/epss/).

## How urgent is this, really

## Where this sits among everything scored

## Real-World Exposure

1 pkg affected

🐍`mindsdb`

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects PyPI packages — download data is not available via public APIs for these ecosystems.

## Description

An arbitrary code execution vulnerability exists in versions 23.12.4.0 up to 24.7.4.1 of the MindsDB platform, when the ChromaDB integration is installed on the server. If a specially crafted ‘INSERT’ query containing Python code is run against a database created with the ChromaDB engine, the code will be passed to an eval function and executed on the server.

## Affected Packages

1 total 1 fixed

Ecosystem

Package

Vulnerable range

Fix

🐍PyPI

`mindsdb` 

≥ 23.12.4.0&&< 24.7.4.1

24.7.4.1`pip install --upgrade 'mindsdb==24.7.4.1'`

## Affected Products

1 product · 1 configurations

Application

`mindsdb`mindsdb

≥ 23.12.4.0 && < 24.7.4.1

range

Exploits & PoCs

1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

[

An arbitrary code execution vulnerability exists in versions 23.12.4.0 u…

hiddenlayer.comNVDSep 2024

](https://hiddenlayer.com/sai-security-advisory/2024-09-mindsdb/)

## Detection & mitigation playbook

Open-source dependency

1.  ### Detect
    
    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for mindsdb, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
    
2.  ### Fix
    
    Update mindsdb to 24.7.4.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-45848 is resolved across your whole dependency graph.
    
3.  ### Workarounds
    
    Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
    

## Frequently Asked Questions

An arbitrary code execution vulnerability exists in versions 23.12.4.0 up to 24.7.4.1 of the MindsDB platform, when the ChromaDB integration is installed on the server. If a specially crafted ‘INSERT’ query containing Python code is run against a database created with the ChromaDB engine, the code will be passed to an eval function and executed on the server.

O3 Security · Impact-Aware SCA

### Is CVE-2024-45848 in your dependencies?

Find it across PyPI, including transitive dependencies.

[Scan my dependencies](/book-demo) [How O3 SCA works](/impact-aware-sca)