{"cve":"CVE-2024-12909","nvd":{"published":"2025-03-20T10:15:31.833","modified":"2026-06-17T07:00:44.733","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-89"],"references":["https://github.com/run-llama/llama_index/commit/5d03c175476452db9b8abcdb7d5767dd7b310a75","https://huntr.com/bounties/44e8177f-200a-4ba3-a12c-8bc21e313a3f"],"products":["llamaindex:llamaindex"],"source":"nvd","synced_at":"2026-10-19T22:00:17.429720821+00:00"},"epss":{"cve":"CVE-2024-12909","score":0.01444,"percentile":0.73257,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-x48g-hm9c-ww42","url":"https://osv.dev/vulnerability/GHSA-x48g-hm9c-ww42","summary":"llama-index-packs-finchat SQL Injection vulnerability","modified":"2026-06-29T12:26:21.115821243Z","packages":[{"ecosystem":"PyPI","name":"llama-index-packs-finchat","purl":"pkg:pypi/llama-index-packs-finchat","ranges":["<=0.3.0"],"fixed":[]}]},{"id":"PYSEC-2026-398","url":"https://osv.dev/vulnerability/PYSEC-2026-398","summary":"llama-index-packs-finchat SQL Injection vulnerability","modified":"2026-07-01T20:22:56.502059Z","packages":[{"ecosystem":"PyPI","name":"llama-index-packs-finchat","purl":"pkg:pypi/llama-index-packs-finchat","ranges":["<=0.3.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}