Remote Code Execution in infiniflow/ragflow
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| infiniflow | infiniflow/ragflow | up to latest | — | No fix listed | CNA |
- infiniflow/ragflow Vendorinfiniflow Affected up to latest Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:infiniflow:ragflow:0.11.0:*:*:*:*:*:*:* | 0.11.0 | Vulnerable | infiniflow |
- cpe:2.3:a:infiniflow:ragflow:0.11.0:*:*:*:*:*:*:* Versions 0.11.0 Vulnerable ·infiniflow
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-10131
- 2026-10-03 Alias added: GHSA-3rqf-vgwx-39xx
References
More infiniflow Ragflow vulnerabilities
- TI-2026-19971 RAGFlow Affected by Zip Slip Remote Code Execution (RCE) in MinerUParser CVSS 3.1CRITICAL 9.8
- TI-2025-30545 Missing brute-force protection in infiniflow RAGFlow CVSS 3.1CRITICAL 9.8
- TI-2024-11535 Remote Code Execution in infiniflow/ragflow CVSS 3.0CRITICAL 9.8
- TI-2025-42731 RAGFlow has Predictable Token Generation Leading to Authentication Bypass Vulnerability CVSS 4.0HIGH 8.9
- TI-2025-19992 RAGFlow SQL Injection vulnerability CVSS 4.0HIGH 8.9
- TI-2024-11552 RCE, Full Read SSRF, and Arbitrary File Read in infiniflow/ragflow CVSS 3.1CRITICAL 9.8
Sources
- CVE-2024-10131 · CVE Program
- CVE-2024-10131 · NVD
- FIRST EPSS
- GHSA-3rqf-vgwx-39xx · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences