Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-45688: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in RocketChat Rocket.Chat

0
Critical
VulnerabilityCVE-2026-45688cvecve-2026-45688cwe-943
Published: 06/24/2026 (06/24/2026, 20:56:44 UTC)
Source: CVE Database V5
Vendor/Project: RocketChat
Product: Rocket.Chat

Description

CVE-2026-45688 is a critical vulnerability in Rocket.Chat prior to versions 7.10.11, 7.13.7, 8.0.5, 8.1.4, 8.2.3, 8.3.3, 8.4.1, and 8.5.0. It involves improper neutralization of special elements in data query logic within the CAS login handler, allowing unauthenticated attackers to bypass CAS ticket checks by injecting MongoDB query operators. Successful exploitation can lead to full authentication as a victim user, including administrators, resulting in complete instance compromise. The vulnerability has a CVSS score of 9.1 (critical).

CVSS v3.1

Score 9.1critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

GitHub Actionsmore threats →ai
rocketchat/Rocket.Chat
pkg:github/rocketchat/Rocket.Chat
Affected versions
<7.10.11<7.13.7<8.0.5<8.1.4<8.2.3<8.3.3<8.4.1<8.5.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 21:46:17 UTC

Technical Analysis

Rocket.Chat's CAS login handler prior to the fixed versions forwards the client-supplied options.cas.credentialToken directly into a MongoDB findOne({_id: ...}) query without runtime type checking. Because TypeScript's string annotations are erased at runtime, an attacker can supply a MongoDB query operator (e.g., {$gt: ""}, {$ne: null}) instead of a string token. This operator matches the first unexpired document in the credential_tokens collection, bypassing the CAS ticket validation. When a legitimate CAS or SAML SSO login is in progress, the attacker can then perform a DDP login call that matches the same credential-token document, receiving a full Meteor authentication token bound to the victim's user ID. This token grants access to the full REST and DDP API surfaces as the victim user. If the victim is an administrator, the attacker can escalate to full instance compromise by installing Apps-Engine apps. The issue is fixed in versions 7.10.11, 7.13.7, 8.0.5, 8.1.4, 8.2.3, 8.3.3, 8.4.1, and 8.5.0.

Potential Impact

An unauthenticated attacker can bypass CAS ticket validation and authenticate as any user, including administrators, without valid credentials. This leads to full compromise of the Rocket.Chat instance, allowing unauthorized access to all REST and DDP APIs and potential installation of malicious apps via the Apps-Engine. The vulnerability severely impacts confidentiality and integrity but does not affect availability.

Mitigation Recommendations

A fix is available in Rocket.Chat versions 7.10.11, 7.13.7, 8.0.5, 8.1.4, 8.2.3, 8.3.3, 8.4.1, and 8.5.0. Users should upgrade to one of these versions or later to remediate this vulnerability. Patch status is confirmed by the vendor advisory. No alternative mitigations are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-13T04:38:01.164Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a3c4ce14853345fc1df8cef

Added to database: 06/24/2026, 21:32:17 UTC

Last enriched: 06/24/2026, 21:46:17 UTC

Last updated: 06/24/2026, 22:55:33 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses