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-45689: CWE-943: Improper Neutralization of Special Elements in Data Query Logic in RocketChat Rocket.Chat

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

Description

CVE-2026-45689 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 allows an unauthenticated attacker to obtain valid OAuth access tokens for arbitrary users by exploiting improper input validation in the OAuth token endpoint. This enables the attacker to impersonate users, including administrators, and gain full API access without any credentials or prior interaction. The vulnerability arises from the server failing to validate that grant parameters are strings before using them in MongoDB queries, allowing injection of query operators to bypass authentication controls.

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:08 UTC

Technical Analysis

Rocket.Chat versions prior to 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 contain a vulnerability (CWE-943) where the OAuth2 server does not properly neutralize special MongoDB query operators in grant parameters sent to the /oauth/token endpoint. An unauthenticated attacker can send specially crafted HTTP POST requests with MongoDB operators such as {$ne: null} for client_id, client_secret, and refresh_token fields. This causes the server to return a valid access token bound to a user whose refresh token is returned first by the database query. By iterating with other operators, the attacker can enumerate and obtain access tokens for all users, including administrators. These tokens provide full bearer access to the API, including administrative functions and server-side code execution via Apps-Engine. No authentication or prior knowledge is required. The issue is fixed in the listed patched versions.

Potential Impact

An unauthenticated remote attacker can obtain valid OAuth access tokens for any user, including administrators, without credentials. This leads to full compromise of user accounts and administrative control over the Rocket.Chat instance via the API. The attacker can execute server-side code through administrative API access, resulting in complete system compromise. The vulnerability has a CVSS 3.1 score of 9.1 (critical) due to its ease of exploitation and high impact on confidentiality and integrity.

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's versioning information. No other mitigations are indicated by the vendor advisory.

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: 6a3c4ce14853345fc1df8cf2

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

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

Last updated: 06/24/2026, 23:13:43 UTC

Views: 5

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