Loading...
Skip to main content

CVE-2025-1750 — Vulnerability in llama-index-vector-stores-duckdb...

CRITICAL

LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id

Published June 2, 2025Updated October 2, 2026Source: osv

Summary

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).

Advisory Timeline

  • First published June 2, 2025 (497 days ago).
  • Last revised October 2, 2026 — 487 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update llama-index-vector-stores-duckdb to 0.12.21 or later
pip install "llama-index-vector-stores-duckdb>=0.12.21"

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: pypi (1).

PackageEcosystemAffectedFixed In
llama-index-vector-stores-duckdb
pypi
All versions0.12.21

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2025-1750?
LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2025-1750?
CVE-2025-1750 affects llama-index-vector-stores-duckdb. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-1750 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-6mcc-q3mg-3qg6
PYSEC-2025-245

Related CVEs

  • CVE-2026-61447
    CRITICAL

    PraisonAI: CodeAgent Executes LLM-Generated Code Without Sandboxing and Leaks All Environment Secrets

  • CVE-2026-61445
    CRITICAL

    PraisonAI: AICoder Arbitrary File Write and Command Execution via LLM Tool Calls

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies