CVE-2026-45688

Source
https://cve.org/CVERecord?id=CVE-2026-45688
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45688.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-45688
Aliases
  • GHSA-rr54-jf4h-6cj9
Published
2026-06-24T20:56:44.843Z
Modified
2026-07-15T01:49:21.097262844Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Rocket.Chat: Pre-Auth NoSQL Injection in CAS Login Handler leading to Arbitrary CAS/SAML User Session Hijack
Details

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, Rocket.Chat's CAS login handler forwards the client-supplied options.cas.credentialToken value straight into a MongoDB findOne({id: ...}) query without any runtime type check. TypeScript's string parameter annotation is erased at runtime, so an unauthenticated attacker can substitute a MongoDB query operator ({"$gt": ""}, {"$ne": null}, etc.) for what the server expects to be an opaque ticket string. The injected operator matches the first unexpired document in the credentialtokens collection, bypassing the CAS ticket check entirely. When any legitimate CAS or SAML SSO login is in flight, the attacker's next DDP login call matches the same credential-token row via the NoSQL operator and is issued a full Meteor auth token (userId + token) bound to the victim. The token is immediately usable against the complete REST and DDP surface as that user. If the victim is an administrator, this escalates to full instance compromise via Apps-Engine app install. 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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-943"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/45xxx/CVE-2026-45688.json"
}
References

Affected packages

Git / github.com/rocketchat/rocket.chat

Affected ranges

Type
GIT
Repo
https://github.com/rocketchat/rocket.chat
Events
Database specific
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "8.5.0-rc.0"
        },
        {
            "fixed": "8.5.0"
        },
        {
            "introduced": "8.4.0-rc.0"
        },
        {
            "fixed": "8.4.1"
        },
        {
            "introduced": "8.3.0-rc.0"
        },
        {
            "fixed": "8.3.3"
        },
        {
            "introduced": "8.2.0-rc.0"
        },
        {
            "fixed": "8.2.3"
        },
        {
            "introduced": "8.1.0-rc.0"
        },
        {
            "fixed": "8.1.4"
        },
        {
            "introduced": "8.0.0-rc.0"
        },
        {
            "fixed": "8.0.5"
        },
        {
            "introduced": "7.11.0-rc.0"
        },
        {
            "fixed": "7.13.7"
        },
        {
            "introduced": "0"
        },
        {
            "fixed": "7.10.11"
        }
    ]
}

Affected versions

0.*
0.10.0
0.10.1
0.10.2
0.11.0
0.13.0
0.14.0
0.15.0
0.16.0
0.17.0
0.18.0
0.19.0
0.23.0
0.24.0
0.25.0
0.26.0
0.27.0
0.28.0
0.29.0
0.30.0
0.36.0
0.37.0
0.37.1
0.38.0
0.39.0
0.40.0
0.40.1
0.41.0
0.42.0
0.43.0
0.44.0
0.45.0
0.46.0
0.48.0
0.49.0
0.49.1
0.49.2
0.49.3
0.49.4
0.50.0
0.54.0
0.54.1
0.56.0
0.56.0-rc.0
0.56.0-rc.1
0.56.0-rc.2
0.56.0-rc.3
0.56.0-rc.4
0.56.0-rc.5
0.56.0-rc.6
0.56.0-rc.7
0.57.0
0.57.1
0.57.2
0.58.0
0.58.1
0.58.2
0.59.0
0.59.1
0.59.2
0.59.3
0.59.4
0.59.5
0.59.6
0.60.0
0.60.1
0.60.2
0.60.3
0.60.4
0.61.0
0.61.1
0.61.2
0.62.0
0.62.1
0.62.2
0.63.0
0.63.1
0.63.2
0.63.3
0.64.0
0.64.1
0.64.2
0.65.0
0.65.1
0.65.2
0.66.0
0.66.1
0.66.2
0.66.3
0.67.0
0.68.0
0.68.1
0.68.2
0.68.3
0.68.4
0.68.5
0.69.0
0.69.1
0.69.2
0.70.0
0.70.1
0.70.2
0.70.3
0.70.4
0.71.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5.1.1
5.1.3
5.1.4
5.2.0
5.3.0
5.3.1
5.3.2
5.3.4
5.3.5
5.4.0
5.4.1
5.4.2
5.4.3
5.4.4
6.*
6.0.0
7.*
7.10.0
7.10.1
7.10.10
7.10.2
7.10.3
7.10.4
7.10.5
7.10.6
7.10.7
7.10.8
7.10.9
7.11.0
7.12.0
7.12.1
7.12.2
7.13.0
7.13.1
7.13.2
7.13.3
7.13.4
7.13.5
7.13.6
7.8.0
7.8.0-rc.0
7.8.0-rc.1
7.8.1
7.8.2
7.8.3
7.9.0
7.9.1
7.9.3
8.*
8.0.0
8.0.1
8.0.2
8.0.3
8.0.4
8.1.0
8.1.1
8.1.2
8.1.3
8.2.0
8.2.1
8.2.2
8.3.0
8.3.1
8.3.2
8.4.0
8.4.1
8.4.2
8.4.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-45688.json"