← Vulnerability feed

Vulnerability record · CVE-2024-4181 · published 16 May 2024

CVE-2024-4181: Llamaindex code injection vulnerability

LLlamaindex · Llamaindex

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.

8.8 CVSS 3.0 High EPSS 2.1% · top 18.7% CWE-94 · Code injection
8.8CVSS 3.0 base score
2.1%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
4References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-4181 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2025-1793Llamaindex sql injection vulnerabilityMultiple vector store integrations in run-llama/llama_index version v0.12.21 have SQL injection vulnerabilities. These vulnerabilities allow an attac…EPSS 0.66%9.8CVE-2025-1750Llamaindex sql injection vulnerabilityAn SQL injection vulnerability exists in the delete function of DuckDBVectorStore in run-llama/llama_index version v0.12.19. This vulnerability allow…EPSS 0.82%9.8CVE-2024-12909Llamaindex sql injection vulnerabilityA vulnerability in the FinanceChatLlamaPack of the run-llama/llama_index repository, versions up to v0.12.3, allows for SQL injection in the `run_sql…EPSS 1.4%9.8CVE-2024-11958Llamaindex sql injection vulnerabilityA SQL injection vulnerability exists in the `duckdb_retriever` component of the run-llama/llama_index repository, specifically in the latest version.…EPSS 1.4%9.8CVE-2024-3271Llamaindex command injection vulnerabilityA command injection vulnerability exists in the run-llama/llama_index repository, specifically within the safe_eval function. Attackers can bypass th…EPSS 2.9%9.8CVE-2024-23751Llamaindex sql injection vulnerabilityLlamaIndex (aka llama_index) through 0.9.34 allows SQL injection via the Text-to-SQL feature in NLSQLTableQueryEngine, SQLTableRetrieverQueryEngine, …EPSS 0.66%8.8CVE-2024-45201Llamaindex code injection vulnerabilityAn issue was discovered in llama_index before 0.10.38. download/integration.py includes an exec call for import {cls_name}.EPSS 0.53%8.7CVE-2024-58339Llamaindex allocation without limits vulnerabilityLlamaIndex (run-llama/llama_index) versions up to and including 0.12.2 contain an uncontrolled resource consumption vulnerability in the VannaPack Va…EPSS 0.63%

Source: NIST National Vulnerability Database (record CVE-2024-4181), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.