CVE-2022-31017 in Zulip
Zulip is an open-source team collaboration tool. Versions 2.1.0 through and including 5.2 are vulnerable to a logic error. A stream configured as private with protected history, where new subscribers should not be allowed to see messages sent before they were subscribed, when edited causes the server to incorrectly ...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, high complexity, low privileges required, requires user interaction, impact contained to the vulnerable component, no integrity impact, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Zulip | Zulip | ≥ 2.1.0, < 5.3 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Zulip is an open-source team collaboration tool. Versions 2.1.0 through and including 5.2 are vulnerable to a logic error. A stream configured as private with protected history, where new subscribers should not be allowed to see messages sent before they were subscribed, when edited causes the server to incorrectly send an API event that includes the edited message to all of the stream’s current subscribers. This API event is ignored by official clients, but can be observed by using a modified client or the browser’s developer tools. This bug will be fixed in Zulip Server 5.3. There are no known workarounds.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2022-31017 |
|---|---|
| BreachSpider ID | BS-2022-GLOBAL-319133-L |
| CVSS vector | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N |
| Published | 2022-06-25 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-571: CWE-571
CWE-670: CWE-670
Analysis AI-written, not human-reviewed
Zulip versions 2.1.0 through 5.2 are vulnerable to a logic error that allows new subscribers to a private stream with protected history to see messages sent before they were subscribed, if the message is edited.
An attacker who can edit messages in a private stream with protected history can cause the server to send an API event that includes the edited message to all current subscribers of the stream, potentially exposing sensitive information to unauthorized users.
Questions
What is CVE-2022-31017?
Zulip versions 2.1.0 through 5.2 are vulnerable to a logic error that allows new subscribers to a private stream with protected history to see messages sent before they were subscribed, if the message is edited.
What is the CVSS score for CVE-2022-31017?
CVE-2022-31017 has CVSS 2.6 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N. EPSS: 0.6%.
Is CVE-2022-31017 actively exploited?
No confirmed active exploitation of CVE-2022-31017 as of 2026-09-25.
How do I remediate CVE-2022-31017?
Priority: MEDIUM.
What systems are affected by CVE-2022-31017?
CVE-2022-31017 affects Zulip Zulip.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Zulip","product":"Zulip","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.