We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-1753

Command Injection in LLama-Index CLI in run-llama/llama_index



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.

Reserved 2025-02-27 | Published 2025-05-28 | Updated 2025-05-28 | Assigner @huntr_ai


HIGH: 7.8CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-78 Improper Neutralization of Special Elements used in an OS Command

Product status

Any version before 0.4.1
affected

References

huntr.com/bounties/19e1c67e-1d77-451d-b10b-acbe99900b22

github.com/...ommit/b57e76738c53ca82d88658b82f2d82d1c7839c7d

cve.org (CVE-2025-1753)

nvd.nist.gov (CVE-2025-1753)

Download JSON

Share this page
https://cve.threatint.eu/CVE/CVE-2025-1753

Support options

Helpdesk Chat, Email, Knowledgebase