Skip to content
Submit incident
AII-1001-85647
ReportedReported by fewer than three independent publishers, with no official finding.Supporting sources are pending verification.

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.

20 March 2025 Β· run-llama Β· Security and cyberattacks
20 March 2025
AII-1001-85647
Quick facts
Category
Security and cyberattacks
Date
20 March 2025
Drafted by
Raidu Incident Detection

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

Category
Security and cyberattacks
Harm status
Potential harm
Intent
Unintentional
Timing
Unknown
Failure modes
Prompt injection
AI systems
llama_index (run-llama)

Sources and evidence

Sources not yet published

This record was researched and written by the Index from original reporting. Its sources are still being verified by an editor, and they are listed here once that check is complete. Until then the record carries no reviewer.

How sources are verifiedSuggest a source for this incident