PoC Monitor
← All CVEs
CVE-2025-1753published 28 May 2025 09:34 UTCData: JSON · API

Run-llama run-llama/llama_index

Command Injection in LLama-Index CLI in run-llama/llama_index

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

run-llama run-llama/llama_index
  • >= unspecified, < 0.4.1

Fixed in 0.4.1

Mitigation

Upgrade run-llama/llama_index to 0.4.1 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published28 May 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.