{"id":"CVE-2025-1750","summary":"SQL Injection in run-llama/llama_index","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":["PYSEC-2025-245"],"modified":"2026-08-12T03:51:27.120086486Z","published":"2025-06-02T10:04:50.526Z","database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1750.json"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/e1302233-9180-4269-9047-1526247d2cd8"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1750.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1750"},{"type":"FIX","url":"https://github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/run-llama/llama_index","events":[{"introduced":"c80992f18461f86695162a1a5f8333ac5b6d6453"},{"fixed":"663e663e869889afdb4bfadde06fed306586d29e"},{"fixed":"369a2942df2efcf6b74461c45d20a0af1fbe4ae2"}],"database_specific":{"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0.12.19"},{"fixed":"0.12.21"}]}}],"versions":["v0.12.20","v0.12.19"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1750.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}