Type: Incorrect Access Control
Product: RAGFlow
Affected versions: 0.24.0
Affected component: api/apps/document_app.py:get
Suggested CWE: CWE-284 (Incorrect Access Control)
Reference: infiniflow/ragflow#15267
infiniflow ragflow 0.24.0 is vulnerable to Incorrect Access Control via /v1/document/get/<doc_id>.
Condensed from the authorized local validation used for the original report; local filesystem paths are replaced with <local-path>.
EXPECTED SUCCESSFUL RESULT:
- The response returns victim-owned data, or the replayed mutation succeeds against a victim-owned object.
- The operation succeeds even though the caller identity is unauthenticated or belongs to a different principal than the victim. ROOT CAUSE CHECK:
- Source anchor: api/apps/document_app.py:726 (get).
- The externally reachable route accepts a caller-selected resource identifier and reaches the capability sink without binding that resource back to the caller's authority cont REVIEWER NOTE: Use Burp Suite or browser DevTools whenever the entry surface is HTTP, WebSocket, Socket.IO, or another browser-backed route; otherwise follow the preserved local harness or Po
Ro1ME