Skip to content

Instantly share code, notes, and snippets.

@Ro1ME
Last active September 26, 2026 04:40
Show Gist options
  • Select an option

  • Save Ro1ME/00684720b33e37b2dd39856d6c226468 to your computer and use it in GitHub Desktop.

Select an option

Save Ro1ME/00684720b33e37b2dd39856d6c226468 to your computer and use it in GitHub Desktop.
CVE-2026-51892 - Incorrect Access Control in RAGFlow (document_app.py:get)

CVE-2026-51892

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

Description

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

Reproduction Notes (condensed, sanitized)

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

Discoverer

Ro1ME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment