CVE-2025-1753 | Command Injection in LLama-Index CLI in run-llama/llama_index

Exp

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.

Published: 2025-05-28 Last update: 2025-08-07 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-1753 is rated Exploit Available (51.9/100): CVSS High severity, with low exploitation likelihood (EPSS 0.05%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-1753

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-1753

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-02-21 0.03% 0.05% +0.02%
2 2025-11-21 0.08% 0.03% -0.05%
3 2025-11-18 0.08%

Full EPSS history (5 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-1753

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.8 3.0 HIGH
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
1.8 5.9 [email protected]

Weakness enumeration for CVE-2025-1753

GitHub Security Advisory for CVE-2025-1753

GHSA-g99h-56mw-8263 · Severity: high · Ecosystem: pip — LLama-Index CLI OS command injection vulnerability

OS Trackers for CVE-2025-1753

vendor priority summary link
redhat high https://access.redhat.com/security/cve/CVE-2025-1753

Affected software / configurations for CVE-2025-1753

Vendor Product Version Raw CPE
llamaindex llamaindex 0.12.20 cpe:2.3:a:llamaindex:llamaindex:0.12.20:*:*:*:*:*:*:*

References for CVE-2025-1753

cvelogic Threat Intelligence