AI and data stack advisories

Severe, 6 weeks1496Projects326

1496 severe, 6 weeks · 326 projects

LlamaIndexPYSEC-2025-246

LlamaIndex: command injection

LlamaIndex

CVE-2025-1753 · Published May 28, 2025 · updated Jul 13, 2026

High7.8
No fix yet
Source advisory

LLama-Index CLI version v0.12.20 contains an OS command injection vulnerability. The vulnerability arises from the improper handling of the --files argument, which is directly passed into os.system. An attacker who controls the content of this argument can inject and execute arbitrary shell commands. This vulnerability can be exploited locally if the attacker has control over the CLI arguments, and remotely if a web application calls the LLama-Index CLI with a user-controlled filename. This issue can lead to arbitrary code execution on the affected system.

Affected versions

PackageAffectedFixed in
llama-index
PyPI
<= 0.12.20No fix yet
Details and references
CVSS 3.0
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Severity from
the CVSS score
Also known as
CVE-2025-1753, GHSA-g99h-56mw-8263, PYSEC-2026-1557

More LlamaIndex advisories

All LlamaIndex