RAGFlow
RAGFlow: OpenAI-compatible agent completion bypasses private canvas authorization
RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. From 0.25.2 until 0.27.3, POST /api/v1/agents/chat/completions invokes completion_openai and returns through the openai-compatible branch before UserCanvasService.accessible() checks whether the caller may access the requested agent. An authenticated user who knows another user's private agent UUID can execute that Only me workflow and read its output across the user or tenant boundary; configured tools may also cause side effects, but stronger impacts were not demonstrated. This issue is fixed in version 0.27.3.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 0.25.2, < 0.27.3
Fixed in 0.27.3
Mitigation
Upgrade ragflow to 0.27.3 or later.
References
- Vendor advisory github.com/infiniflow/ragflow/security/advisor…
- Patch github.com/infiniflow/ragflow/pull/19817
- Patch github.com/infiniflow/ragflow/commit/20180790e…
1 more
- Release notes github.com/infiniflow/ragflow/releases/tag/v0.…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.