ADVISORIES

PyPA Advisory Database

PYSEC-2026-1555

LlamaIndex vulnerable to Creation of Temporary File in Directory with Insecure Permissions

Details

A vulnerability in the default_jsonalyzer function of the JSONalyzeQueryEngine in the run-llama/llama_index repository allows for SQL injection via prompt injection. This can lead to arbitrary file creation and Denial-of-Service (DoS) attacks. The vulnerability affects the latest version and is fixed in version 0.12.3.

Affected packages

EcosystemPackageAffected versions
PyPIllama-index
All versions before 0.12.3 (fixed in 0.12.3)

References