SQL injection vulnerability in llama_index JSONalyzeQueryEngine
A SQL injection vulnerability was discovered in llama_index's JSONalyzeQueryEngine, which executes LLM-generated SQL queries. The developers moved the component to experimental status and marked it deprecated, recommending against production use without heavy sandboxing.
What happened
A SQL injection vulnerability was identified in the JSONalyzeQueryEngine component of llama_index. The engine executes SQL prompts generated by an LLM with SQLite, potentially allowing arbitrary file creation on the machine running the tool.
Index analysis
The vulnerability was addressed by moving JSONalyzeQueryEngine to the experimental module and marking it as deprecated, with a warning that the tool is not recommended for production use without heavy sandboxing or virtual machines.
Classification
Sources and evidence
This record was researched and written by the Index, based on the following original reporting.