Summary
CVE-2021-48022 is a missing authorization vulnerability (CWE-639, Authorization Bypass Through User-Controlled Key) in Rocket.Chat’s livechat:loadHistory Meteor method. An unauthenticated remote attacker can read the messages of any room by supplying its room ID. The CVE record rates it High, with a CVSS v4.0 score of 8.7.
Technical details
- Root cause: The
livechat:loadHistorymethod does not perform a room membership check, so access to a room is decided by a user-controlled room ID. - Trigger conditions: The attacker needs no credentials. They create a guest token with
livechat:registerGuest, then calllivechat:loadHistorywith the target room ID. - Attack vector: Network. The attacker sends POST requests to
/api/v1/method.callAnon. - Impact: High confidentiality impact. The attacker can read messages from any room. The CVE record lists no integrity or availability impact.
- Exploitation status: The CVE record states that the Shadowserver Foundation first observed exploitation on February 13, 2025.
Affected software
- Rocket.Chat 0.61.0 to 3.11.3
- Rocket.Chat 3.12.0 to 3.12.3
- Rocket.Chat 3.13.0 to 3.13.1
Severity
- CVSS v4.0: 8.7 (High),
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N - CVSS v3.1: 7.5 (High),
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Mitigation and recommended actions
- Immediate: Upgrade to Rocket.Chat 3.11.4, 3.12.4, 3.13.2 or later, according to your release line.
- If you cannot patch immediately: Restrict network access to the Rocket.Chat instance. Monitor requests to
/api/v1/method.callAnonforlivechat:registerGuestandlivechat:loadHistorycalls from unexpected sources. Treat message history on exposed unpatched instances as potentially disclosed.

