Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid low-privilege RAGFlow account
-
ExploitEnumerate or guess document IDs
-
ExecutionRequest /v1/document/get/<doc_id>
-
ImpactRetrieve 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
infiniflow ragflow 0.24.0 is vulnerable to Incorrect Access Control via /v1/document/get/<doc_id>.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
A vulnerability in infiniflow/ragflow versions v0.12.0 allows for remote code execution. Rated critical severity (CVSS 9
Path traversal vulnerability in RAGFlow RAG engine version 0.23.1 allows unauthenticated attackers to read arbitrary fil
In infiniflow/ragflow versions 0.12.0, the `web_crawl` function in `document_app.py` contains multiple vulnerabilities.
RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. Rated high severity (CVSS 8.9), this vulnerabilit
RAGFlow versions prior to 0.22.0 generate API keys and beta assistant/agent share tokens with a predictable scheme, lett
The `add_llm` function in `llm_app.py` in infiniflow/ragflow version 0.11.0 contains a remote code execution (RCE) vulne
Remote code execution in RAGFlow versions prior to 0.23.0 allows a low-privileged authenticated user (a normal login acc
RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding. Rated high s
A Server-Side Request Forgery (SSRF) vulnerability exists in infiniflow/ragflow version 0.12.0. Rated high severity (CVS
RAGFlow 0.13.0 suffers from improper access control in document-hooks.ts, allowing unauthorized access to user documents
A vulnerability in infiniflow/ragflow version RAGFlow-0.13.0 allows for partial account takeover via insecure data query
Server-side template injection in RAGFlow 0.24.0 and earlier allows any authenticated user to execute arbitrary operatin
EUVD-2026-91118
GHSA-q37m-rx33-792r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB