CVE-2024-12909
Python vulnerability analysis and mitigation

Overview

A critical SQL injection vulnerability was discovered in the FinanceChatLlamaPack component of the run-llama/llamaindex repository, affecting versions up to v0.12.3. The vulnerability was assigned CVE-2024-12909 and was disclosed on March 20, 2025. The vulnerability exists in the run_sql_query function of the `databaseagent` component (NVD).

Technical details

The vulnerability allows attackers to perform SQL injection attacks through the run_sql_query function in the database_agent component. The issue is particularly severe as it can lead to remote code execution (RCE) through PostgreSQL's large object functionality. The vulnerability has received a CVSS v3.0 base score of 10.0 (CRITICAL) with the vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H, indicating the highest possible severity level (NVD).

Impact

The vulnerability's impact is severe as it allows attackers to inject arbitrary SQL queries, which can lead to remote code execution through PostgreSQL's large object functionality. Given the CVSS score of 10.0, this indicates potential complete compromise of the affected system's confidentiality, integrity, and availability (NVD).

Mitigation and workarounds

The vulnerability has been fixed in version 0.3.0 of the FinanceChatLlamaPack. Users are strongly advised to upgrade to this version or later to mitigate the risk (NVD).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 11, 2025
CVE-2025-13780CRITICAL9.1
  • PythonPython
  • cpe:2.3:a:pgadmin:pgadmin
NoYesDec 11, 2025
CVE-2025-67644HIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 11, 2025
CVE-2025-67720MEDIUM6.5
  • PythonPython
  • pyrofork
NoYesDec 11, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management