CVE-2021-22911
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.
- CVSS
- 9.8Critical
- Exploited in the wild
- Not knownPublic exploit code; not in CISA KEV
- EPSS
- 95.2%chance of exploitation in the next 30 daystop 0.2% of scored CVEsFIRST score of 11 Nov 2026
- Fix
- Not stated by the vendorno fixed release in the CVE record
- Published
- 27 May 2021analysed here 12 Nov 2026
Summary
Triage
The summary, impact and action text on this page are written by our AI analysis pipeline, or taken from the NVD description when a CVE was imported from NVD. They are not the vendor's wording: check them against the sources. A longer AI executive summary and technical analysis are generated for signed-in accounts on the Max plan.
Affected products
| Product | Affected versions | Vendor says fixed in |
|---|---|---|
| Rocket.Chat server | Fixed in: 3.13.2, 3.12.4, 3.11.4Vendor says fixed in: not stated |
As published in the CVE Program record. A version outside these ranges is not a statement that it is unaffected — vendors sometimes understate a range, and distribution-backported builds carry upstream numbers that do not reflect what was patched into them.
Products named in our analysis
- rocket.chat:rocket.chat
Fix and mitigation
WAF and other mitigations
Can a WAF block it? Partly. The bug can be reached over the network, so generic WAF rules may stop some attacks. Its weakness type is unknown, so we cannot be more precise.
Also consider: patch
Based on the weakness type only; no CVE-specific evidence yet. We check Cloudflare, AWS, Google Cloud Armor and Azure; for Akamai, Imperva, Fastly, F5, ask your vendor.
Remediation steps (AI-written)
Step-by-step remediation is generated for accounts on the Max plan, for CVEs that match a technology in their stack. Add this technology to your stack to see the fix checklist.
Exploitation evidence
- CISA KEV catalog
- Not listed as of our last sync.
- Public exploit code
- Yes: 2 on Exploit-DB · 11 GitHub proofs of concept · 1 Nuclei template
Exploit-DB
- Rocket.Chat 3.12.1 - NoSQL Injection to RCE (Unauthenticated) (2)webapps, 7 Jul 2021, verified by Exploit-DB
- Rocket.Chat 3.12.1 - NoSQL Injection (Unauthenticated)webapps, 7 Jun 2021, verified by Exploit-DB
Nuclei
- Rocket.Chat <=3.13 - NoSQL Injectiondetection template, critical
GitHub proofs of concept
- CsEnox/CVE-2021-2291161 stars
- optionalCTF/Rocket.Chat-Automated-Account-Takeover-RCE-CVE-2021-2291110 stars
- Faridi-m/CVE-2021-22911-RocketChat2 stars
- roshanrajbanshi/rocketcat-cve-2021-22911-exploit1 stars
and 7 more repositories
Listed so you can judge urgency, not as a recommendation to run anything. GitHub “proofs of concept” are unvetted: some are fake or carry malware. Exploit-DB marks the entries its staff verified.
Timeline
- 27 May 2021Published
- 5 Jun 2021First public exploit or proof of concept8 days later
- 3 Aug 2024CVE record last updated1,156 days (about 3 years) later
- 12 Nov 2026Analysed by vulneraibility.com831 days (about 2 years) later
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
| Metric | Value | What it means |
|---|---|---|
| Attack vector | NetworkReachable over the internet or any routable network. | Reachable over the internet or any routable network. |
| Attack complexity | LowRepeatable attack, no special conditions. | Repeatable attack, no special conditions. |
| Privileges required | NoneThe attacker needs no prior access. | The attacker needs no prior access. |
| User interaction | NoneNo victim action needed. | No victim action needed. |
| Scope | UnchangedImpact stays within the vulnerable component. | Impact stays within the vulnerable component. |
| Confidentiality | HighTotal data disclosure possible. | Total data disclosure possible. |
| Integrity | HighComplete modification possible. | Complete modification possible. |
| Availability | HighFull outage possible. | Full outage possible. |
Common questions
Is CVE-2021-22911 being exploited?
Not confirmed. CVE-2021-22911 does not appear in CISA's Known Exploited Vulnerabilities catalog, which records only exploitation that has been observed and reported publicly. That is evidence of absence of a report, not evidence the flaw is unattacked. EPSS currently estimates a 95% probability of exploitation in the next 30 days.
How severe is CVE-2021-22911?
CVE-2021-22911 is rated Critical with a CVSS score of 9.8. Severity describes how bad exploitation would be, not how likely it is: pair it with exploitation evidence before deciding what to patch first.
Is there a patch for CVE-2021-22911?
Not known from our data. No patch reference has been recorded for CVE-2021-22911, which is not the same as no patch existing — a fix may have shipped without a tagged reference, or after this record was written. The vendor advisory is the only authority on whether a fix exists, and mitigations may be available regardless.
What does CVE-2021-22911 affect?
CVE-2021-22911 affects rocket.chat:rocket.chat. Confirm the exact affected versions against the vendor advisory before deciding you are exposed.
Exploitation status reflects CISA's KEV catalog as we last synced it. Check the catalog directly.
References
4 references in the CVE record, grouped by the tags the record gives them.
Other links (4)
- hackerone.com /reports/1130721
- packetstormsecurity.com /files/162997/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html
- packetstormsecurity.com /files/163419/Rocket.Chat-3.12.1-NoSQL-Injection-Code-Execution.html
- blog.sonarsource.com /nosql-injections-in-rocket-chat
Where the data on this page comes from
- CVE List (CVE.org): description, affected versions, references; CVE Terms of Use
- NVD: CVSS and CPE data
- FIRST EPSS: exploit probability and percentile
- Exploit-DB: published exploits
- Nuclei templates: detection templates
- PoC-in-GitHub: GitHub repositories that claim a proof of concept
Summary, impact and triage tags: written by our AI analysis pipeline from the sources above. Check them against the sources.
Similar CVEs
Get CVEs like this by email. Join the free digest: the CVEs we flag as major, all CVSS 8.0 or higher, in up to three emails a day (sent at 05:00, 11:00 and 15:00 UTC). Matching alerts to the products you run needs an account, and accounts are invite-only during the beta.