IT SBIT Services
Schneeberger
DEEN
CVE tracker

InfiniFlow RAGFlow: Incorrect access control in get_dataset endpoint

CVE-2026-51897Critical 9.8

← All vulnerabilities

Summary

RAGFlow 0.24.0 contains an improper access control flaw in the get_dataset function of the evaluation API (api/apps/evaluation_app). According to the CVE record, an attacker may be able to reach data or functions they should not access, and depending on the exposed entry point, code or command execution may be possible. The CVE record and the public write-up do not confirm which entry point enables code execution, and the CVSS score of 9.8 reflects the worst-case assumption. The public write-up describes a scenario with two regular user accounts, so a logged-in low-privileged user may be sufficient, but this is not verified.

Affected

  • RAGFlow 0.24.0 (per CVE record)
  • Earlier versions: reported as 0.24.0 or earlier by a third-party write-up, not confirmed by the vendor
  • Later versions: unknown

Fixed in

Unknown.

Workaround

  • No vendor workaround documented for this endpoint.
  • Do not expose RAGFlow directly to the internet; use a VPN or an authenticated reverse proxy.
  • Limit user accounts to trusted users and review existing accounts.

Exploitation

  • Not listed in CISA KEV; no confirmed in-the-wild exploitation known.
  • CISA SSVC data lists exploitation as "poc" and automatable: yes, indicating a proof of concept exists.
  • The reporter's gist is referenced; its contents could not be verified.
  • Some sources (TheHackerWire) state no public PoC; this data appears outdated.

Our recommendation

  • Check whether RAGFlow is in use and at which version, especially 0.24.0 or earlier.
  • Restrict network access to RAGFlow to internal or VPN users; do not expose it to the internet.
  • Review user accounts and remove unneeded ones.
  • Monitor logs for unusual requests to evaluation and dataset endpoints.
  • Watch the vendor's GitHub security advisories and apply a fix as soon as one is published.
  • Priority is high if RAGFlow is internet-reachable or shared among users.

Public exploits

PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.

Research sources

Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 30 Oct 2026, 21:31.

Original description (NVD)

RAGFlow 0.24.0 contains improper access control in get_dataset (api/apps/evaluation_app). Depending on the exposed entry, an attacker can trigger attacker-controlled code or command execution

NVD references (2)

Sources

The tracker combines official, freely usable data sources – updated continuously:

This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.

Affected? We can help.

We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.