PYSEC-2026-4242

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/llama-index-vector-stores-duckdb/PYSEC-2026-4242.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-4242
Aliases
Published
2026-10-15T10:22:42Z
Modified
2026-10-15T14:56:11Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id
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-vector-stores-duckdb

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.12.19
Fixed
0.12.21

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/llama-index-vector-stores-duckdb/PYSEC-2026-4242.yaml"