PYSEC-2025-245

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/llama-index/PYSEC-2025-245.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2025-245
Aliases
Published
2025-06-02T10:15:20Z
Modified
2026-07-13T07:15:34Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
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).

References

Affected packages

PyPI / llama-index

Package

Name
llama-index
View open source insights on deps.dev
Purl
pkg:pypi/llama-index

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.12.19
Fixed
0.12.21

Affected versions

0.*
0.12.19
0.12.20

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/llama-index/PYSEC-2025-245.yaml"