---
title: "CVE-2024-3098: run-llama run-llama/llama_index Vulnerability"
publisher: SpecStream
source: "CVE Program (CVEProject cvelistV5)"
source_url: "https://github.com/CVEProject/cvelistV5"
---

# CVE-2024-3098: run-llama run-llama/llama\_index Vulnerability

SpecStream dataset, built from [CVE Program (CVEProject cvelistV5)](https://github.com/CVEProject/cvelistV5), updated December 6, 2026.

CVE-2024-3098 is a published software vulnerability affecting run-llama run-llama/llama\_index. CVSS base score: 9.8 (CRITICAL). Published April 10, 2024 by CVE Program. A vulnerability was identified in the \`exec\_utils\` class of the \`llama\_index\` package, specifically within the \`safe\_eval\` function, allowing for prompt injection leading to arbitrary code execution. This issue arises due to insufficient validation of input, which can be exploited to bypass method.

[CVE Vulnerabilities](/data/cve)

SpecStream is the live web data engine for teams and agents.

- CVE ID: CVE-2024-3098
- Status: Published
- Affected vendor: run-llama
- Affected product: run-llama/llama\_index
- Assigner CNA: CVE Program
- Published date: April 10, 2024
- Last updated: August 1, 2024
- CVSS base score: 9.8 (CRITICAL)
- CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE): CWE-94 Improper Control of Generation of Code

## Vulnerability data and live monitoring

Query CVE feeds, affected software packages and severity updates through the SpecStream API or export structured CSV files.

- [https://specstream.ai/data/cve](https://specstream.ai/data/cve)
- [https://specstream.ai/signup?src=cve-vulnerabilities](https://specstream.ai/signup?src=cve-vulnerabilities)

CVE Terms of Use (Public Vulnerability Records).

## Access via API, MCP, or CSV

Query live web and register data via the SpecStream Search API ($1 per 1,000 fast searches), Extract API ($0.80 per 1,000 Markdown pages), or MCP server (`npx -y @specstream/mcp-server`). Start with [$2 free API credit (no card)](https://specstream.ai/signup) or unlock 5,000 CSV rows/mo plus $49 API credit with the [Monthly Pro Pass ($49/mo)](https://specstream.ai/v1/billing/credit-plans/checkout?plan=starter).

Free to quote with credit and a link. Copying in bulk needs a [data licence](https://specstream.ai/data/licence).

## Business lists in the United States

- [Bangladeshi restaurants in the United States](https://specstream.ai/data/businesses/bangladeshi-restaurants/united-states)
- [Vehicle manufacturers in the United States](https://specstream.ai/data/businesses/vehicle-manufacturers/united-states)
- [Restaurant equipment suppliers in the United States](https://specstream.ai/data/businesses/restaurant-equipment-suppliers/united-states)
- [Mortgage brokers in the United States](https://specstream.ai/data/businesses/mortgage-brokers/united-states)
- [Home goods stores in the United States](https://specstream.ai/data/businesses/home-goods-stores/united-states)
- [Ear, nose and throat clinics in the United States](https://specstream.ai/data/businesses/ear-nose-and-throat-clinics/united-states)
