{"schema":"threatline.record/2","record":{"id":"CVE-2025-1750","aliases":["GHSA-6mcc-q3mg-3qg6","PYSEC-2025-245","PYSEC-2026-4242"],"summary":"LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id","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).","categories":["Libraries & packages"],"product":"llama-index-vector-stores-duckdb","vendor":"run-llama","ecosystem":"pip","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-6mcc-q3mg-3qg6","source_modified_at":"2026-10-02T22:38:37Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"llama-index-vector-stores-duckdb"},"range":">= 0.12.19, < 0.12.21"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2025-1750","source_modified_at":"2025-06-02T12:18:24.429Z","fetched_at":"2026-10-23T18:45:31.882637Z","product":"run-llama/llama_index","vendor":"run-llama","versions":[{"version":"unspecified","lessThan":"0.3.1","status":"affected","versionType":"custom"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-6mcc-q3mg-3qg6","source_modified_at":"2026-10-15T14:56:11.668398293Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"PyPI","name":"llama-index-vector-stores-duckdb","purl":"pkg:pypi/llama-index-vector-stores-duckdb"},"ranges":[{"events":[{"introduced":"0.12.19"},{"fixed":"0.12.21"}],"type":"ECOSYSTEM"}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-6mcc-q3mg-3qg6","source_modified_at":"2026-10-02T22:38:37Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"pip","name":"llama-index-vector-stores-duckdb"},"version":"0.12.21"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2025-1750","source_modified_at":"2025-06-02T12:18:24.429Z","fetched_at":"2026-10-23T18:45:31.882637Z","package":{"name":"run-llama/llama_index","ecosystem":null},"version":"0.3.1","basis":"first unaffected version stated in the CVE record"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-6mcc-q3mg-3qg6","source_modified_at":"2026-10-15T14:56:11.668398293Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"PyPI","name":"llama-index-vector-stores-duckdb","purl":"pkg:pypi/llama-index-vector-stores-duckdb"},"version":"0.12.21"}],"cvss":9.8,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.00817,"percentile":0.56707,"score_date":"2026-10-23"},"published_at":"2025-06-02T10:04:50.526Z","modified_at":"2026-10-15T14:56:11.668398293Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-6mcc-q3mg-3qg6","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-02T22:38:37Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-1750","fetched_at":"2026-10-23T18:45:31.882637Z","source_modified_at":"2025-06-02T12:18:24.429Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-6mcc-q3mg-3qg6","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-15T14:56:11.668398293Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-1750","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["GitHub Advisory Database","CVE List","OSV","EPSS"],"references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1750","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/run-llama/llama_index/commit/369a2942df2efcf6b74461c45d20a0af1fbe4ae2"},{"source":"CVE List","url":"https://huntr.com/bounties/e1302233-9180-4269-9047-1526247d2cd8"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/llama-index/PYSEC-2025-245.yaml","source":"GitHub Advisory Database"},{"url":"https://github.com/run-llama/llama_index/releases/tag/v0.12.21","source":"GitHub Advisory Database"},{"url":"https://github.com/advisories/GHSA-6mcc-q3mg-3qg6","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total","assessed_at":"2025-06-02T12:16:54.153918Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-15T14:56:11.668398293Z","content_hash":"c2f1dbca2bda61d87feceab799c6f5c9a00a8f1979f45241e96c1acdf7a58564"}}
