Skip to content
OpenAdvisories
Medium · 5.4 CVE-2022-31168 EUVD-2022-52775

Zulip Server insufficient authorization for changing bot roles

Published Jul 22, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

Zulip is an open source team chat tool. Due to an incorrect authorization check in Zulip Server 5.4 and earlier, a member of an organization could craft an API call that grants organization administrator privileges to one of their bots. The vulnerability is fixed in Zulip Server 5.5. Members who don’t own any bots, and lack permission to create them, can’t exploit the vulnerability. As a workaround for the vulnerability, an organization administrator can restrict the `Who can create bots` permission to administrators only, and change the ownership of existing bots.

Affected products

VendorProductAffectedFixed
zulip zulip < 5.5 —

References