Live threats

All CVEs / Matrix

CVE-2020-26257Matrix Synapse

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
2.4%
probability of exploitation in 30 days · percentile 85
Auth required
Yes
Published
Dec 9, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-400
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

What happens

Matrix is an ecosystem for open federated Instant Messaging and VoIP. Synapse is a reference "homeserver" implementation of Matrix. A malicious or poorly-implemented homeserver can inject malformed events into a room by specifying a different room id in the path of a `/send_join`, `/send_leave`, `/invite` or `/exchange_third_party_invite` request. This can lead to a denial of service in which future events will not be correctly sent to other servers over federation. This affects any server which accepts federation requests from untrusted servers. The Matrix Synapse reference implementation before version 1.23.1 the implementation is vulnerable to this injection attack. Issue is fixed in version 1.23.1. As a workaround homeserver administrators could limit access to the federation API to trusted servers (for example via `federation_domain_whitelist`).

Original NVD text.

What to do

  1. Apply the vendor's security update for Synapse.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI matrix-synapse < 1.23.1 1.23.1 pip install "matrix-synapse>=1.23.1"
PyPI matrix-synapse < 1.23.1 1.23.1 pip install "matrix-synapse>=1.23.1"

Per OSV / GitHub Advisories (GHSA-hxmp-pqch-c8mm, PYSEC-2020-236). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
matrixsynapse< 1.23.1
fedoraprojectfedora32
fedoraprojectfedora33

Official sources

References

Links published by the sources. Open them with care.