{"id":"CVE-2025-68700","aliases":["CVE-2025-68700"],"related":[],"kind":"vulnerability","state":"published","title":"RAGFlow Remote Code Execution Vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"RAGFlow es un motor RAG (Generación Aumentada por Recuperación) de código abierto. En versiones anteriores a la 0.23.0, un usuario autenticado con bajos privilegios (cuenta de inicio de sesión normal) puede ejecutar comandos de sistema arbitrarios en el proceso del host del servidor a través del componente Canvas CodeExec del frontend, eludiendo completamente el aislamiento de la sandbox. Esto ocurre porque los datos no confiables (stdout) se analizan usando eval() sin filtrado ni sandboxing. El diseño previsto era 'convertir automáticamente los resultados de cadena en objetos Python', pero esto ejecuta efectivamente código controlado por el atacante. Los endpoints adicionales carecen de control de acceso o contienen lógica de permisos invertida, expandiendo significativamente la superficie de ataque y permitiendo la explotación encadenada. La versión 0.23.0 contiene un parche para el problema.","source":"nvd"}],"published":"2025-12-31T21:17:40.480Z","modified":"2026-09-23T14:10:00.190Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P","score":8.6,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"version":"< 0.23.0","status":"affected"}],"vendor":"infiniflow","product":"ragflow","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"0.23.0"}],"vendor":"infiniflow","product":"ragflow","cpe":"cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/infiniflow/ragflow/security/advisories/GHSA-8xw3-v6c2-j84j","tags":["exploit","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/infiniflow/ragflow/commit/7a344a32f9f83529e12ca12f40f2657eb79fe811","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-01-02T14:18:09.683Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68700","url":"https://www.cve.org/CVERecord?id=CVE-2025-68700","licence":"CVE Terms of Use","modified":"2026-01-02T14:35:48.551Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68700","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68700","licence":"Public domain","modified":"2026-09-23T14:10:00.190Z"}],"updatedAt":"2026-11-25T22:59:10.118Z","epss":{"score":0.00822,"percentile":0.54462,"date":"2026-11-30T12:00:22.000Z"}}