CVE-2021-22911
Rocket.Chat NoSQL Injection
Description
A improper input sanitization vulnerability exists in Rocket.Chat server 3.11, 3.12 & 3.13 that could lead to unauthenticated NoSQL injection, resulting potentially in RCE.
INFO
Published Date :
May 27, 2021, 12:15 p.m.
Last Modified :
June 17, 2026, 3:38 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 2.0 | HIGH | [email protected] | ||||
| CVSS 3.1 | CRITICAL | [email protected] |
Public PoC/Exploit Available at Github
CVE-2021-22911 has a 40 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-22911.
| URL | Resource |
|---|---|
| http://packetstormsecurity.com/files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html | Exploit Third Party Advisory VDB Entry |
| http://packetstormsecurity.com/files/163419/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html | Exploit Third Party Advisory VDB Entry |
| https://blog.sonarsource.com/nosql-injections-in-rocket-chat | Exploit Third Party Advisory |
| https://hackerone.com/reports/1130721 | Exploit Third Party Advisory |
| http://packetstormsecurity.com/files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html | Exploit Third Party Advisory VDB Entry |
| http://packetstormsecurity.com/files/163419/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html | Exploit Third Party Advisory VDB Entry |
| https://blog.sonarsource.com/nosql-injections-in-rocket-chat | Exploit Third Party Advisory |
| https://hackerone.com/reports/1130721 | Exploit Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-22911 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-22911
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
147 deduplicated security/pentest skills for opencode (bug bounty, web3, mobile, cloud, OSINT, AI/LLM security)
JavaScript Shell Python PowerShell TypeScript HTML PHP ASP.NET Java Classic ASP
Scope-safe, memory-backed bug-bounty & red-team plugin for Claude Code — 89 skills, 45 commands, 31 agents, 70 tools, 997 tests. Orchestrates real offensive tooling (subfinder/httpx/nuclei/dalfox/sqlmap/Foundry) with report-derived methodology, a fail-closed scope checker, and cross-target pattern learning.
Python CSS HTML JavaScript Shell
The most comprehensive XSS cheatsheet on GitHub — payloads, filter bypass, WAF evasion, CSP bypass, DOM XSS, blind XSS, and real CVEs.
cheetsheet xss xss-cheatsheet xss-payloads
100 AI-powered skills · 29 commands · 48 tools · 372 tests — The ultimate merged bug bounty hunting toolkit
Python Shell HTML JavaScript CSS
Root-路 CTF 2026 @ NTUST — OSCP+ Taiwan Launch. 4-stage offensive security CTF writeups & exploits (AI/NoSQL, Supply Chain, SSRF chain, BOF/privesc)
Python C Shell
Necromancer suite: hellhound (offensive security tool)
Python
CVE-2021-22911 Rocket.Chat NoSQL Injection RCE Exploit - Educational Purpose
Python
None
Python
None
Python
None
Dockerfile Batchfile Python PowerShell Shell
[IEEE T-IFS] AutoPT: How Far Are We from the Fully Automated Web Penetration Testing?
Shell Python PHP Dockerfile JavaScript HTML CSS PowerShell Batchfile
This repository contains write-up for the Rocket machine on TryHackMe.
cve ethicalhacking explotation hacking rce redteaming
Python
Updated exploit for CVE-2021-22911 (Rocket.Chat 3.12.1 - NoSQL Injection to RCE (Unauthenticated))
Python
None
HTML Python Shell
None
Python
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-22911 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-22911 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'n/a', 'product': 'Rocket.Chat server', 'versions': [{'status': 'affected', 'version': 'Fixed in: 3.13.2, 3.12.4, 3.11.4'}]}] -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html Added Reference http://packetstormsecurity.com/files/163419/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html Added Reference https://blog.sonarsource.com/nosql-injections-in-rocket-chat Added Reference https://hackerone.com/reports/1130721 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Aug. 30, 2022
Action Type Old Value New Value Removed CWE NIST CWE-20 Added CWE NIST NVD-CWE-Other -
Modified Analysis by [email protected]
Apr. 06, 2022
Action Type Old Value New Value Changed Reference Type http://packetstormsecurity.com/files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html Exploit, Third Party Advisory http://packetstormsecurity.com/files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type http://packetstormsecurity.com/files/163419/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/163419/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type https://blog.sonarsource.com/nosql-injections-in-rocket-chat No Types Assigned https://blog.sonarsource.com/nosql-injections-in-rocket-chat Exploit, Third Party Advisory -
CVE Modified by [email protected]
Jul. 30, 2021
Action Type Old Value New Value Added Reference https://blog.sonarsource.com/nosql-injections-in-rocket-chat [No Types Assigned] -
CVE Modified by [email protected]
Jul. 07, 2021
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/163419/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html [No Types Assigned] -
Initial Analysis by [email protected]
Jun. 07, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://packetstormsecurity.com/files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html No Types Assigned http://packetstormsecurity.com/files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html Exploit, Third Party Advisory Changed Reference Type https://hackerone.com/reports/1130721 No Types Assigned https://hackerone.com/reports/1130721 Exploit, Third Party Advisory Added CWE NIST CWE-20 Added CPE Configuration OR *cpe:2.3:a:rocket.chat:rocket.chat:3.11.0:-:*:*:*:*:*:* *cpe:2.3:a:rocket.chat:rocket.chat:3.12.0:-:*:*:*:*:*:* *cpe:2.3:a:rocket.chat:rocket.chat:3.13.0:-:*:*:*:*:*:* -
CVE Modified by [email protected]
Jun. 07, 2021
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html [No Types Assigned]