Servers and applications
CVE-2026-45688
Pre-Auth NoSQL Injection in CAS Login Handler leading to Arbitrary CAS/SAML User Session Hijack
- Severity
- Critical 9.1
- Published
- 14 May 2026
- Last changed
- 3 Nov 2026
- Added to UpHeron
- 3 Nov 2026
- Fixed in
- 8.0.5, 8.1.4, 8.2.3, 8.3.3, 8.4.1, 8.5.0
- Exploit chance
- 0.5% in the next 30 daysHigher than 43% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- NoSQL injection (CWE-943)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read data · Change data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Also known as
- GHSA-rr54-jf4h-6cj9
- Sources
- CVE Program, Project advisories (GitHub)
Description
Rocket.Chat's CAS login handler forwards the client-supplied options.cas.credentialToken value straight into a MongoDB findOne({_id: ...}) query without any runtime type check. TypeScript's string parameter annotation is erased at runtime, so an unauthenticated attacker can substitute a MongoDB query operator ({"$gt": ""}, {"$ne": null}, etc.) for what the server expects to be an opaque ticket string. The injected operator matches the first unexpired document in the credential_tokens collection, bypassing the CAS ticket check entirely.
When any legitimate CAS or SAML SSO login is in flight, the attacker's next DDP login call matches the same credential-token row via the NoSQL operator and is issued a full Meteor auth token (userId + token) bound to the victim. The token is immediately usable against the complete REST and DDP surface as that user. If the victim is an administrator, this escalates to full instance compromise via Apps-Engine app install.
Affected software
| Software | Affected versions |
|---|---|
Rocket.ChatServers and applications · cna:rocketchat|rocket.chat |
All 8 release lines
|
Rocket.ChatServers and applications · github:rocketchat/rocket.chat |
|
About Rocket.Chat
open source team chat platform
- Docker Hub pulls
- 100,039,688Docker Hub, 15 Nov 2026
- GitHub stars
- 46,534GitHub, 15 Nov 2026
- Forks
- 14,157GitHub, 15 Nov 2026
- Latest release
- 9.0.0GitHub, 15 Nov 2026
- Released
- 10 Nov 2026GitHub
- License
- MIT LicenseWikidata
- Written in
- TypeScriptWikidata
- First published on GitHub
- 19 May 2015GitHub
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 8.9 (LTS)LTS | 8.9.1 | Until 31 Oct 2027 |
| 8.8 | 8.8.2 | Until 1 Mar 2027 |
| 8.7 | 8.7.2 | Until 31 Jan 2027 |
| 8.6 | 8.6.4 | Until 31 Jan 2027 |
| 8.5 (LTS)LTS | 8.5.5 | Until 31 Jul 2027 |
| 8.4 | 8.4.6 | Ended 31 Oct 2026 |
From endoflife.date.
Vulnerabilities in Rocket.Chat
- In our list
- 77
- Published in the last 12 months
- 30
- Critical, last 12 months
- 7
- High, last 12 months
- 9
- Known exploited
- 0
- CVE-2021-48022Rocket.Chat < 3.13.2 Unauthenticated IDOR via livechat:loadHistoryHigh 8.7 18 Nov 2026
- CVE-2026-65645Rocket.Chat in versions before 8.8.0, 8.7.1, 8.6.2, 8.5.3, 8.4.6. 8.3.8, 8.2.8, 8.1.8, and 7.10.15, the Meteor DDP methods getThreadsList and getThreadMessages accept rid / tmid as raw, untyped parameters with no schema validation. A MongoDB operator object (e.g. {"$gt": "4"}) can be substituted for a string room-id or message-id. The authorization check resolves to a room the attacker already…Medium 4.3 21 Aug 2026
- CVE-2026-65644Rocket.Chat in versions before 8.8.0, 8.7.1, 8.6.2, 8.5.3, 8.4.6, 8.3.8, 8.2.8, 8.1.8, and 7.10.15 has a REST API endpoint POST /api/v1/livechat/visitor that accepts an unauthenticated, unsanitized name field for Livechat visitors. This name is stored raw and later rendered via dangerouslySetInnerHTML in the Omnichannel Queue side panel (InquireSidePanelItem.tsx), injecting a real, clickable…High 7.5 21 Aug 2026
- GHSA-r3v3-v742-55j5Arbitrary notify-user event injection via stream-notify-room-users forward (incomplete fix of GHSA-27jx)Medium 5.4 20 Aug 2026
- GHSA-6x96-99rg-wg67Blind Server-Side Request Forgery (SSRF) In The downloadPublicImportFile EndpointMedium 20 Aug 2026
- GHSA-7c6v-m68v-v73rsendForgotPasswordEmail Meteor Method Lacks DDP Rate LimitLow 20 Aug 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-45688
- GitHub Advisory Database https://github.com/advisories/GHSA-rr54-jf4h-6cj9
- github.com https://github.com/RocketChat/Rocket.Chat/security/advisories/GHSA-rr54-jf4h-6cj9