All vulnerabilities

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.

From RocketChat/Rocket.Chat's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Rocket.ChatServers and applications · cna:rocketchat|rocket.chat
  • From 8.5.0-rc.0 before 8.5.0
  • From 8.4.0-rc.0 before 8.4.1
  • From 8.3.0-rc.0 before 8.3.3
  • From 8.2.0-rc.0 before 8.2.3
All 8 release lines
  • Every version before 7.10.11
  • From 7.11.0-rc.0 before 7.13.7
  • From 8.0.0-rc.0 before 8.0.5
  • From 8.1.0-rc.0 before 8.1.4
  • From 8.2.0-rc.0 before 8.2.3
  • From 8.3.0-rc.0 before 8.3.3
  • From 8.4.0-rc.0 before 8.4.1
  • From 8.5.0-rc.0 before 8.5.0
Rocket.ChatServers and applications · github:rocketchat/rocket.chat
  • Every version before 7.10.11

About Rocket.Chat

open source team chat platform

From Wikidata, CC0 1.0.
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

Release lines

ReleaseLatestSecurity fixes
8.9 (LTS)LTS8.9.1Until 31 Oct 2027
8.88.8.2Until 1 Mar 2027
8.78.7.2Until 31 Jan 2027
8.68.6.4Until 31 Jan 2027
8.5 (LTS)LTS8.5.5Until 31 Jul 2027
8.48.4.6Ended 31 Oct 2026

From endoflife.date.

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