Home

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.

PUBLISHED Reserved 2025-12-23 | Published 2025-12-31 | Updated 2026-01-02 | Assigner GitHub_M




HIGH: 8.6CVSS: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

Problem types

CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Product status

< 0.23.0
affected

References

github.com/...agflow/security/advisories/GHSA-8xw3-v6c2-j84j exploit

github.com/...agflow/security/advisories/GHSA-8xw3-v6c2-j84j

github.com/...ommit/7a344a32f9f83529e12ca12f40f2657eb79fe811

cve.org (CVE-2025-68700)

nvd.nist.gov (CVE-2025-68700)

Download JSON

Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.