Advisory

PYSEC-2026-1565

Also known as: CVE-2024-4181, GHSA-pw38-xv9x-h8ch, PYSEC-2024-324

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: CVSS v3 score 8.8, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Dates

Published
2026-07-07 11:45 UTC
Modified
2026-07-13 07:26 UTC

Affected packages and fixes

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: PyPA Advisory Database · CC BY 4.0

Sources & licences