Skip to main content

RAGFlow CVE-2026-51897

| EUVDEUVD-2026-91113 CRITICAL
Improper Access Control (CWE-284)
2026-10-01 mitre GHSA-p3qm-chr8-gf9x
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach exposed evaluation_app endpoint
  2. Exploit
    Bypass get_dataset access control
  3. Execution
    Supply attacker-controlled code or command
  4. Impact
    Execute arbitrary commands on RAGFlow host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Access control enforcement
MITRE ATT&CK

1 technique across 1 tactic: Defense Evasion

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires network reachability to a RAGFlow 0.24.0 instance exposing the evaluation_app's get_dataset entry point; because the vulnerability is a missing access-control/authorization check, no valid credentials are needed (CVSS PR:N). The key limiting factor is that the code/command-execution outcome is conditioned on 'the exposed entry' - i.e., the specific reachable endpoint or deployment path that leads to execution must be present, so instances that do not expose the evaluation_app interface to the attacker, or that place RAGFlow behind authentication/network segmentation (its common internal deployment model), are not exploitable. Version is specifically RAGFlow 0.24.0.

Impact

The CVSS 3.1 base score of 9.8 (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H) paints a worst-case picture: network-reachable, no authentication, no user interaction, and full compromise via attacker-controlled code or command execution - consistent with the CWE-284 improper access control root cause, where the missing authorization check effectively yields PR:N. However, the real-world signals temper this: EPSS is only 0.32% (22nd percentile), indicating low modeled probability of exploitation in the near term, and the CVE is NOT listed in CISA KEV, so there is no confirmed active exploitation. A public artifact - a GitHub gist from researcher 'Ro1ME' - is referenced, so publicly available exploit code exists, which lowers the barrier to opportunistic attacks even while widespread exploitation is not yet observed. The conflict to flag: the description's phrase 'Depending on the exposed entry' implies the code-execution outcome is conditional on which endpoint/configuration is reachable, which is NOT reflected in the AC:L rating - the practical attack complexity may be higher than the vector suggests, so verify the exact trigger path against the gist/vendor. Net assessment: a genuinely severe flaw by impact, but current urgency is moderated by low EPSS, absence from KEV, and RAGFlow's typically internal/non-internet-facing deployment; POC availability is the main factor raising priority above a theoretical high-CVSS issue.

Exploit ScenarioDerived

An attacker who can reach a RAGFlow 0.24.0 instance's evaluation_app interface sends a crafted request to the get_dataset functionality, abusing the missing access-control check to reach an entry point that executes attacker-supplied code or system commands on the host. Because the flaw requires no authentication or user interaction over the network, an exposed instance can be compromised directly; a public gist POC exists, reducing the effort needed to reproduce the attack.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 05, 2026

Unauthenticated network attackers can reach the get_dataset entry point in RAGFlow 0.24.0's evaluation_app API and, depending on which entry is exposed, trigger attacker-controlled code or command execution as a result of a missing authorization check (CWE-284). The flaw scores CVSS 3.1 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), reflecting a worst-case path where no credentials and no user interaction are required, though exploitability is conditional on the evaluation_app interface being reachable by the attacker and on the specific exposed entry that enables execution. There is no public exploit identified at time of analysis and the EPSS score is low (0.32%, 22nd percentile); CISA KEV status is not indicated.

RemediationAI

No vendor-released patch identified at time of analysis, so remediation must rely on compensating controls until an upstream fix or advisory appears. The most effective control is to ensure the evaluation_app get_dataset endpoint is not reachable from untrusted networks: place RAGFlow behind an authenticating reverse proxy or API gateway that requires valid credentials for all /api/apps/evaluation_app routes, or bind the service to a management-only interface and block external access with firewall/network-segmentation rules - the trade-off being that legitimate evaluation workflows must then be driven from authenticated, trusted clients. If the evaluation app is not operationally required, disable or unregister the evaluation_app blueprint/route entirely, accepting the loss of evaluation functionality; if it must remain, restrict it to a small set of trusted source IPs and monitor for anomalous calls to get_dataset. Because the flaw is an access-control failure (CWE-284), signature- or input-based WAF rules are unlikely to be reliable and should not replace authentication and network controls. Track the referenced gist, the NVD/EUVD records (EUVD-2026-91113), and vendor channels for a patched RAGFlow release, and upgrade as soon as an exact fixed version is published; do not assume any version is safe absent vendor confirmation.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RAGFlow is an open-source retrieval-augmented-generation engine built around deep document understanding, exposing a Python/Flask-style API surface (api/apps/...) that includes per-application blueprints such as evaluation_app. CVE-2026-51897 is rooted in CWE-284 (Improper Access Control): the get_dataset handler in api/apps/evaluation_app fails to enforce an authorization/permission check on the requesting principal before performing its work, so the endpoint's functionality - which in some deployment paths leads to attacker-influenced code or command execution - is reachable without valid credentials (consistent with the PR:N vector). Because the code/command-execution outcome is conditioned on 'the exposed entry', the practical impact depends on how the RAGFlow instance is deployed and which evaluation_app routes are reachable; a hardened or segmented deployment that does not expose evaluation_app to untrusted networks removes the attack path. The supplied CPE string (cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*) and EUVD affected-version list carry no usable product identification, so version targeting rests on the explicit RAGFlow 0.24.0 statement in the CVE description.

Know when Ragflow gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 9.8 CRITICAL

Missing access-control check gives unauthenticated network access (PR:N, AV:N, UI:N), and command/code execution yields full C/I/A impact; AC:L retained per description though 'depending on exposed entry' could justify AC:H.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
CVSS changed
Oct 05, 2026 - 19:22 NVD
9.8 (CRITICAL)
CVE Published
Oct 01, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Oct 01, 2026 - 00:00 cve.org
CRITICAL 9.8

DescriptionCVE.org

RAGFlow 0.24.0 contains improper access control in get_dataset (api/apps/evaluation_app). Depending on the exposed entry, an attacker can trigger attacker-controlled code or command execution

Executive ViewAI

Why It Matters

RAGFlow 0.24.0's evaluation_app API contains a critical missing authorization vulnerability that could allow unauthenticated network attackers to execute arbitrary code, potentially leading to full compromise of the platform and any data it processes. Although no public exploit has been identified and the EPSS score is low, the absence of a vendor patch means organizations with this interface exposed to untrusted networks face a severe risk. Leadership should care because successful exploitation could result in data breaches, service disruption, and regulatory consequences, affecting customers and business operations.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access to the evaluation_app API to trusted sources, disabling the evaluation_app if not required, deploying WAF rules to block exploitation attempts against the get_dataset endpoint, and enabling detailed logging and monitoring for anomalous activity.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
Low
open-source RAG engine, niche and typically internal deployment
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

CVE-2024-12433 CRITICAL POC
9.8 Mar 20

A vulnerability in infiniflow/ragflow versions v0.12.0 allows for remote code execution. Rated critical severity (CVSS 9

CVE-2026-24770 CRITICAL POC
9.8 Jan 27

Path traversal vulnerability in RAGFlow RAG engine version 0.23.1 allows unauthenticated attackers to read arbitrary fil

CVE-2024-12450 CRITICAL POC
9.8 Mar 20

In infiniflow/ragflow versions 0.12.0, the `web_crawl` function in `document_app.py` contains multiple vulnerabilities.

CVE-2025-27135 HIGH POC
8.9 Feb 25

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. Rated high severity (CVSS 8.9), this vulnerabilit

CVE-2025-69286 HIGH POC
8.9 Dec 31

RAGFlow versions prior to 0.22.0 generate API keys and beta assistant/agent share tokens with a predictable scheme, lett

CVE-2024-10131 HIGH POC
8.8 Oct 19

The `add_llm` function in `llm_app.py` in infiniflow/ragflow version 0.11.0 contains a remote code execution (RCE) vulne

CVE-2025-68700 HIGH POC
8.6 Dec 31

Remote code execution in RAGFlow versions prior to 0.23.0 allows a low-privileged authenticated user (a normal login acc

CVE-2025-25282 HIGH POC
8.1 Feb 21

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding. Rated high s

CVE-2024-12779 HIGH POC
7.5 Mar 20

A Server-Side Request Forgery (SSRF) vulnerability exists in infiniflow/ragflow version 0.12.0. Rated high severity (CVS

CVE-2024-53450 HIGH POC
7.5 Dec 09

RAGFlow 0.13.0 suffers from improper access control in document-hooks.ts, allowing unauthorized access to user documents

CVE-2024-12880 MEDIUM POC
6.5 Mar 20

A vulnerability in infiniflow/ragflow version RAGFlow-0.13.0 allows for partial account takeover via insecure data query

CVE-2026-45312 CRITICAL
9.9 May 29

Server-side template injection in RAGFlow 0.24.0 and earlier allows any authenticated user to execute arbitrary operatin

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy