What’s Vulnerable › Vulnerabilities
CVE-2022-32226
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-09-23 · updated 2026-06-17
- Weakness: CWE-284
Description
An improper access control vulnerability exists in Rocket.Chat <v5, <v4.8.2 and <v4.7.5 due to input data in the getUsersOfRoom Meteor server method is not type validated, so that MongoDB query operator objects are accepted by the server, so that instead of a matching rid String a$regex query can be executed, bypassing the room access permission check for every but the first matching room.
Affected products
- Rocket.Chat: before 4.7.5; from 4.8.0 before 4.8.2 — fixed in 4.7.5, 4.8.2
How to fix
Upgrade to a fixed version: Rocket.Chat 4.7.5, 4.8.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2022-32226 or the next vulnerability affects your stack