CVE-2025-1750 — Vulnerability in llama-index-vector-stores-duckdb...
LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id
Summary
Advisory Timeline
- First published June 2, 2025 (497 days ago).
- Last revised October 2, 2026 — 487 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "llama-index-vector-stores-duckdb>=0.12.21"
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: pypi (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| llama-index-vector-stores-duckdb | pypi | All versions | 0.12.21 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-89SQL InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-1750ADVISORY
- https://github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2025-245.yamlWEB
- https://github.com/run-llama/llama_indexPACKAGE
- https://github.com/run-llama/llama_index/releases/tag/v0.12.21WEB
- https://huntr.com/bounties/e1302233-9180-4269-9047-1526247d2cd8WEB
Frequently Asked Questions
- What is CVE-2025-1750?
- LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-1750?
- CVE-2025-1750 affects llama-index-vector-stores-duckdb. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-1750 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-61447CRITICAL
PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets
- CVE-2026-61445CRITICAL
PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies