CVE Catalog

CVE-2025-68700

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
0.70%

52th percentile - higher than 52% of all known CVEs

Summary

RAGFlow is an open-source RAG engine. In versions prior to 0.23.0, a low-privileged authenticated user can execute arbitrary system commands on the server host via the Canvas CodeExec component, completely bypassing sandbox isolation. This occurs because untrusted data (stdout) is parsed using eval() with no filtering or sandboxing. Additional endpoints lack access control or have inverted permission logic, expanding the attack surface.

Risk Assessment

An attacker could gain full control of the server by executing arbitrary commands, potentially compromising data confidentiality, integrity, and availability.

Recommendation

Upgrade RAGFlow to version 0.23.0 or later immediately, and restrict user account access.

Other vulnerabilities in RAGFlow

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS