BreachSpiderVerified, not vibes

CVE-2022-31152 in Matrix Synapse

High 7.5

Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In v...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.17.5
EPSS1.4%
EPSS percentile73th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Matrix Synapse < 1.62.0

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-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix specification specifies a list of [event authorization rules](https://spec.matrix.org/v1.2/rooms/v9/#authorization-rules) which must be checked when determining if an event should be accepted into a room. In versions of Synapse up to and including version 1.61.0, some of these rules are not correctly applied. An attacker could craft events which would be accepted by Synapse but not a spec-conformant server, potentially causing divergence in the room state between servers. Administrators of homeservers with federation enabled are advised to upgrade to version 1.62.0 or higher. Federation can be disabled by setting [`federation_domain_whitelist`](https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#federation_domain_whitelist) to an empty list (`[]`) as a workaround.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-31152
BreachSpider IDBS-2022-GLOBAL-319233-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published2022-09-02
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-703: CWE-703

CWE-755: CWE-755

Analysis AI-written, not human-reviewed

CVE-2022-31152 affects Synapse, an open-source Matrix homeserver, due to incomplete enforcement of event authorization rules, allowing unauthorized events to be accepted into rooms.

An attacker could exploit this vulnerability by sending unauthorized events to a room, potentially leading to unauthorized access, data manipulation, or disruption of service.

Questions

What is CVE-2022-31152?

CVE-2022-31152 affects Synapse, an open-source Matrix homeserver, due to incomplete enforcement of event authorization rules, allowing unauthorized events to be accepted into rooms.

What is the CVSS score for CVE-2022-31152?

CVE-2022-31152 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H. EPSS: 1.4%.

Is CVE-2022-31152 actively exploited?

No confirmed active exploitation of CVE-2022-31152 as of 2026-09-25.

How do I remediate CVE-2022-31152?

Priority: HIGH.

What systems are affected by CVE-2022-31152?

CVE-2022-31152 affects Matrix Synapse.

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":"Matrix","product":"Synapse","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.