# CVE-2020-26257: Denial of service attack via incorrect parameters to federation APIs

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2020-12-09 · Modified: 2024-08-04
- Aliases: GHSA-hxmp-pqch-c8mm, PYSEC-2020-236, UBUNTU-CVE-2020-26257, DEBIAN-CVE-2020-26257, ALPINE-CVE-2020-26257
- Record: https://cvemate.com/vulnerability/CVE-2020-26257 · JSON: https://cvemate.com/vulnerability/CVE-2020-26257/json

## Description

```text
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`).
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 2.392%, percentile 84.52%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine synapse (Alpine Linux): \< 1.24.0-r0
- debian matrix-synapse (Debian): \< 1.24.0-1
- ubuntu matrix-synapse (Ubuntu): All versions (No fix recorded)
- fedoraproject fedora: 32 \| 33
- matrix-org synapse: \< 1.23.1
- matrix synapse: \< 1.23.1
- PyPI matrix-synapse (PyPI): \< 3ce2f303f15f6ac3dc352298972dc6e04d9b7a8b \| \< 1.23.1

## References

- <https://github.com/matrix-org/synapse/security/advisories/GHSA-hxmp-pqch-c8mm>
- <https://github.com/matrix-org/synapse/pull/8776>
- <https://github.com/matrix-org/synapse/commit/3ce2f303f15f6ac3dc352298972dc6e04d9b7a8b>
- <https://github.com/matrix-org/synapse/blob/develop/CHANGES.md#synapse-1231-2020-12-09>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QR4MMYZKX5N5GYGH4H5LBUUC5TLAFHI7/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DBTIU3ZNBFWZ56V4X7JIAD33V5H2GOMC/>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-26257>
- <https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2020-236.yaml>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DBTIU3ZNBFWZ56V4X7JIAD33V5H2GOMC>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QR4MMYZKX5N5GYGH4H5LBUUC5TLAFHI7>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QR4MMYZKX5N5GYGH4H5LBUUC5TLAFHI7/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DBTIU3ZNBFWZ56V4X7JIAD33V5H2GOMC/>
- <https://ubuntu.com/security/CVE-2020-26257>
- <https://www.cve.org/CVERecord?id=CVE-2020-26257>
- <https://security-tracker.debian.org/tracker/CVE-2020-26257>
- <https://security.alpinelinux.org/vuln/CVE-2020-26257>

---

Data as of 2026-12-05T09:38:04.957Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
