CVE-2026-51897: RAGFlow improper access control in get_dataset API endpoint

CVE-2026-51897 · Severity: info · Published 2026-10-01

RAGFlow is a document management and retrieval system. A vulnerability in the evaluation app's dataset endpoint allows an attacker to access another user's evaluation datasets without authorization by manipulating the dataset identifier parameter, potentially exposing sensitive data or enabling unauthorized actions.

Technologies: InfiniFlow RAGFlow. Vendors: InfiniFlow.

Quick answers

Is CVE-2026-51897 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-51897 being exploited in the wild.
How severe is CVE-2026-51897?
Informational severity, published 1 October 2026.
Which products and versions are affected?
InfiniFlow RAGFlow 0.24.0 and earlier.
Is there a fix for CVE-2026-51897?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-51897 attacked?
It is attacked over the network.
Am I affected by CVE-2026-51897?
Check whether you run InfiniFlow RAGFlow at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

The get_dataset endpoint in api/apps/evaluation_app.py (line 113) fails to verify that the requesting user owns the dataset before returning it. An authenticated attacker can directly request any dataset by ID, bypassing access controls. The vulnerability requires an attacker account and knowledge or enumeration of dataset identifiers, and may enable code execution depending on how the dataset is processed.

Affected products

  • InfiniFlow RAGFlow 0.24.0 and earlier

Timeline

  • 2026-10-01: disclosed
  • other: Vulnerability discovered by Ro1ME

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.