CVE-2025-1753
published high CVSS 3.0 · 7.8Command Injection in LLama-Index CLI in run-llama/llama_index
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| run-llama | — | run-llama/llama_indexunspecified to < 0.4.1 | Affected | Not stated | @huntr_ai |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| run-llama | run-llama/llama_index | unspecified to < 0.4.1 (affected · custom) | @huntr_ai · cna |
Weaknesses
1- CWE-78 CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
2Provider assertions
2@huntr_ai · cna
Command Injection in LLama-Index CLI in run-llama/llama_index
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 47ee747f420f1ac27b16cf3d1ea4982b6fa0dff9c68c519390fbf1678be78c44
- Ingested
- 23 Sep 2026, 08:38:52 UTC
- Source record
- Official CVE record