Advisory

PYSEC-2025-245

Also known as: CVE-2025-1750, GHSA-6mcc-q3mg-3qg6, PYSEC-2026-4242

Summary

The record has no summary.

Details

An SQL injection vulnerability exists in the delete function of DuckDBVectorStore in run-llama/llama_index version v0.12.19. This vulnerability allows an attacker to manipulate the ref_doc_id parameter, enabling them to read and write arbitrary files on the server, potentially leading to remote code execution (RCE).

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
2025-06-02 10:15 UTC
Modified
2026-10-15 14:56 UTC

Affected packages and fixes

llama-index

PyPI · All systems

Affected

  • introduced 0.12.19, fixed 0.12.21 (ecosystem)

Fixed versions

0.12.21

Fix

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

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