Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privilege RAGFlow user
-
DeliveryCraft update_metadata_setting request
-
ExploitReference another session's knowledge base
-
ExecutionBypass ownership check
-
ImpactTamper cross-session metadata
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 an authenticated low-privilege account on a reachable RAGFlow instance (version 0.24.0 or earlier) and the ability to invoke the update_metadata_setting operation in api/apps/kb_app.py. The core condition is multi-session or multi-tenant usage where the endpoint is exposed to a user who does not own the targeted knowledge base/metadata entry; the flaw is the missing ownership/authorization check on that entry. Limiting factors: valid credentials are needed (PR:L, not unauthenticated), impact is confined to integrity (metadata tampering) with no confidentiality or availability loss per the CVSS vector, exploitability depends on the specific 'exposed entry' as noted in the description, and the operation is not automatable at scale (SSVC Automatable=no). |
| Impact | This is a moderate-severity, authenticated access-control flaw (CWE-284) in RAGFlow's update_metadata_setting endpoint. The provided CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N = 6.5) indicates a network-reachable, low-complexity bug requiring low-privilege authentication (PR:L) with high integrity impact but no confidentiality or availability impact - consistent with the description of unauthorized cross-session or privilege-crossing write operations. Multiple signals point AWAY from mass exploitation: EPSS is very low (0.14%, 3rd percentile), the CVE is NOT in CISA KEV, and SSVC rates Automatable=no with only Partial technical impact. However, a POC does exist (a public gist is referenced and SSVC Exploitation=poc), so the exploitation status is confirmed at the proof-of-concept level, not active exploitation. Net: this is a real but second-tier priority - a genuine authorization bug with available exploit code, but low real-world exploitation probability, requiring an existing authenticated account, and limited to integrity in a niche product. The signals are internally consistent (low EPSS + no KEV + no-automatable + PR:L all align), so there is no major conflict to flag beyond the generally poor NVD metadata (n/a vendor/product/version). |
| Exploit ScenarioDerived | An attacker who holds a valid low-privilege RAGFlow account authenticates and sends a crafted request to the update_metadata_setting endpoint referencing a knowledge base or metadata entry belonging to another tenant/session. Because the endpoint fails to enforce ownership/authorization, the attacker modifies metadata across session or privilege boundaries. A public proof-of-concept exists (referenced gist), lowering the barrier to reproduction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 02, 2026
Authenticated low-privilege users can alter metadata settings of knowledge bases they do not own in RAGFlow 0.24.0 and earlier due to missing authorization in the update_metadata_setting function (api/apps/kb_app.py). This remote integrity-only flaw requires network access and valid credentials (CVSS 6.5), with no confidentiality or availability impact, and publicly available exploit code exists per SSVC (Exploitation: poc) though it is not automatable. EPSS is 0.14% (3rd percentile), and no active exploitation (CISA KEV) is reported.
RemediationAI
No vendor-released patch has been identified at time of analysis. To mitigate, implement a custom authorization check in api/apps/kb_app.py that validates the authenticated user's ownership of the target knowledge base or metadata entry before allowing update_metadata_setting; this requires code changes and could break legitimate multi-user workflows if not carefully scoped. Additionally, restrict access to the endpoint at the network or reverse-proxy layer so only trusted administrative users can reach it, and enforce strict tenant isolation in multi-tenant deployments. Monitor the upstream GitHub issue (https://github.com/infiniflow/ragflow/issues/15268) for an official fix; side effects of network restriction include reduced functionality for normal users, while code-level fixes demand ongoing maintenance.
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 an open-source retrieval-augmented generation (RAG) engine that manages knowledge bases. The vulnerability resides in the update_metadata_setting endpoint within api/apps/kb_app.py, which fails to verify that the authenticated user has ownership or authorization over the targeted metadata entry-a classic CWE-284 (Improper Access Control) issue. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N) indicates a network-accessible, low-complexity attack requiring low privileges but no user interaction, resulting in high integrity impact only. The CPE data is unassigned (n/a), and the SSVC decision framework rates exploitation as PoC-based, not automatable, with partial technical impact.
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:N/I:H/A:N
Network endpoint reachable with low complexity; requires an authenticated low-privilege account (PR:L); impact is unauthorized metadata modification so I:H with C:N/A:N.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
Ragflow 0.24.0 and prior contains improper access control in update_metadata_setting (api/apps/kb_app.py). Depending on the exposed entry, an attacker can perform unauthorized cross-session or privilege-crossing operations.
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-91115
GHSA-86mq-h2wm-8hx9
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB