| Package | Affected versions | Patched versions |
|---|---|---|
| llama-index | ≤ 0.9.35< 0.9.35 | 0.9.35 |
| llamaindex | ≤ 0.9.34 |
LlamaIndex (aka llama_index) through 0.9.35 allows SQL injection via the Text-to-SQL feature in NLSQLTableQueryEngine, SQLTableRetrieverQueryEngine, NLSQLRetriever, RetrieverQueryEngine, and PGVectorSQLQueryEngine. For example, an attacker might be able to delete this year's student records via "Drop the Students table" within English language input.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free