Skip to content
HighVulnerability

CVE-2025-1753: LLama-Index CLI OS command injection through the --files argument

Identifier
CVE-2025-1753
Published
Record updated
View JSON
Affected
  • llama-index-cli < 0.4.1
Fixed in
0.4.1
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.1%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

LLama-Index CLI version v0.12.20 contains an OS command injection flaw. The `--files` argument is passed directly into `os.system`, so an attacker who controls its content can run arbitrary shell commands, locally through the CLI arguments or remotely when a web application passes a user-controlled filename to the CLI. The result is arbitrary code execution on the affected system.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.