Skip to content
LlamaIndexGHSA-7c85-87cp-mr6g

LlamaIndex Vulnerable to Denial of Service (DoS)

High7.5CVE-2025-1752 · Published May 10, 2025 · updated Jul 7, 2026

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.

GitHub advisory

Affected versions

PackageAffectedFixed in
llama-index
PyPI
>= 0.12.15, < 0.12.210.12.21
Details and references

More LlamaIndex advisories

All LlamaIndex
Advisory
llama_index vulnerable to SQL Injection
Critical9.8Jun 5, 2025
LlamaIndex: SQL injection
Critical9.8Jun 2, 2025
LlamaIndex: command injection
High7.8May 28, 2025
LlamaIndex vulnerable to Creation of Temporary File in Directory with Insecure Permissions
High7.1Mar 20, 2025
LlamaIndex Uncontrolled Resource Consumption vulnerability
Medium5.9Mar 20, 2025
LlamaIndex Improper Handling of Exceptional Conditions vulnerability
High7.5Mar 20, 2025

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.