Unauthenticated session hijacking via credential-token query injection
Published Jun 24, 2026 · Updated Jun 24, 2026
NoSQL injection in Rocket.Chat's CAS login handler allows remote attackers to hijack CAS or SAML sessions across eight affected branches. The handler inserts an untyped credentialToken object into a MongoDB findOne query, allowing an operator to select any unexpired credential row. Exploitation requires network access, CAS or SAML use, and a legitimate login within the 60-second token window; success grants the victim's full session.
Summary
What happened
NoSQL injection in Rocket.Chat's CAS login handler allows remote attackers to hijack CAS or SAML sessions across eight affected branches. The handler inserts an untyped credentialToken object into a MongoDB findOne query, allowing an operator to select any unexpired credential row. Exploitation requires network access, CAS or SAML use, and a legitimate login within the 60-second token window; success grants the victim's full session.
The record
- CVE
- CVE-2026-45688
- 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
- GHSA credential-token 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