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.
References (2)
Core 2
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/44e8177f-200a-4ba3-a12c-8bc21e313a3f
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