~ / search / GHSA-2jxw-4hm4-6w87

GHSA-2jxw-4hm4-6w87

SQL injection in llama-index

Source: GitHub Advisory Database (reviewed) Critical CVE-2024-23751

Packages

EcosystemPackageAffectedFixed in
PyPI llama-index <= 0.9.35 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.