Vulnerabilities · 2025 · Llamaindex
CVE-2025-1750
Llamaindex vulnerability
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).
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Llamaindex. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Llamaindex runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2 · Patch
- huntr.com/bounties/e1302233-9180-4269-9047-1526247d2cd8 · Exploit
- nvd.nist.gov/vuln/detail/CVE-2025-1750
- github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2025-245.yaml
- github.com/run-llama/llama_index/releases/tag/v0.12.21
- github.com/advisories/GHSA-6mcc-q3mg-3qg6
- nvd.nist.gov/vuln/detail/CVE-2025-1750
- cve.org/CVERecord?id=CVE-2025-1750
More vulnerabilities in Llamaindex products
CVE-2025-7707CVE-2025-6211CVE-2025-6210CVE-2025-6209CVE-2025-5472CVE-2025-3225CVE-2025-3108CVE-2025-3046All 24
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.