Live threats

All CVEs / Infiniflow

CVE-2024-10131Infiniflow Ragflow

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 77
Auth required
Yes
Published
Oct 19, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

The `add_llm` function in `llm_app.py` in infiniflow/ragflow version 0.11.0 contains a remote code execution (RCE) vulnerability. The function uses user-supplied input `req['llm_factory']` and `req['llm_name']` to dynamically instantiate classes from various model dictionaries. This approach allows an attacker to potentially execute arbitrary code due to the lack of comprehensive input validation or sanitization. An attacker could provide a malicious value for 'llm_factory' that, when used as an index to these model dictionaries, results in the execution of arbitrary code.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ragflow.

Affected products (CPE)

VendorProductVersions
infiniflowragflow0.11.0

Official sources

References

Links published by the sources. Open them with care.