# CVE-2026-51893: Infiniflow RAGFlow incorrect access control in trace_mindmap

Source: https://junglewise.ai/threats/cve-2026-51893-infiniflow-ragflow-0-24-0-is-vulnerable-to-incorrect-access  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-01. Updated: 2026-10-05  
License: CC BY 4.0 with a link back

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

RAGFlow is an AI document processing and knowledge management platform. The vulnerability allows an authenticated attacker to access mindmap generation tasks created by other users by directly specifying the task identifier, bypassing ownership and access control checks. This could expose sensitive documents and analysis work across user accounts within the same deployment.

Technologies: [InfiniFlow RAGFlow](https://junglewise.ai/threats/technologies/ragflow). Vendors: [InfiniFlow](https://junglewise.ai/threats/vendors/infiniflow).

## Quick answers

**Is CVE-2026-51893 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-51893 being exploited in the wild.

**How severe is CVE-2026-51893?** 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-51893?** 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-51893 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2026-51893?** 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 trace_mindmap endpoint in api/apps/kb_app.py performs a data-access operation without validating that the caller owns or has permission to access the requested task. An authenticated attacker can supply an arbitrary task ID and retrieve mindmap data belonging to other users. The vulnerability is reachable over the network by any authenticated user on the same RAGFlow instance.

## Affected products

- Infiniflow RAGFlow 0.24.0 and earlier

## Timeline

- 2026-10-01: disclosed

## References

- [https://gist.github.com/Ro1ME/79163b36f35460b266bc80120caf9da8](https://gist.github.com/Ro1ME/79163b36f35460b266bc80120caf9da8)

## Related threats

- [RAGFlow server-side request forgery in LLM API key endpoint](https://junglewise.ai/threats/cve-2026-49951-ragflow-before-0-27-0-contains-a-server-side-request-forgery)
- [InfiniFlow RAGFlow server-side request forgery in Seafile Connector](https://junglewise.ai/threats/cve-2026-121927-a-vulnerability-has-been-found-in-infiniflow-ragflow-up-to-0-27)
- [InfiniFlow RAGFlow authorization bypass in Text To SQL Retrieval](https://junglewise.ai/threats/cve-2026-121585-a-security-flaw-has-been-discovered-in-infiniflow-ragflow-up-to)
- [RAGFlow authorization bypass in OpenAI-compatible agent completion](https://junglewise.ai/threats/cve-2026-119337-ragflow-is-an-open-source-rag-retrieval-augmented-generation)
- [RAGFlow improper access control in get_dataset API endpoint](https://junglewise.ai/threats/cve-2026-51897-ragflow-0-24-0-contains-improper-access-control-in-get-dataset)
