CVE-2024-10131
published high CVSS 3.0 · 8.8Remote Code Execution in infiniflow/ragflow
Package status and fixes
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| infiniflow | infiniflow/ragflow | unspecified through latest (affected · custom) | @huntr_ai · cna |
| infiniflow | ragflow | 0.11.0 (affected)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-94 CWE-94 Improper Control of Generation of Code
References
1Provider assertions
2@huntr_ai · cna
Remote Code Execution in infiniflow/ragflow
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 5b97d7fbb7c54ecf50b6a06c1941d5d8b146b38e85c6bd17f6ff5594847626de
- Ingested
- 23 Sep 2026, 08:16:32 UTC
- Source record
- Official CVE record