{"id":"PYSEC-2025-245","details":"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).","aliases":["CVE-2025-1750"],"modified":"2026-07-13T07:15:34.484161201Z","published":"2025-06-02T10:15:20.557Z","references":[{"type":"FIX","url":"https://github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2"},{"type":"EVIDENCE","url":"https://huntr.com/bounties/e1302233-9180-4269-9047-1526247d2cd8"}],"affected":[{"package":{"name":"llama-index","ecosystem":"PyPI","purl":"pkg:pypi/llama-index"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.12.19"},{"fixed":"0.12.21"}]}],"versions":["0.12.19","0.12.20"],"ecosystem_specific":{},"database_specific":{"source":"https://github.com/pypa/advisory-database/blob/main/vulns/llama-index/PYSEC-2025-245.yaml"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}