CVE Tools

CVE-2025-68700

RAGFlow Remote Code Execution Vulnerability

No known exploitation. EPSS puts it in the 51st percentile. A vendor fix is available.

Published Updated Sources: CVE.org, NVD

What to do

The vendor has published a fix. Version details are below where the sources state them.

Steps

Written by AI from the record
  1. Check which RAGFlow version you are running (and confirm whether external users can log in to it).
  2. If you are on a version earlier than 0.23.0, upgrade RAGFlow to 0.23.0 or later using the vendor fix linked in the security advisory/commit.
  3. After upgrading, review application and server logs for suspicious command execution activity around the RAGFlow Canvas CodeExec usage.
  4. If you cannot upgrade immediately, restrict access so only trusted admins can reach RAGFlow (block unneeded public access and limit who can log in), and monitor closely for repeated CodeExec attempts.

What it is

From the CVE record

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.

In plain language

Written by AI from the record

CVE-2025-68700 is a serious security flaw in RAGFlow where a normal logged-in user can run commands on the server; a typical small business running RAGFlow should treat this as urgent and upgrade to version 0.23.0 or later.

In RAGFlow, pre-0.23.0 versions allow a low-privileged authenticated user to achieve remote code execution on the server host process via the frontend Canvas CodeExec component, where untrusted output is parsed unsafely (eval-style parsing) with insufficient sandboxing/access control, enabling full command execution; this is reported as being exploited in the wild by the Qilin actor.

If you're affected

  • Full server command execution
  • Data theft from the host
  • Service disruption or downtime
  • Risk of ransomware deployment

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS51st
CISA KEV

Not in the catalog. CISA has not confirmed exploitation.

Public exploits

No public exploit or proof of concept found in the sources we track.

EPSS

0.7% chance of exploitation activity in the next 30 days, which ranks it in the 51st percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

7 events over 266 days, from the signal feeds we watch.

  1. Patch availablerecord updated
  2. Patch availablerecord updated
  3. Publishedweakness classified, att&ck mapped

Affected products

Technical detail

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Scored 8.8 by NVD.

How it is reached

  • Attack Vector NetworkExploitable remotely over the network without any special conditions
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required LowRequires basic user-level privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Ragflow, not every advisory.

We use analytics cookies to see which pages and articles actually help people. Decline and none of them run — the site works the same. What we store