Security mailing lists by PureSourceCode

CVE-2025-1750

CRITICAL 9.8CVSS 3.0

LlamaIndex DuckDBVectorStore vulnerable to SQL injection through ref_doc_id

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
2 Jun 2025
Last modified
15 Oct 2026
Assigned by
security@huntr.dev
NVD status
Analyzed
Weakness
CWE-89
Also known as
GHSA-6mcc-q3mg-3qg6PYSEC-2025-245PYSEC-2026-4242
Sources
NVDJSONOSV GHSA-6mcc-q3mg-3qg6JSONOSV PYSEC-2025-245JSONOSV PYSEC-2026-4242JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD security@huntr.dev (Secondary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV PyPA CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD llamaindex llamaindex
cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*
>= 0.12.19, < 0.12.21 0.12.21
OSV PyPI llama-index-vector-stores-duckdb >= 0.12.19, < 0.12.21 0.12.21
OSV PyPI llama-index >= 0.12.19, < 0.12.21 0.12.21

References

History

  • 25 Nov 2026 20:58 UTC · NVD: first stored (published 2 Jun 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 15 Oct 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jun 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Jun 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.