Rocket.Chat CVE-2026-48616
CRITICALSeverity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
Endpoint is internet-reachable with no auth (AV:N/AC:L/PR:N/UI:N); Livechat auth boundary is crossed to read other rooms' files (S:C, C:H); predictable IDs allow some write-side abuse via enumeration (I:L); no availability impact.
Primary rating from Vendor (hackerone).
CVSS VectorVendor: hackerone
Lifecycle Timeline
2DescriptionCVE.org
Rocket.Chat versions <8.5.1, 8.4.4, 8.3.6, 8.2.6, 8.1.6, 8.0.7, 7.13.9, 7.10.13 has an access control vulnerability in Livechat files. Protected file downloads at /file-upload/:fileId/:name authorize livechat access using rc_room_type=l with rc_rid+rc_token, but the authorization path does not verify that rc_rid matches the requested file's rid. Furthermore, :fileId is predictable via sequential MongoDB IDs, and :name can be anything, allowing unauthenticated discovery of all uploaded files.
AnalysisAI
Unauthenticated information disclosure in Rocket.Chat allows remote attackers to enumerate and download arbitrary uploaded files via the Livechat file-download endpoint. The flaw at /file-upload/:fileId/:name validates rc_token against rc_rid but never checks that rc_rid matches the requested file's actual room ID, and sequential MongoDB ObjectIDs make :fileId predictable, enabling discovery of all uploads. No public exploit identified at time of analysis, but the HackerOne report (#3687142) and upstream fix PR are public.
Technical ContextAI
Rocket.Chat is an open-source team collaboration and customer engagement platform built on Meteor/Node.js with MongoDB persistence. The vulnerable code path serves protected uploads at /file-upload/:fileId/:name and supports Livechat (anonymous guest chat) authorization via the cookies/query params rc_room_type=l, rc_rid (room ID) and rc_token (visitor token). The CWE-284 (Improper Access Control) root cause is that the handler verifies the rc_token belongs to the room identified by rc_rid, but it does not enforce that rc_rid equals the rid attribute stored on the file document being fetched - so any valid Livechat room+token pair authorizes downloads of any file in the system. The exposure is amplified by MongoDB's default ObjectId generation, which embeds a timestamp and monotonically increasing counter, making :fileId values guessable/enumerable; the :name segment is not validated against the stored filename.
RemediationAI
Vendor-released patch: upgrade Rocket.Chat to 8.5.1, 8.4.4, 8.3.6, 8.2.6, 8.1.6, 8.0.7, 7.13.9, or 7.10.13 (whichever matches your current branch), tracked in PR https://github.com/RocketChat/Rocket.Chat/pull/40889 and the security hotfix notice at https://docs.rocket.chat/docs/security-fixes-and-updates. If immediate patching is not possible, disable the Livechat (Omnichannel) feature in Administration → Omnichannel, which removes the rc_room_type=l authorization path at the cost of breaking customer-facing chat; alternatively, restrict access to /file-upload/* at a reverse proxy so requests carrying rc_room_type=l, rc_rid, or rc_token cookies/query parameters are blocked or required to be authenticated, accepting that this will break legitimate Livechat file sharing. Review web/proxy access logs for high-volume sequential GET requests to /file-upload/* from a single source to detect enumeration attempts, and rotate or revoke any sensitive uploaded content that may have been exposed.
More in Rocket Chat
View allA sanitization vulnerability exists in Rocket.Chat server versions <3.13.2, <3.12.4, <3.11.4 that allowed queries to an
A improper input sanitization vulnerability exists in Rocket.Chat server 3.11, 3.12 & 3.13 that could lead to unauthenti
A improper authentication vulnerability exists in Rocket.Chat <v5, <v4.8.2 and <v4.7.5 that allowed two factor authentic
A SQL injection vulnerability exists in Rocket.Chat <v3.18.6, <v4.4.4 and <v4.7.3 which can allow an attacker to retriev
A Server-Side Request Forgery (SSRF) affects Rocket.Chat's Twilio webhook endpoint before version 6.10.1. Rated high sev
Rocket.Chat versions prior to 6.12.0 expose the OAuth applications API endpoint to any authenticated user, allowing disc
An information disclosure vulnerability exists in the Rocket.Chat server fixed v3.13, v3.12.2 & v3.11.3 that allowed ema
An improper authentication vulnerability exists in Rocket.Chat Mobile App <4.14.1.22788 that allowed an attacker with ph
A cleartext transmission of sensitive information exists in Rocket.Chat <v5, <v4.8.2 and <v4.7.5 relating to Oauth token
An information disclosure vulnerability exists in Rocket.Chat <v5 due to the getUserMentionsByChannel meteor server meth
Rocket.Chat is an open-source fully customizable communications platform developed in JavaScript. Rated medium severity
A blind self XSS vulnerability exists in RocketChat LiveChat <v1.9 that could allow an attacker to trick a victim pastin
Same weakness CWE-284 – Improper Access Control
View allSame technique Authentication Bypass
View allShare
External POC / Exploit Code
Leaving vuln.today