Executive brief
R2R is a production-ready AI retrieval system that manages user conversations and messages through a REST API. An authentication bypass flaw allows logged-in users to modify other users' conversations without permission—renaming them or injecting malicious messages into their chat history. This compromises data integrity and confidentiality across the multi-tenant system.
Technical details
The vulnerability is a missing authorization check in the conversation update and message handler endpoints. Authenticated users can supply arbitrary conversation identifiers without ownership validation, allowing them to rename conversations and append messages to other users' conversation histories. The flaw exists in the conversations_router.py API handlers (v3). No special privileges or user interaction is required beyond authentication; the attacker only needs valid API credentials. Patches should enforce ownership checks before any conversation or message modification operation.
Affected products
- SciPhi R2R through 3.6.5
Timeline
- 2026-08-28: disclosed