CVE-2024-12909

GHSA-x48g-hm9c-ww42 · published 20 Mar 2025 · updated 16 Nov 2026

SQL Injection to RCE in run-llama/llama_index

10.0CriticalCVSS 10.0EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.3.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
run-llama<0.3.00.3.0
pypi: llama-index-packs-finchat<=0.3.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-12909 severity on Zeptric[![CVE-2024-12909](https://zeptric.io/badge/cve/CVE-2024-12909.svg)](https://zeptric.io/cve/CVE-2024-12909)