Live threats

All CVEs / Llamaindex

CVE-2024-4181Llamaindex

High 8.8 No auth needed

Priority
68
CVSS 3.0
8.8
EPSS
3.3%
probability of exploitation in 30 days · percentile 89
Auth required
No
Published
May 16, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

A command injection vulnerability exists in the RunGptLLM class of the llama_index library, version 0.9.47, used by the RunGpt framework from JinaAI to connect to Language Learning Models (LLMs). The vulnerability arises from the improper use of the eval function, allowing a malicious or compromised LLM hosting provider to execute arbitrary commands on the client's machine. This issue was fixed in version 0.10.13. The exploitation of this vulnerability could lead to a hosting provider gaining full control over client machines.

Original NVD text.

What to do

  1. Apply the vendor's security update for Llamaindex.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI llama-index < 0.10.13 0.10.13 pip install "llama-index>=0.10.13"
PyPI llama-index ≥ 0.9.47 < 0.10.13 0.10.13 pip install "llama-index>=0.10.13"
PyPI llama-index-llms-rungpt < 0.1.3 0.1.3 pip install "llama-index-llms-rungpt>=0.1.3"
PyPI llama-index-llms-rungpt < 0.1.3 0.1.3 pip install "llama-index-llms-rungpt>=0.1.3"

Per OSV / GitHub Advisories (GHSA-pw38-xv9x-h8ch, PYSEC-2024-324, PYSEC-2026-1565). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
llamaindexllamaindex≥ 0.9.47 < 0.10.13

Official sources

References

Links published by the sources. Open them with care.