CVE-2024-12909

CRITICAL

Llamaindex < 0.3.0 - SQL Injection

Title source: rule
STIX 2.1

Description

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.

Scores

CVSS v3 9.8
EPSS 0.0413
EPSS Percentile 88.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-89
Status published
Products (2)
llamaindex/llamaindex < 0.3.0
pypi/llama-index-packs-finchat 0PyPI
Published Mar 20, 2025
Tracked Since Feb 18, 2026