# CVE-2022-31168: Zulip Server insufficient authorization for changing bot roles

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.84%, higher than 59% of CVEs (2026-12-01)
- Published: 2022-07-22T13:05:12.000Z
- Modified: 2026-06-17T04:44:57.040Z
- Weaknesses: CWE-285, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- zulip zulip: < 5.5; before 5.5

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/zulip/zulip/security/advisories/GHSA-c3cp-ggg5-9xw5> (third-party-advisory)
- <https://github.com/zulip/zulip/commit/751b2a03e565e9eb02ffe923b7c24ac73d604034> (patch, third-party-advisory)
- <https://github.com/zulip/zulip/releases/tag/5.5> (release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2022-31168](https://www.cve.org/CVERecord?id=CVE-2022-31168), CVE Terms of Use, modified 2025-04-23
- NVD: [CVE-2022-31168](https://nvd.nist.gov/vuln/detail/CVE-2022-31168), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-31168 · Whole record: https://cve.day/CVE-2022-31168.json · Rebuilt by cve.day 2026-11-25T22:58:13.160Z
