PT-2026-2318 · Vannapack+1 · Vannapack+2
Lifeteam2024
·
Published
2026-01-12
·
Updated
2026-01-21
·
CVE-2024-58339
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
LlamaIndex versions up to and including 0.12.2
Description
LlamaIndex versions up to and including 0.12.2 have an issue where resource consumption is not properly controlled in the VannaPack VannaQueryEngine implementation. The
custom query() logic constructs SQL statements from user input and executes them using vn.run sql() without limiting query execution. This allows an attacker, in deployments where untrusted users can provide prompts, to trigger resource-intensive or unbounded SQL operations, potentially leading to a denial-of-service condition by exhausting CPU or memory. The vulnerable code is located in llama index/packs/vanna/base.py within the custom query() function.Recommendations
Versions prior to and including 0.12.2 are affected. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
DoS
Allocation of Resources Without Limits
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Llama Index
Vannapack
Vannaqueryengine