RAGFlowで認可をすり抜け他ユーザーのエージェントを実行される脆弱性
Summary
RAGFlowのOpenAI互換のエージェント実行APIに認可の確認漏れがあり、認証済みの利用者が他人の非公開エージェントを実行し、その出力を読み取れる脆弱性です。影響を受けるのは0.25.2から0.27.3未満で、修正版は0.27.3です。早めに0.27.3以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
RAGFlowのOpenAI互換のエージェント実行APIに認可の確認漏れがあり、認証済みの利用者が他人の非公開エージェントを実行し、その出力を読み取れる脆弱性です。影響を受けるのは0.25.2から0.27.3未満で、修正版は0.27.3です。早めに0.27.3以降へ更新してください。
Original description The description as published by the source.
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.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com