All reports
High

LlamaIndex Vulnerable to Denial of Service (DoS)

Affected versions

Version ranges need review.

Affected versions
>= 0.12.15, < 0.12.21
Fixed version
0.12.21
Affected versions
>=0.12.15 <0.12.21 || =0.12.15 || =0.12.16 || =0.12.17 || =0.12.18 || =0.12.19 || =0.12.20
Fixed version
0.12.21

Exploitation

CVE-2025-1752

Probability of exploitation in the next 30 days: 0.85%

FIRST EPSS · 2026-11-25

Description

A Denial of Service (DoS) vulnerability has been identified in the KnowledgeBaseWebReader class of the run-llama/llama_index project, affecting version ~ latest(v0.12.15). The vulnerability arises due to inappropriate secure coding measures, specifically the lack of proper implementation of the max_depth parameter in the get_article_urls function. This allows an attacker to exhaust Python's recursion limit through repeated function calls, leading to resource consumption and ultimately crashing the Python process.

Links