CVE-2025-68700: RAGFlow Remote Code Execution Vulnerability

Published Dec 31, 2025
·
Updated

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In versions prior to 0.23.0, a low-privileged authenticated user (normal login account) can execute arbitrary system commands on the server host process via the frontend Canvas CodeExec component, completely bypassing sandbox isolation. This occurs because untrusted data (stdout) is parsed using eval() with no filtering or sandboxing. The intended design was to "automatically convert string results into Python objects," but this effectively executes attacker-controlled code. Additional endpoints lack access control or contain inverted permission logic, significantly expanding the attack surface and enabling chained exploitation. Version 0.23.0 contains a patch for the issue.

Affected Software

2 affected components
github/RAGFlow<0.23.0
infiniflow ragflow<0.23.0

Event History

Dec 31, 2025
CVE Published
via MITRE·09:17 PM
Data Sourced
via MITRE·09:17 PM
DescriptionWeakness
Data Sourced
via NVD·10:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-68700?

CVE-2025-68700 is classified as a high severity vulnerability due to its potential for arbitrary command execution.

2

How do I fix CVE-2025-68700?

To mitigate CVE-2025-68700, upgrade RAGFlow to version 0.23.0 or later, where the vulnerability has been addressed.

3

Who is affected by CVE-2025-68700?

Users of RAGFlow versions prior to 0.23.0 are vulnerable to CVE-2025-68700.

4

What is the exploit vector for CVE-2025-68700?

CVE-2025-68700 can be exploited by low-privileged authenticated users through the Canvas CodeExec component.

5

What type of vulnerability is CVE-2025-68700?

CVE-2025-68700 is a command injection vulnerability allowing execution of arbitrary system commands.

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