All vulnerabilities

Servers and applications

CVE-2022-32226

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.

Severity
Medium 4.3
Published
23 Sept 2022
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
4.7.5, 4.8.2
Sources
NVD

Affected software

SoftwareAffected versions
Rocket.ChatServers and applications · cpe:a:rocket.chat:rocket.chat
  • Every version before 4.7.5
  • From 4.8.0 before 4.8.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2022-32226
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2022-32226