CVE-2026-51897 Missing authorization in n/a

Critical 9.8 Published Updated

An attacker can exploit improper access control in RAGFlow to trigger arbitrary code or command execution via the get_dataset endpoint.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-51897?

CVE-2026-51897 is a critical missing authorization vulnerability in n/a, published on 1 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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

Weakness: CWE-284

Which versions are affected by CVE-2026-51897?

How do I fix CVE-2026-51897?

No fix has been published for CVE-2026-51897 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-51897 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-51897 exists.

Sources

Also known as GHSA-p3qm-chr8-gf9x.

Is CVE-2026-51897 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free