Skip to content
Access control Disclosed report Intermediate CVE-2026-32995

Autotranslate DDP Method Exposes Private Messages Without Authentication or Room Access Check

The Rocket.Chat DDP method autoTranslate.translateMessage accepted a client-supplied message object and translated it without checking the caller's identity or room membership. Any authenticated DDP user could read the content of any message by its ID, including private channels, direct messages and E2EE rooms.

deprrous Follow

Originally disclosed on HackerOne

High 7.5 View original
  • Triaged in 11 hours
  • Fixed in 4 days
  • Disclosed after 11 days

Summary by the program

The Rocket.Chat DDP method autoTranslate.translateMessage accepts a client-supplied IMessage object and passes it directly to translateMessage() without checking Meteor.userId() or verifying room membership. Any authenticated DDP user can read the content of any message by ID from any room (private channels, DMs, E2EE rooms) by calling this method. The parallel REST endpoint was fixed with canAccessRoomAsync but the DDP method was missed.

The original report as published on HackerOne, by deprrous. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

The DDP method passed a client-supplied message object straight to the translation function without checking the logged-in user or verifying room membership, unlike the REST endpoint which had been fixed with a room access check.

Impact

An authenticated user could read message content from private channels, DMs and E2EE rooms they had no access to.

What the attacker needed

An authenticated DDP account; knowledge of a message ID

The fix

The DDP method should be fixed by adding the room access check (canAccessRoomAsync) used on the REST endpoint.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Rocket.Chat lets users talk in rooms, some of which are private. A server function that translates messages was trusting the caller to say which message to translate, and it never checked whether that caller was allowed in the room. So anyone with a normal account could ask it to translate a message from a private room and read the reply.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from Rocket.Chat

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.