Executive brief
A security flaw in Rocket.Chat allows any registered user to read private messages they are not authorized to see. By using a specific translation feature, an attacker can access the full content of messages from private groups, direct messages, and restricted channels. This could lead to the exposure of sensitive corporate communications and personal data.
Technical details
The vulnerability exists in the `/api/v1/autotranslate.translateMessage` endpoint due to a lack of authorization checks. The endpoint uses `Messages.findOneById(messageId)` to fetch message data but fails to invoke `canAccessRoomIdAsync` or any equivalent room access validation. An authenticated attacker can exploit this by supplying a target `messageId` to the endpoint, which returns the complete `IMessage` object. This object includes sensitive fields such as the message text, sender information, room ID, timestamps, and markdown content, regardless of whether the user is a member of the room where the message originated.
Affected products
- Rocket.Chat Rocket.Chat <8.5.0, <8.4.2, <8.3.4, <8.2.4, <8.1.5, <8.0.6, <7.13.8, <7.10.12
Timeline
- 2026-05-19: disclosed: CVE published to NVD via HackerOne report