{"id":"CVE-2025-1750","aliases":["EUVD-2025-16628","GHSA-6mcc-q3mg-3qg6","PYSEC-2025-245","PYSEC-2026-4242"],"status":"published","title":"SQL Injection in run-llama/llama_index","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).","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00877,"percentile":0.59328,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-89"],"published":"2025-06-02T10:04:50Z","modified":"2026-10-28T02:31:03Z","fixes":[{"ecosystem":"PyPI","package":"llama-index-vector-stores-duckdb","fixed_in":["0.12.21"],"sources":["ghsa","osv"]},{"ecosystem":"PyPI","package":"llama-index","fixed_in":["0.12.21"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"llama-index-vector-stores-duckdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.19"},{"fixed":"0.12.21"}]}]},{"source":"osv","ecosystem":"PyPI","package":"llama-index-vector-stores-duckdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.19"},{"fixed":"0.12.21"}]}]},{"source":"osv","ecosystem":"PyPI","package":"llama-index","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.19"},{"fixed":"0.12.21"}]}],"versions":["0.12.19","0.12.20"]},{"source":"osv","ecosystem":"PyPI","package":"llama-index-vector-stores-duckdb","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.19"},{"fixed":"0.12.21"}]}]}],"products":[{"vendor":"llamaindex","product":"llamaindex"},{"vendor":"run-llama","product":"run-llama/llama_index"}],"references":[{"url":"https://huntr.com/bounties/e1302233-9180-4269-9047-1526247d2cd8","tags":["Exploit","Third Party Advisory","web","evidence"]},{"url":"https://github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2","tags":["Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1750","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2025-245.yaml","tags":["web"]},{"url":"https://github.com/run-llama/llama_index/releases/tag/v0.12.21","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6mcc-q3mg-3qg6","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1750.json","tags":["advisory"]},{"url":"https://github.com/run-llama/llama_index","tags":["package"]},{"url":"https://pypi.org/project/llama-index-vector-stores-duckdb","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-1750","title":"SQL Injection in run-llama/llama_index","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).","status":"published","published":"2025-06-02T10:04:50.526Z","modified":"2025-06-02T12:18:24.429Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"cna"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:32:49.503917Z"}],"euvd":[{"id":"EUVD-2025-16628","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).","status":"published","published":"2025-06-02T10:04:50Z","modified":"2025-06-02T12:18:24Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T20:32:33.292081Z"}],"ghsa":[{"id":"GHSA-6mcc-q3mg-3qg6","title":"LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id","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).","status":"published","published":"2025-06-02T12:30:33Z","modified":"2026-10-02T22:38:37Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:41:24.739884Z"}],"nvd":[{"id":"CVE-2025-1750","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).","status":"published","published":"2025-06-02T10:15:20.557Z","modified":"2026-06-17T08:39:42.753Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:11:10.143444Z"}],"osv":[{"id":"CVE-2025-1750","title":"SQL Injection in run-llama/llama_index","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).","status":"published","published":"2025-06-02T10:04:50.526Z","modified":"2026-10-28T02:31:03.68059307Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:44:46.340268Z"},{"id":"GHSA-6mcc-q3mg-3qg6","title":"LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id","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).","status":"published","published":"2025-06-02T12:30:33Z","modified":"2026-10-15T14:56:11.668398293Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:46:39.965326Z"},{"id":"PYSEC-2025-245","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).","status":"published","published":"2025-06-02T10:15:20.557Z","modified":"2026-10-15T14:56:11.668398293Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:54.242332Z"},{"id":"PYSEC-2026-4242","title":"LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id","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).","status":"published","published":"2026-10-15T10:22:42.591402Z","modified":"2026-10-15T14:56:11.668398293Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:52:57.671918Z"}]}}
