Vulnerability

CVE-2025-1753

highCVSS 3.0 7.8Published 28 May 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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 products

From the NVD's configuration data (CPE), vendor first.

  • Llamaindex llamaindex

Weakness type

References

  • github.com /run-llama/llama_index/commit/b57e76738c53ca82d88658b82f2d8…
  • huntr.com /bounties/19e1c67e-1d77-451d-b10b-acbe99900b22

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning