What’s Vulnerable › Vulnerabilities
CVE-2025-68700: RAGFlow Remote Code Execution Vulnerability
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-12-31 · updated 2026-09-23
- Weakness: CWE-78
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.
Affected products
- infiniflow ragflow: before 0.23.0 — fixed in 0.23.0
How to fix
Upgrade to a fixed version: infiniflow ragflow 0.23.0. Check the vendor advisory for mitigations.
References
- https://github.com/infiniflow/ragflow/commit/7a344a32f9f83529e12ca12f40f2657eb79fe811
- https://github.com/infiniflow/ragflow/security/advisories/GHSA-8xw3-v6c2-j84j
- https://github.com/infiniflow/ragflow/security/advisories/GHSA-8xw3-v6c2-j84j
Get alerted when CVE-2025-68700 or the next vulnerability affects your stack