Advisory

GHSA-pw38-xv9x-h8ch

Also known as: CVE-2024-4181, PYSEC-2024-324, PYSEC-2026-1565

Summary

RunGptLLM class in LlamaIndex has a command injection

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-05-16 09:33 UTC
Modified
2026-07-13 07:26 UTC

Affected packages and fixes

llama-index

PyPI · All systems

Affected

  • introduced 0, fixed 0.10.13 (ecosystem)

Fixed versions

0.10.13

Fix

  • Fixed version 0.10.13
    pip install --upgrade llama-index==0.10.13

llama-index-llms-rungpt

PyPI · All systems

Affected

  • introduced 0, fixed 0.1.3 (ecosystem)

Fixed versions

0.1.3

Fix

  • Fixed version 0.1.3
    pip install --upgrade llama-index-llms-rungpt==0.1.3

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences