CVE-2024-11958 — Vulnerability in...
LlamaIndex Retrievers Integration: DuckDBRetriever SQL Injection
Summary
Advisory Timeline
- First published March 20, 2025 (571 days ago).
- Last revised July 21, 2026 — 488 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "llama-index-retrievers-duckdb-retriever>=0.4.0"
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-retrievers-duckdb-retriever | pypi | 0.1.4, 0.2.0, 0.3.0 | 0.4.0 |
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.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-11958ADVISORY
- https://github.com/run-llama/llama_index/commit/35bd221e948e40458052d30c6ef2779bc965b6d0WEB
- https://github.com/advisories/GHSA-339r-cjv9-x78gADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/llama-index-retrievers-duckdb-retriever/PYSEC-2026-399.yamlWEB
- https://github.com/run-llama/llama_indexPACKAGE
- https://huntr.com/bounties/8ddf66e1-f74c-4d53-992b-76bc45cacac1WEB
- https://pypi.org/project/llama-index-retrievers-duckdb-retrieverWEB
Frequently Asked Questions
- What is CVE-2024-11958?
- LlamaIndex Retrievers Integration: DuckDBRetriever SQL Injection 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-2024-11958?
- CVE-2024-11958 affects llama-index-retrievers-duckdb-retriever. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-11958 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