{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-1750","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).","descriptionLong":"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","updated":"2026-10-28T02:31:03.680593070Z","reserved":"2025-02-27T11:15:09.303Z","status":"Analyzed","rejected":false,"assigner":"@huntr_ai","metric":{"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","rating":"critical","source":"GitHub"},"metrics":[{"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","rating":"critical","source":"GitHub"},{"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","rating":"critical","source":"OSV"},{"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","rating":"critical","source":"@huntr_ai"},{"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","rating":"critical","source":"huntr.dev"},{"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","rating":"critical","source":"OSV"}],"rating":"critical","products":["run-llama/llama_index"],"affectedProducts":[{"vendor":"run-llama","product":"run-llama/llama_index","defaultStatus":null,"versions":[{"version":"unspecified","lessThan":"0.3.1","status":"affected","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"llama-index-vector-stores-duckdb","purl":"pkg:pypi/llama-index-vector-stores-duckdb","ranges":[">=0.12.19 <0.12.21"],"fixed":["0.12.21"],"advisory":"GHSA-6mcc-q3mg-3qg6"},{"ecosystem":"PyPI","name":"llama-index","purl":"pkg:pypi/llama-index","ranges":[">=0.12.19 <0.12.21"],"fixed":["0.12.21"],"advisory":"PYSEC-2025-245"}],"cwes":["CWE-89"],"aliases":["GHSA-6mcc-q3mg-3qg6","PYSEC-2025-245","PYSEC-2026-4242"],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1750.json","tags":["advisory"]},{"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","tags":["package"]},{"url":"https://github.com/run-llama/llama_index/releases/tag/v0.12.21","tags":["web"]},{"url":"https://pypi.org/project/llama-index-vector-stores-duckdb","tags":["package"]},{"url":"https://github.com/advisories/GHSA-6mcc-q3mg-3qg6","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00877,"epssPercentile":0.59772,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-1750","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-1750","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-1750","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-6mcc-q3mg-3qg6","ok":true,"note":"GHSA-6mcc-q3mg-3qg6"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-1750","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}