Skip to main content

Rocket.Chat EUVDEUVD-2026-39094

| CVE-2026-45689 CRITICAL
Improper Neutralization of Special Elements in Data Query Logic (CWE-943)
2026-06-24 security-advisories@github.com
9.1
CVSS 3.1 · Vendor: github
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Query language parameterization
Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 24, 2026

OAuth token theft in Rocket.Chat allows an unauthenticated remote attacker to mint a valid bearer access token for any user — including administrators — by POSTing MongoDB query operators to the /oauth/token endpoint. Because grant parameters are passed to findOne() without type validation, substituting {"$ne": null} for client_id, client_secret, and refresh_token returns a live token bound to whatever user Mongo matches first; iterating with $nin/$regex walks the entire token collection. No public exploit identified at time of analysis, but exploitation is trivial and capturing an admin token yields full /api/v1/* control and Apps-Engine app installation (server-side code execution). Fixed in the 8.5.0/8.4.1/8.3.3/8.2.3/8.1.4/8.0.5/7.13.7/7.10.11 release line.

Affected VersionsENISA

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

Affected Packages

euvd rocket_chat fix: 7.10.11
euvd rocket_chat_7_11_0_rc_0 fix: 7.13.7
euvd rocket_chat_8_0_0_rc_0 fix: 8.0.5
euvd rocket_chat_8_1_0_rc_0 fix: 8.1.4
euvd rocket_chat_8_2_0_rc_0 fix: 8.2.3
euvd rocket_chat_8_3_0_rc_0 fix: 8.3.3
euvd rocket_chat_8_4_0_rc_0 fix: 8.4.1
euvd rocket_chat_8_5_0_rc_0 fix: 8.5.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 8 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Primary rating from Vendor (github) · only source for this CVE.

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

1
Patch available
Jun 24, 2026 - 22:03 EUVD

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Rocket.Chat versions prior to 8.5.0 contain a critical OAuth token theft flaw enabling unauthenticated remote attackers to steal administrative credentials and gain complete platform control, including server-side code execution capabilities. Any Rocket.Chat instance accessible from untrusted networks faces immediate risk of total compromise and potential data breach. While the vulnerability is trivial to exploit, no public exploit code has been identified at time of analysis.

Recommended Action

24 hours: Audit all Rocket.Chat deployments to identify versions prior to 8.5.0; immediately restrict network access to the /oauth/token endpoint if patching cannot be completed. 7 days: Apply vendor-released patches-upgrade to Rocket.Chat 8.5.0 or backported versions (8.4.1, 8.3.3, 8.2.3, 8.1.4, 8.0.5, 7.13.7, 7.10.11 depending on your release branch) and verify deployment success. 30 days: Review pre-patch OAuth access logs for suspicious token-minting activity, audit all installed apps for unauthorized changes, and validate critical business workflows.

Business Impact: Severe
Compensating Controls

Apply vendor patch. Interim mitigations if patching is delayed: implement network segmentation to restrict /oauth/token endpoint access to trusted sources, deploy WAF rules to block requests containing MongoDB injection operators ($ne, $nin, $regex) in POST parameters, and establish OAuth access logging with alerts for suspicious token requests.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

NoSQL injection exploits databases that don't use traditional SQL syntax-like MongoDB, CouchDB, or Redis-by manipulating queries through unsanitized user input.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy