CVE-2026-45688

Rocket.Chat: Pre-Auth NoSQL Injection in CAS Login Handler leading to Arbitrary CAS/SAML User Session Hijack

9.1 critical EPSS 0.38%

Published 24 Jun 2026 Updated 3 Nov 2026 CNA: GitHub_M

Check your servers for CVE-2026-45688

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-45688 affects rocket.chat, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Severity (CVSS)

9.1 critical CVSS 3.1 from GitHub_M (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.38%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 33.6% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 26 Jun 2026):

Exploitation
poc: a proof of concept is public
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-943 Improper Neutralization of Special Elements in Data Query Logic

Affected products

As the CNA lists them.

ProductVersions
Rocket.Chat
affected >= 8.5.0-rc.0, < 8.5.0
affected >= 8.4.0-rc.0, < 8.4.1
affected >= 8.3.0-rc.0, < 8.3.3
affected >= 8.2.0-rc.0, < 8.2.3
affected >= 8.1.0-rc.0, < 8.1.4
affected >= 8.0.0-rc.0, < 8.0.5
affected >= 7.11.0-rc.0, < 7.13.7
affected < 7.10.11

Is my server affected?

Find the installed version of rocket.chat and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i rocket.chat
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-45688 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-45688

RHEL, Rocky, Alma, Fedora

rpm -q rocket.chat
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-45688

Alpine

apk list --installed | grep -i rocket.chat

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-45688
trivy image --scanners vuln IMAGE | grep CVE-2026-45688

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Source: the record CVE-2026-45688 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.