CVE-2026-29198

NoSQL Injection via OAuth App Enables Account Takeover in Rocket.Chat

Published Apr 22, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

Rocket.Chat versions prior to 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 contain a NoSQL injection flaw that can be triggered when an OAuth application is set up. By injecting malicious payloads into the OAuth configuration, an attacker can cause the system to generate an authentication token that grants control over the first user account, effectively allowing account takeover. This vulnerability directly compromises account integrity and confidentiality.

Affected Systems

All installations of Rocket.Chat running any of the affected versions listed above. The flaw is unrelated to specific deployment environments; it exists in the core code that handles OAuth application configuration. Administrators whose servers are publicly reachable and that allow OAuth application creation are particularly at risk.

Risk and Exploitability

The CVSS score of 9.8 indicates a critical level of severity, while the EPSS score of less than 1% suggests that exploitation is currently rare but not impossible. The vulnerability is not yet listed in CISA’s KEV catalog, but its high score and the straightforward nature of the payload imply that an attacker who can create an OAuth app might exploit it without sophisticated tooling. The attack likely requires administrative access to the Rocket.Chat instance to add or modify OAuth applications, after which the injection can be triggered. Once the malicious token is issued, the attacker can impersonate the first user and gain full control of the system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Deploy the latest Rocket.Chat release (8.3.0 or later) which contains the NoSQL injection fix for OAuth configuration.
  • If an immediate upgrade is not possible, remove any custom OAuth applications that have been created and recreate them with validated input, ensuring that all string fields are properly sanitized.
  • Apply any available interim security patches or advisory releases from Rocket.Chat that address input validation in the OAuth module, and restrict access to the OAuth application creation API to trusted administrators.
  • Monitor the OAuth application registry for suspicious or newly created apps, and enforce least privilege for configuration management.
  • Review application logs for failed authentication attempts and any anomalies in token issuance patterns.

Generated by OpenCVE AI on April 28, 2026 at 15:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:rocket.chat:rocket.chat:*:*:*:*:*:*:*:*
cpe:2.3:a:rocket.chat:rocket.chat:8.3.0:rc0:*:*:*:*:*:*
cpe:2.3:a:rocket.chat:rocket.chat:8.3.0:rc1:*:*:*:*:*:*
cpe:2.3:a:rocket.chat:rocket.chat:8.3.0:rc2:*:*:*:*:*:*
cpe:2.3:a:rocket.chat:rocket.chat:8.3.0:rc3:*:*:*:*:*:*
cpe:2.3:a:rocket.chat:rocket.chat:8.3.0:rc4:*:*:*:*:*:*
Type Values Removed Values Added
Title NoSQL Injection via OAuth App Enables Account Takeover in Rocket.Chat
Type Values Removed Values Added
First Time appeared Rocket.chat
Rocket.chat rocket.chat
Vendors & Products Rocket.chat
Rocket.chat rocket.chat
Type Values Removed Values Added
Weaknesses CWE-89
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
References
Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Apr 23, 2026, 5:41 PM
Reserved
Mar 4, 2026, 3:00 PM
Status
Analyzed
Published
Apr 23, 2026, 12:16 AM
Modified
Oct 23, 2026, 11:10 PM