CyberSecBulletin
CVE-2025-3108NVD status: Analyzed

run-llama/llama_index: Incomplete Documentation of Program Execution

CVE-2025-3108 is a high-severity incomplete documentation of program execution vulnerability in run-llama/llama_index from Run-llama, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, but only if a user takes part, for example by opening a link or file. The record lists version v0.12.41 as the first without the flaw, so updating run-llama/llama_index to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.5% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update run-llama/llama_index to v0.12.41 or a later version.
  2. Update Llamaindex to 0.12.41 or a later version.
  3. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
  4. Because the attack needs a user to take part, warn users about unexpected links and files related to this product until it is patched.

Affected products and versions

VendorProductAffected versionsFixed in
Run-llamarun-llama/llama_indexbefore v0.12.41v0.12.41
LlamaindexLlamaindex0.12.27 up to, but not including, 0.12.410.12.41

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
HighSuccess depends on conditions outside the attacker's control.
Privileges required
NoneNo account or login is needed.
User interaction
RequiredA user must take an action such as opening a file or link.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
HighData or code can be modified at will.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.17.5HighNVD
CVSS 3.05.0MediumCNA (huntr.dev)

Official description

A critical deserialization vulnerability exists in the run-llama/llama_index library's JsonPickleSerializer component, affecting versions v0.12.27 through v0.12.40. This vulnerability allows remote code execution due to an insecure fallback to Python's pickle module. JsonPickleSerializer prioritizes deserialization using pickle.loads(), which can execute arbitrary code when processing untrusted data. Attackers can exploit this by crafting malicious payloads to achieve full system compromise. The root cause includes an insecure fallback mechanism, lack of validation or safeguards, misleading design, and violation of Python security guidelines.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Incomplete Documentation of Program Execution

The document does not fully define all mechanisms that are used to control or influence how product-specific programs are executed, such as environmental variables, configuration files, registry keys, command-line switches or options, or system settings.

More Incomplete Documentation of Program Execution vulnerabilities (CWE-1112)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: poc, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Technical write-ups (may include proof of concept)

Other vulnerabilities in run-llama/llama_index

All run-llama/llama_index vulnerabilities

Recent Incomplete Documentation of Program Execution vulnerabilities

Spotted an error? Tell us.