CVE-2025-68700

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

Configuration 1 (hide)

cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*

History

06 Jan 2026, 18:02

Type Values Removed Values Added
CPE cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*
References () https://github.com/infiniflow/ragflow/commit/7a344a32f9f83529e12ca12f40f2657eb79fe811 - () https://github.com/infiniflow/ragflow/commit/7a344a32f9f83529e12ca12f40f2657eb79fe811 - Patch
References () https://github.com/infiniflow/ragflow/security/advisories/GHSA-8xw3-v6c2-j84j - () https://github.com/infiniflow/ragflow/security/advisories/GHSA-8xw3-v6c2-j84j - Exploit, Vendor Advisory
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 8.8
First Time Infiniflow ragflow
Infiniflow

02 Jan 2026, 15:16

Type Values Removed Values Added
References () https://github.com/infiniflow/ragflow/security/advisories/GHSA-8xw3-v6c2-j84j - () https://github.com/infiniflow/ragflow/security/advisories/GHSA-8xw3-v6c2-j84j -

31 Dec 2025, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-12-31 22:15

Updated : 2026-01-06 18:02


NVD link : CVE-2025-68700

Mitre link : CVE-2025-68700

CVE.ORG link : CVE-2025-68700


JSON object : View

Products Affected

infiniflow

  • ragflow
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')