LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id
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).
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | llama-index | >= 0.12.19, < 0.12.21 | 0.12.21 |
| Python (PyPI) | llama-index-vector-stores-duckdb | >= 0.12.19, < 0.12.21 | 0.12.21 |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2025-1750
- https://github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2
- https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2025-245.yaml
- https://github.com/run-llama/llama_index
- https://github.com/run-llama/llama_index/releases/tag/v0.12.21
- https://huntr.com/bounties/e1302233-9180-4269-9047-1526247d2cd8
- https://pypi.org/project/llama-index-vector-stores-duckdb
- https://github.com/advisories/GHSA-6mcc-q3mg-3qg6
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Schwäche (CWE)
CWE-89- Plattform
- Python (PyPI)
- Paket
llama-index, llama-index-vector-stores-duckdb- Veröffentlicht
- 02.06.2025
- Aktualisiert
- 15.10.2026 18:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2025-245 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-6mcc-q3mg-3qg6 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-4242 - PyPA Advisory Database; CC BY 4.0
Schwachstellenhistorie: llama-index-vector-stores-duckdb
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.