Free AI Safety Workshop — in collaboration with explainx.aiSave your seat
AgentbeamBeta
AI agent vulnerability · LlamaIndex

CVE-2025-1752: LlamaIndex Vulnerable to Denial of Service (DoS)

highCVSS 3.0 7.5GHSA-7c85-87cp-mr6g

A Denial of Service (DoS) vulnerability has been identified in the KnowledgeBaseWebReader class of the run-llama/llamaindex project, affecting version ~ latest(v0.12.15). The vulnerability arises due to inappropriate secure coding measures, specifically the lack of proper implementation of the maxdepth parameter in the getarticleurls function.

Published May 10, 2025 · Updated Oct 15, 2025

Affected packages

llama-index

Ecosystem
PyPI
Affected
>= 0.12.15, < 0.12.21
Fixed in
0.12.21
Check
pip show llama-index

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More LlamaIndex vulnerabilities

All LlamaIndex entries