Skip to main content
Public proof of conceptFix available

CVE-2025-1753

A public proof of concept exists; no exploitation attested.

  • Published2025-05-28
  • WeaknessCWE-78

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2025-05-2810:15CVE publishedNVD

Versions per branch

OSV · NVD
llama-index
BranchAffectedFixed in
0.12≤ 0.12.20no fix published
Llamaindex
BranchAffectedFixed in
0.12= 0.12.20no fix published
llama-index-cli
BranchAffectedFixed in
0.4< 0.4.10.4.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As @huntr_ai, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • run-llama/llama_index
    Affected
    • < 0.4.1fixed in 0.4.1custom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2025-05-28

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • CVE-2025-1753 Red Hat Product Security1 known affected

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

    openshift-lightspeed-tech-preview/lightspeed-service-api-rhel9 as a component of OpenShift Lightspeed

Full record on NVD

Fix

  1. No fix available, says the vendor Red Hat Product Security CVE-2025-1753 · 1 productAffected

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionpoc2025-05-28
  • CNACVSS 3.07.8known since 2026-10-23
  • CNAweakness (CWE)CWE-78known since 2026-10-23
  • FIRST EPSSEPSS score1.1 %2026-11-18
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHIGH2025-05-28

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2025-05-28
Last Modified
2026-06-17
NVD status
Analyzed
GitHub Advisory
GHSA-g99h-56mw-8263

Frequently asked questions

What is CVE-2025-1753?

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.

Is CVE-2025-1753 actively exploited?

A proof-of-concept exploit exists for CVE-2025-1753, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-1753?

CVE-2025-1753 has a CVSS v3 base score of 7.8 (HIGH severity), with vector string CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running llama-index? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record