CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Llamaindex

CVE-2025-1753
Llamaindex vulnerability

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

Llamaindex. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Llamaindex runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Llamaindex products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.