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).
{
"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"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.12.19"
},
{
"fixed": "0.12.21"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "369a2942df2efcf6b74461c45d20a0af1fbe4ae2"
}
],
"source": "REFERENCES_COMMIT"
}
]
}