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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| llama-index PyPI | >= 0.12.15, < 0.12.21 | 0.12.21 |
Details and references
More LlamaIndex advisories
All LlamaIndex| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jun 52025 | llama_index vulnerable to SQL Injection | Critical9.8 | 0.12.28 |
| Jun 22025 | LlamaIndex: SQL injection | Critical9.8 | 0.12.21 |
| May 282025 | LlamaIndex: command injection | High7.8 | No fix yet |
| Mar 202025 | LlamaIndex vulnerable to Creation of Temporary File in Directory with Insecure Permissions | High7.1 | 0.12.3 |
| Mar 202025 | LlamaIndex Uncontrolled Resource Consumption vulnerability | Medium5.9 | 0.12.9 |
| Mar 202025 | LlamaIndex Improper Handling of Exceptional Conditions vulnerability | High7.5 | 0.12.6 |