{"id":"CVE-2025-1750","aliases":["GHSA-6mcc-q3mg-3qg6","PYSEC-2025-245","PYSEC-2026-4242"],"url":"https://o3.security/vulnerability/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).","published":"2025-06-02T10:04:50.526Z","modified":"2026-10-21T02:30:17.958204558Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"PyPI","name":"llama-index-vector-stores-duckdb","fixedVersion":"0.12.21"}],"fix":{"url":"https://github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2","label":"run-llama/llama_index@369a294"},"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"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2025-245.yaml"},{"type":"PACKAGE","url":"https://github.com/run-llama/llama_index"},{"type":"WEB","url":"https://github.com/run-llama/llama_index/releases/tag/v0.12.21"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-21T02:30:17.958204558Z"}}