{"cve":"CVE-2025-1753","nvd":{"published":"2025-05-28T10:15:21.333","modified":"2026-06-17T08:39:43.063","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-78"],"references":["https://github.com/run-llama/llama_index/commit/b57e76738c53ca82d88658b82f2d82d1c7839c7d","https://huntr.com/bounties/19e1c67e-1d77-451d-b10b-acbe99900b22"],"products":["llamaindex:llamaindex"],"source":"nvd","synced_at":"2026-10-19T22:01:57.636215869+00:00"},"epss":{"cve":"CVE-2025-1753","score":0.01142,"percentile":0.66693,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-g99h-56mw-8263","url":"https://osv.dev/vulnerability/GHSA-g99h-56mw-8263","summary":"LLama-Index CLI OS command injection vulnerability","modified":"2026-07-13T07:26:45.696360393Z","packages":[{"ecosystem":"PyPI","name":"llama-index-cli","purl":"pkg:pypi/llama-index-cli","ranges":["<0.4.1"],"fixed":["0.4.1"]}]},{"id":"PYSEC-2025-246","url":"https://osv.dev/vulnerability/PYSEC-2025-246","summary":"","modified":"2026-07-13T07:26:45.696360393Z","packages":[{"ecosystem":"PyPI","name":"llama-index","purl":"pkg:pypi/llama-index","ranges":["<=0.12.20"],"fixed":[]}]},{"id":"PYSEC-2026-1557","url":"https://osv.dev/vulnerability/PYSEC-2026-1557","summary":"LLama-Index CLI OS command injection vulnerability","modified":"2026-07-13T07:26:45.696360393Z","packages":[{"ecosystem":"PyPI","name":"llama-index-cli","purl":"pkg:pypi/llama-index-cli","ranges":["<0.4.1"],"fixed":["0.4.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}