CVE-2026-51895: Ragflow improper access control in metadata update

CVE-2026-51895 · Severity: medium · CVSS 6.5 · Published 2026-10-01

Ragflow is an open-source document processing and retrieval system. An authentication bypass in the metadata update API allows any authenticated user to modify knowledge base settings belonging to other users, potentially altering configurations and compromising data integrity across multi-tenant deployments.

Technologies: InfiniFlow RAGFlow. Vendors: InfiniFlow.

Quick answers

Is CVE-2026-51895 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-51895 being exploited in the wild.
How severe is CVE-2026-51895?
Medium severity, with a CVSS score of 6.5, published 1 October 2026.
Which products and versions are affected?
InfiniFlow RAGFlow 0.24.0 and prior.
Is there a fix for CVE-2026-51895?
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-51895 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-51895?
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 vulnerability is a broken access control flaw in the `/v1/kb/update_metadata_setting` endpoint (api/apps/kb_app.py). While the endpoint requires authentication via @login_required, it fails to verify that the requesting user owns or has permission to modify the specified knowledge base before applying metadata changes. An attacker with valid credentials can enumerate knowledge base IDs and modify metadata belonging to other users.

Affected products

  • Infiniflow Ragflow 0.24.0 and prior

Timeline

  • 2026-05-27: disclosed
  • 2026-10-01: advisory

References

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