CVE-2024-10131: Remote Code Execution in infiniflow/ragflow

Published Oct 19, 2024
·
Updated

The addllm function in llmapp.py in infiniflow/ragflow version 0.11.0 contains a remote code execution (RCE) vulnerability. The function uses user-supplied input req['llmfactory'] and req['llmname'] 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 'llmfactory' that, when used as an index to these model dictionaries, results in the execution of arbitrary code.

Affected Software

1 affected component
infiniflow ragflow=0.11.0

Event History

Oct 19, 2024
CVE Published
via MITRE·03:50 AM
Data Sourced
via MITRE·03:50 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-10131?

CVE-2024-10131 has been identified as a remote code execution (RCE) vulnerability, which is considered critical.

2

How do I fix CVE-2024-10131?

To fix CVE-2024-10131, update your Infiniflow Ragflow installation to a patched version that addresses this vulnerability.

3

What software is affected by CVE-2024-10131?

CVE-2024-10131 affects Infiniflow Ragflow version 0.11.0.

4

Is CVE-2024-10131 exploitable remotely?

Yes, CVE-2024-10131 can be exploited remotely due to how the `add_llm` function processes user input.

5

What are the potential impacts of CVE-2024-10131?

Exploitation of CVE-2024-10131 may allow an attacker to execute arbitrary code on the vulnerable system.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203