HighVulnerability
CVE-2025-1753: LLama-Index CLI OS command injection through the --files argument
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-1753
- Published
- Record updated
- 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.
Related items
- MediumCVE-2026-136537: LiteLLM key_management_endpoints missing authorization allows bypassSame vendor, NVD/CVE Database
- MediumCVE-2026-135287: LiteLLM Proxy callback injection through request body callbacks fieldsSame vendor, NVD/CVE Database
- MediumGHSA-8prr-f582-jqq3: LangGraph CLI prints the registry push token in `langgraph deploy --verbose` outputSame vendor, GitHub Advisory Database
- HighGHSA-4hm6-w6qq-w73v: LangGraph JavaScript custom authentication may permit cross-user Store accessSame vendor, GitHub Advisory Database
- MediumGHSA-3fx2-cqw9-xr3c: LangGraph: Unencoded identifiers in LangGraph SDK v3 streaming can redirect authenticated GET requestsSame vendor, GitHub Advisory Database