{"cve":"CVE-2025-1750","nvd":{"published":"2025-06-02T10:15:20.557","modified":"2026-06-17T08:39:42.753","status":"Analyzed","description":"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).","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-89"],"references":["https://github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2","https://huntr.com/bounties/e1302233-9180-4269-9047-1526247d2cd8"],"products":["llamaindex:llamaindex"],"source":"nvd","synced_at":"2026-10-19T22:02:23.998251710+00:00"},"epss":{"cve":"CVE-2025-1750","score":0.00877,"percentile":0.59033,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6mcc-q3mg-3qg6","url":"https://osv.dev/vulnerability/GHSA-6mcc-q3mg-3qg6","summary":"LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id","modified":"2026-10-15T14:56:11.668398293Z","packages":[{"ecosystem":"PyPI","name":"llama-index-vector-stores-duckdb","purl":"pkg:pypi/llama-index-vector-stores-duckdb","ranges":[">=0.12.19 <0.12.21"],"fixed":["0.12.21"]}]},{"id":"PYSEC-2025-245","url":"https://osv.dev/vulnerability/PYSEC-2025-245","summary":"","modified":"2026-10-15T14:56:11.668398293Z","packages":[{"ecosystem":"PyPI","name":"llama-index","purl":"pkg:pypi/llama-index","ranges":[">=0.12.19 <0.12.21"],"fixed":["0.12.21"]}]},{"id":"PYSEC-2026-4242","url":"https://osv.dev/vulnerability/PYSEC-2026-4242","summary":"LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id","modified":"2026-10-15T14:56:11.668398293Z","packages":[{"ecosystem":"PyPI","name":"llama-index-vector-stores-duckdb","purl":"pkg:pypi/llama-index-vector-stores-duckdb","ranges":[">=0.12.19 <0.12.21"],"fixed":["0.12.21"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}