CRITICAL
SQL Injection to RCE in run-llama/llama_index
Published Mar 20, 2025
9.8
CRITICALCVSS 3.1
EPSS 1.44%
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.
Affected products
-
- Version unspecifiedStatusaffectedConstraints<0.3.0
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Run-Llama | Run-Llama/llama Index | n/a |
|
- < 0.3.0
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Weaknesses (1)
References (6)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-6982 Advisory
- https://github.com/advisories/GHSA-x48g-hm9c-ww42 Advisory
- https://github.com/run-llama/llama_index/commit/5d03c175476452db9b8abcdb7d5767dd7b310a75 Patch
- https://github.com/run-llama/llama_index/tree/stale_packages/llama-index-packs/llama-index-packs-finchat
- https://huntr.com/bounties/44e8177f-200a-4ba3-a12c-8bc21e313a3f ExploitThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-12909
Change history (0)
No recorded changes yet.
Sources
CVE.org / MITRE
Status PUBLISHED
Assigner @huntr_ai
Published Mar 20, 2025
Updated Mar 20, 2025
Reserved Dec 23, 2024
Link CVE-2024-12909
CISA Vulnrichment
Updated Mar 20, 2025
ENISA EUVD
EUVD-2025-6982 GHSA-X48G-HM9C-WW42 Assigner @huntr_ai
Published Mar 20, 2025
Updated Mar 20, 2025
Exploited since n/a
Link EUVD-2025-6982