CriticalVulnerability
CVE-2024-12909: FinanceChatLlamaPack SQL injection in run_sql_query of database_agent
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2024-12909
- Published
- Record updated
- Affected
- llama-index-packs-finchat <= 0.3.0
- Fixed in
- The source references a patch, a mitigation or a vendor advisory.
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 1.5%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .
Summary
A SQL injection flaw in the run_sql_query function of the database_agent within FinanceChatLlamaPack, in the run-llama/llama_index repository up to v0.12.3, lets an attacker run arbitrary SQL queries. Through PostgreSQL's large object functionality, this can lead to remote code execution (RCE).
Mitigation
Fixed in version 0.3.0.
Related items
- MediumCVE-2026-136537: LiteLLM key_management_endpoints missing authorization allows bypassSame vendor, NVD/CVE Database
- MediumCVE-2026-135287: LiteLLM Proxy callback injection through request body callbacks fieldsSame vendor, NVD/CVE Database
- MediumGHSA-8prr-f582-jqq3: LangGraph CLI prints the registry push token in `langgraph deploy --verbose` outputSame vendor, GitHub Advisory Database
- HighGHSA-4hm6-w6qq-w73v: LangGraph JavaScript custom authentication may permit cross-user Store accessSame vendor, GitHub Advisory Database
- MediumGHSA-3fx2-cqw9-xr3c: LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requestsSame vendor, GitHub Advisory Database