CVE-2026-45688
Rocket.Chat: Pre-Auth NoSQL Injection in CAS Login Handler leading to Arbitrary CAS/SAML User Session Hijack
Mitigation
- Upgrade Rocket.Chat to 7.10.11 or later.
Who should check
- Anyone running RocketChat Rocket.Chat >= 8.5.0-rc.0, < 8.5.0; >= 8.4.0-rc.0, < 8.4.1; >= 8.3.0-rc.0, < 8.3.3; >= 8.2.0-rc.0, < 8.2.3; >= 8.1.0-rc.0, < 8.1.4; >= 8.0.0-rc.0, < 8.0.5; >= 7.11.0-rc.0, < 7.13.7; < 7.10.11
Vulnerability facts
- Affected
- RocketChat Rocket.Chat >= 8.5.0-rc.0, < 8.5.0; >= 8.4.0-rc.0, < 8.4.1; >= 8.3.0-rc.0, < 8.3.3; >= 8.2.0-rc.0, < 8.2.3; >= 8.1.0-rc.0, < 8.1.4; >= 8.0.0-rc.0, < 8.0.5; >= 7.11.0-rc.0, < 7.13.7; < 7.10.11
- Fixed in
- RocketChat Rocket.Chat 8.5.0, RocketChat Rocket.Chat 8.4.1, RocketChat Rocket.Chat 8.3.3, RocketChat Rocket.Chat 8.2.3, RocketChat Rocket.Chat 8.1.4, RocketChat Rocket.Chat 8.0.5, RocketChat Rocket.Chat 7.13.7, RocketChat Rocket.Chat 7.10.11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: None
- EPSS
- 0.49% chance of exploitation in 30 days (percentile 35, 2026-11-26)
- CWE
- CWE-943
- Modified
Description
Rocket.Chat is an open-source, secure, fully customizable communications platform. Prior to 8.5.0, 8.4.1, 8.3.3, 8.2.3, 8.1.4, 8.0.5, 7.13.7, and 7.10.11, 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. This vulnerability is fixed in 8.5.0, 8.4.1, 8.3.3, 8.2.3, 8.1.4, 8.0.5, 7.13.7, and 7.10.11.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| RocketChat Rocket.Chat | >= 8.5.0-rc.0, < 8.5.0; >= 8.4.0-rc.0, < 8.4.1; >= 8.3.0-rc.0, < 8.3.3; >= 8.2.0-rc.0, < 8.2.3; >= 8.1.0-rc.0, < 8.1.4; >= 8.0.0-rc.0, < 8.0.5; >= 7.11.0-rc.0, < 7.13.7; < 7.10.11 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-45688. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-45688.md Affected: RocketChat Rocket.Chat >= 8.5.0-rc.0, < 8.5.0; >= 8.4.0-rc.0, < 8.4.1; >= 8.3.0-rc.0, < 8.3.3; >= 8.2.0-rc.0, < 8.2.3; >= 8.1.0-rc.0, < 8.1.4; >= 8.0.0-rc.0, < 8.0.5; >= 7.11.0-rc.0, < 7.13.7; < 7.10.11 Fixed in: RocketChat Rocket.Chat 8.5.0, RocketChat Rocket.Chat 8.4.1, RocketChat Rocket.Chat 8.3.3, RocketChat Rocket.Chat 8.2.3, RocketChat Rocket.Chat 8.1.4, RocketChat Rocket.Chat 8.0.5, RocketChat Rocket.Chat 7.13.7, RocketChat Rocket.Chat 7.10.11 Steps: 1. Search this machine and project for RocketChat Rocket.Chat: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2026-45688 being exploited?
There is no confirmed exploitation: CVE-2026-45688 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-45688?
Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2026-45688?
RocketChat Rocket.Chat >= 8.5.0-rc.0, < 8.5.0; >= 8.4.0-rc.0, < 8.4.1; >= 8.3.0-rc.0, < 8.3.3; >= 8.2.0-rc.0, < 8.2.3; >= 8.1.0-rc.0, < 8.1.4; >= 8.0.0-rc.0, < 8.0.5; >= 7.11.0-rc.0, < 7.13.7; < 7.10.11.
Is there a fix for CVE-2026-45688?
Yes. Fixed in RocketChat Rocket.Chat 8.5.0, RocketChat Rocket.Chat 8.4.1, RocketChat Rocket.Chat 8.3.3, RocketChat Rocket.Chat 8.2.3, RocketChat Rocket.Chat 8.1.4, RocketChat Rocket.Chat 8.0.5, RocketChat Rocket.Chat 7.13.7, RocketChat Rocket.Chat 7.10.11. Upgrade Rocket.Chat to 7.10.11 or later.
How do I check if I'm affected by CVE-2026-45688?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.