Unauthenticated account takeover via OAuth query injection
Published Jun 24, 2026 · Updated Jun 24, 2026
NoSQL injection in affected Rocket.Chat release lines allows remote attackers to obtain arbitrary users' OAuth access tokens. The OAuth2 server passes non-string client_id, client_secret, and refresh_token values into MongoDB findOne queries, allowing operators such as $ne to match stored application and refresh-token records. An active OAuth app and at least one completed historical authorization are required; each successful request returns bearer credentials with the matched user's API privileges.
Summary
What happened
NoSQL injection in affected Rocket.Chat release lines allows remote attackers to obtain arbitrary users' OAuth access tokens. The OAuth2 server passes non-string client_id, client_secret, and refresh_token values into MongoDB findOne queries, allowing operators such as $ne to match stored application and refresh-token records. An active OAuth app and at least one completed historical authorization are required; each successful request returns bearer credentials with the matched user's API privileges.
The record
- CVE
- CVE-2026-45689
- Published
- Jun 24, 2026
- Updated
- Jun 24, 2026
- Vendor
- Rocket.Chat Technologies Corp.
- Product
- Rocket.Chat
- Classifications
- CWE-943, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jun 24, 2026CVE publishedPublication date reported by the CVE source.
- Jun 24, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=< 7.10.11
- Affected versionversion=>= 7.11.0-rc.0, < 7.13.7
- Affected versionversion=>= 8.0.0-rc.0, < 8.0.5
- Affected versionversion=>= 8.1.0-rc.0, < 8.1.4
- Affected versionversion=>= 8.2.0-rc.0, < 8.2.3
- Affected versionversion=>= 8.3.0-rc.0, < 8.3.3
- Affected versionversion=>= 8.4.0-rc.0, < 8.4.1
- Affected versionversion=>= 8.5.0-rc.0, < 8.5.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- OAuth token query-operator proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo