Infiniflow Ragflow Remote Code Execution Vulnerability
CVE-2024-10131
8.8HIGH
What is CVE-2024-10131?
The add_llm
function in the llm_app.py
file of Infiniflow's Ragflow version 0.11.0 is susceptible to a vulnerability that facilitates remote code execution. This vulnerability arises from the manipulation of user-supplied input within the function, specifically the parameters req['llm_factory']
and req['llm_name']
. Due to inadequate input validation and sanitization, attackers can craft malicious inputs that leverage dynamic class instantiation based on model dictionaries. Such exploitation could lead to the execution of arbitrary code on the server, posing significant risks to the application's integrity.
Affected Version(s)
infiniflow/ragflow <= unspecified