Advisory

PYSEC-2026-1555

Also known as: CVE-2024-12911, GHSA-jmgm-gx32-vp4w

Summary

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.

Severity

High Basis: CVSS v3 score 7.1, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:46 UTC

Affected packages and fixes

llama-index

PyPI · All systems

Affected

  • introduced 0, fixed 0.12.3 (ecosystem)

Fixed versions

0.12.3

Fix

  • Fixed version 0.12.3
    pip install --upgrade llama-index==0.12.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences