cve.bz

CVE-2024-12909

9.8 criticalEPSS 1.4%

Critical (9.8) in llamaindex llamaindex. EPSS 1.4% chance of exploitation in the next 30 days.

A vulnerability in the FinanceChatLlamaPack of the run-llama/llama_index repository, versions up to v0.12.3, allows for SQL injection in the `run_sql_query` function of the `database_agent`. This vulnerability can be exploited by an attacker to inject arbitrary SQL queries, leading to remote code execution (RCE) through the use of PostgreSQL's large object functionality. The issue is fixed in version 0.3.0.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/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-x48g-hm9c-ww42PyPIllama-index-packs-finchat<=0.3.0no fix published
PYSEC-2026-398PyPIllama-index-packs-finchat<=0.3.0no fix published

References

Check your stackJSON