High severity7.8NVD Advisory· Published May 28, 2025· Updated Jun 17, 2026
CVE-2025-1753
CVE-2025-1753
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
llama-index-cliPyPI | < 0.4.1 | 0.4.1 |
Affected products
3- cpe:2.3:a:llamaindex:llamaindex:0.12.20:*:*:*:*:*:*:*
- Range: unspecified
Patches
Vulnerability mechanics
References
4- github.com/run-llama/llama_index/commit/b57e76738c53ca82d88658b82f2d82d1c7839c7dnvdPatchWEB
- huntr.com/bounties/19e1c67e-1d77-451d-b10b-acbe99900b22nvdExploitThird Party AdvisoryWEB
- github.com/advisories/GHSA-g99h-56mw-8263ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-1753ghsaADVISORY
News mentions
0No linked articles in our index yet.