CVE-2025-68700 Details
Description
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.
A remote code execution vulnerability exists in RAGFlow versions prior to 0.23.0. A low-privileged authenticated user can execute arbitrary system commands on the server host process through the frontend Canvas CodeExec component, bypassing sandbox isolation. This vulnerability arises because untrusted data from the sandbox is evaluated using eval() without any filtering or sandboxing, allowing execution of attacker-controlled code. Exploitation is possible by printing a command in the CodeExec script, which is then executed on the host system.
Users can update to RAGFlow version 0.23.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 2, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/infiniflow/ragflow/security/advisories/GHSA-8xw3-v6c2-j84j | CISA-ADP | ExploitVendor Advisory |
| https://github.com/infiniflow/ragflow/commit/7a344a32f9f83529e12ca12f40f2657eb79fe811 | [email protected] | Patch |
| https://github.com/infiniflow/ragflow/security/advisories/GHSA-8xw3-v6c2-j84j | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| infiniflow ragflow | < 0.23.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 23, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 6, 2026 | Initial Analysis | [email protected] |
| Jan 2, 2026 | CVE Modified | CISA-ADP |
| Dec 31, 2025 | New CVE Received | [email protected] |