CVE-2024-12910: run-llama/llama_index · Uncontrolled Recursion
Affects run-llama/llama_indexSource CVE Database V5
Not known to be exploited · CVSS 4.2 Medium.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 52% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.0/AV:P/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
AI-suggested
To mitigate this vulnerability, organizations should implement strict input validation on URL parameters to prevent the root URL from being passed unchecked to the get_article_urls method. Introducing recursion depth limits or timeouts within the method can prevent infinite loops from exhausting resources. Monitoring application logs for unusual recursive call patterns or resource spikes can help detect attempted exploitation. Until an official patch is released, consider isolating or sandboxing the affected component to limit impact. If feasible, review and update the run-llama/llama_index dependency regularly and subscribe to vendor advisories for patches. Additionally, applying runtime protections such as resource quotas or container limits can reduce the risk of system-wide crashes. Developers should also conduct code audits focusing on recursive functions and input handling to identify similar vulnerabilities.
Description
A vulnerability in the `KnowledgeBaseWebReader` class of the run-llama/llama_index repository, version latest, allows an attacker to cause a Denial of Service (DoS) by controlling a URL variable to contain the root URL. This leads to infinite recursive calls to the `get_article_urls` method, exhausting system resources and potentially crashing the application.