cve.bz

CVE-2024-11958

9.8 criticalEPSS 1.4%

Critical (9.8) in llamaindex llamaindex. EPSS 1.4% chance of exploitation in the next 30 days. Fixed in llama-index-retrievers-duckdb-retriever 0.4.0.

A SQL injection vulnerability exists in the `duckdb_retriever` component of the run-llama/llama_index repository, specifically in the latest version. The vulnerability arises from the construction of SQL queries without using prepared statements, allowing an attacker to inject arbitrary SQL code. This can lead to remote code execution (RCE) by installing the shellfs extension and executing malicious commands.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
1.4% chance of exploitation in the next 30 days; higher than 73% of CVEs (scores of 2026-10-31)
CWE
CWE-89
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-339r-cjv9-x78gPyPIllama-index-retrievers-duckdb-retriever<0.4.00.4.0
PYSEC-2026-399PyPIllama-index-retrievers-duckdb-retriever<0.4.00.4.0

References

Check your stackJSON