CVE-2026-45689
Rocket.Chat: Pre-Auth NoSQL Injection in OAuth2 Token Endpoint leading to Arbitrary User ATO
Check your servers for CVE-2026-45689
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-45689 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.
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, an unauthenticated network attacker obtains a valid Rocket.Chat OAuth access token for an arbitrary user by sending a single HTTP POST with MongoDB query operators to /oauth/token. The Rocket.Chat OAuth2 server does not validate that grant parameters are strings before forwarding them to findOne({...}) against the oauth_apps and oauth_access_tokens collections, so an attacker substitutes {"$ne": null} for client_id, client_secret, and refresh_token and receives a freshly minted {access_token, refresh_token} pair bound to whichever user's refresh token Mongo returned first. The resulting access token is a first-class bearer credential against the full /api/v1/* surface as that user. By iterating with $nin / $regex operators the attacker walks the entire oauth_access_tokens collection, collecting one fresh access token per user per request. If any matched token belongs to an admin, the stolen bearer gives full admin API access (including Apps-Engine app installation, i.e. server-side code execution). No account, credentials, userId, or prior interaction with the instance are required. 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)
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.40%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 36.4% 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
- no: each attack takes manual steps
- 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.
| Product | Versions |
|---|---|
| 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-45689 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-45689RHEL, Rocky, Alma, Fedora
rpm -q rocket.chat
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-45689Alpine
apk list --installed | grep -i rocket.chatWith 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-45689
trivy image --scanners vuln IMAGE | grep CVE-2026-45689
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-45689 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.
Vulnpocalypse