Advisory

PYSEC-2026-394

Also known as: CVE-2025-1793, GHSA-v3c8-3pr6-gr7p

Summary

llama_index vulnerable to SQL Injection

Details

Multiple vector store integrations in run-llama/llama_index version v0.12.21 have SQL injection vulnerabilities. These vulnerabilities allow an attacker to read and write data using SQL, potentially leading to unauthorized access to data of other users depending on the usage of the llama-index library in a web application.

Severity

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

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:22 UTC

Affected packages and fixes

llama-index

PyPI · All systems

Affected

  • introduced 0, fixed 0.12.28 (ecosystem)

Fixed versions

0.12.28

Fix

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

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