8.8
CWE
77 20
Advisory Published
Updated

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

First published: Sat Oct 19 2024(Updated: )

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.

Credit: security@huntr.dev

Affected SoftwareAffected VersionHow to fix
RAGFlow=0.11.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • 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.

  • 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.

  • What software is affected by CVE-2024-10131?

    CVE-2024-10131 affects Infiniflow Ragflow version 0.11.0.

  • Is CVE-2024-10131 exploitable remotely?

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203