# CVE-2025-68700: RAGFlow Remote Code Execution Vulnerability

- Severity: High 8.6 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.82%, higher than 54% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-12-31T21:17:40.480Z
- Modified: 2026-09-23T14:10:00.190Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- infiniflow ragflow: < 0.23.0; before 0.23.0

## Every score

- GitHub_M: CVSS:4.0 8.6 High `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`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/infiniflow/ragflow/security/advisories/GHSA-8xw3-v6c2-j84j> (exploit, vendor-advisory)
- <https://github.com/infiniflow/ragflow/commit/7a344a32f9f83529e12ca12f40f2657eb79fe811> (patch)

## Sources

- CVE List: [CVE-2025-68700](https://www.cve.org/CVERecord?id=CVE-2025-68700), CVE Terms of Use, modified 2026-01-02
- NVD: [CVE-2025-68700](https://nvd.nist.gov/vuln/detail/CVE-2025-68700), Public domain, modified 2026-09-23

---

Page: https://cve.day/CVE-2025-68700 · Whole record: https://cve.day/CVE-2025-68700.json · Rebuilt by cve.day 2026-11-25T22:59:10.118Z
