Skip to main content

RAGFlow CVE-2026-51892

| EUVDEUVD-2026-91118 MEDIUM
Improper Access Control (CWE-284)
2026-10-01 mitre GHSA-q37m-rx33-792r
6.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Obtain valid low-privilege RAGFlow account
  2. Exploit
    Enumerate or guess document IDs
  3. Execution
    Request /v1/document/get/<doc_id>
  4. Impact
    Retrieve unauthorized documents of other users

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

Requires a valid authenticated account on the target RAGFlow 0.24.0 instance (PR:L) and network reachability to its API; once authenticated, the attacker invokes the /v1/document/get/<doc_id> endpoint with a document identifier they do not own, and the missing authorization check returns the document regardless of ownership. Limiting factors: authentication is mandatory (this is not unauthenticated), so an account or valid session must first be obtained, and realistic impact depends on the instance being multi-tenant or holding documents of other users; a single-user or isolated deployment exposes little. No user interaction and no special non-default configuration are required beyond having the document-retrieval API in use.

Impact

This is a moderate-severity confidentiality issue, not a top-tier emergency. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N, base 6.5) indicates a network-reachable, low-complexity flaw requiring only low-privilege authentication (PR:L), yielding high confidentiality impact but no integrity or availability impact - consistent with a broken-access-control / IDOR pattern (CWE-284) on the /v1/document/get/<doc_id> endpoint. Exploitation-probability signals are low: EPSS is 0.15% (4th percentile), there is no CISA KEV listing, and no SSVC decision record was provided. These low signals partially conflict with the fact that a public gist and two GitHub issue reports are referenced, which suggests the flaw is publicly documented and likely has proof-of-concept detail available - public documentation can precede any rise in EPSS. The realistic priority is driven less by raw CVSS and more by exposure: for multi-tenant or internet-exposed RAGFlow deployments holding sensitive ingested documents, this is a meaningful data-exposure risk; for single-user or internal-only instances it is low. Note that the attack requires a valid (low-privilege) account per the PR:L metric, which limits mass unauthenticated scanning.

Exploit ScenarioDerived

An attacker who holds a valid low-privilege RAGFlow account (or has obtained any authenticated session) calls /v1/document/get/<doc_id> while iterating or guessing document identifiers, retrieving documents belonging to other users or tenants that they are not authorized to see. A public gist and GitHub issue reports are referenced, indicating proof-of-concept detail is likely available, and the low attack complexity (AC:L) makes the request trivial to reproduce once authenticated.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Oct 05, 2026

Improper access control in InfiniFlow RAGFlow 0.24.0 lets any authenticated user read documents they do not own by calling the /v1/document/get/<doc_id> REST endpoint, because the handler fails to verify that the requested document belongs to the caller. Exploitation requires a valid account on the target instance (CVSS PR:L - this is not an unauthenticated flaw) and network reachability to the API, so real-world impact concentrates on multi-tenant or shared deployments where documents belonging to other users are stored; single-user or isolated installs expose little. No public exploit identified at time of analysis, EPSS is low at 0.15% (4th percentile), and the issue is not listed in CISA KEV.

RemediationAI

No vendor-released patch identified at time of analysis, so remediation currently depends on compensating controls rather than an upgrade path; administrators should check the upstream GitHub issues (https://github.com/infiniflow/ragflow/issues/15267 and https://github.com/infiniflow/ragflow/issues/14618) and the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-51892 for a fix release before deploying. The most effective immediate control is to add object-level authorization in front of the document API - enforce a doc_id-to-owner mapping at a reverse proxy or API gateway (for example, reject requests where the document's tenant/owner does not match the authenticated principal) and log denials; the trade-off is added gateway complexity and possible breakage of legitimate cross-team sharing workflows. Alternatively, restrict network access to the /v1/document/get/ path so only trusted clients or VPN users can reach it, or temporarily disable the endpoint if retrieval is not required - this blocks the attack but degrades legitimate document access. In multi-tenant environments, isolate tenants into separate RAGFlow instances or separate knowledge bases with distinct credentials, which eliminates the cross-owner exposure but increases operational overhead. Also audit existing API tokens and sessions, review document access logs for enumeration of sequential or predictable doc_id values, and treat any document that may have been read by an unauthorized account as disclosed pending triage; there is no integrity or availability impact to remediate, only confidentiality.

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 InfiniFlow's open-source retrieval-augmented-generation engine, typically deployed as a multi-tenant knowledge-base platform where each user or team owns document collections indexed for LLM retrieval. The flaw is classified as CWE-284 (Improper Access Control) and manifests as a missing object-level authorization check on the document retrieval API: the application authenticates the caller but never confirms that the doc_id passed in the URL path belongs to that principal, making it functionally an IDOR-style broken access control on /v1/document/get/<doc_id>. The assessed vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N confirms a network-reachable, low-complexity, no-user-interaction attack that yields high confidentiality impact with no integrity or availability effect, and the high AC:L/low AC:L combination implies document identifiers are either guessable, enumerable, or otherwise obtainable. The supplied CPE is a placeholder (cpe:2.3:a:n/a:n/a) and the ENISA EUVD affected-version field is blank, so the vendor's own advisory rather than automated CPE matching is the reliable source for version scoping; the authoritative version range is RAGFlow 0.24.0 as stated in the CVE description. Underlying technology includes the RAGFlow Python/HTTP backend and its document ingestion and retrieval pipeline, where document records are keyed by identifiers exposed to authenticated users.

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 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 6.5 MEDIUM

Authenticated low-privilege user (PR:L) performs a trivial network IDOR to read other users' documents, so C:H with no integrity or availability impact.

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

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

Lifecycle Timeline

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

DescriptionCVE.org

infiniflow ragflow 0.24.0 is vulnerable to Incorrect Access Control via /v1/document/get/<doc_id>.

Threat Intelligence Overview

EPSS Score
0.2%
Top 96% exploitable
Prevalence
Low
niche but popular open-source AI/RAG engine, limited production footprint
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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
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