CVE-2025-68700

HIGH CVSS 4.0: 8.6 EPSS 0.72%
Updated Sep 23, 2026
Infiniflow
Parameter Value
CVSS 8.6 (HIGH)
Affected Versions before 0.23.0
Fixed In 0.23.0
Type CWE-78 (OS Command Injection)
Vendor Infiniflow
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Infiniflow Ragflow
cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*
— 0.23.0