PyPI (Python)Worst: High45 advisories

matrix-synapse: known vulnerabilities

matrix-synapse has 45 reviewed security advisories in the GitHub Advisory Database — 21 high, 21 moderate, 3 low. The most recent was published 2026-05-28. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the matrix-synapse versions running across your servers, containers and images, and ranks what to patch first.

How to fix matrix-synapse

Upgrade matrix-synapse to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade matrix-synapse (pin matrix-synapse>=1.152.1)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (45)

Synapse CPU starvation (Denial of Service) High 5.5 CWE-400 CWE-770 — Affected: before 1.152.1. Fixed in 1.152.1. Published 2026-05-28. GHSA-8q93-326v-3m7g · CVE-2026-45078
Synapse's invalid device keys degrade federation functionality Moderate CWE-1287 — Affected: from 1.139.0rc2 up to 1.139.1. Fixed in 1.139.1. Published 2025-10-08. GHSA-fh66-fcv5-jjfr · CVE-2025-61672
Synapse vulnerable to federation denial of service via malformed events High 7.1 CWE-20 — Affected: before 1.127.1. Fixed in 1.127.1. Published 2025-03-27. GHSA-v56r-hwv5-mxg6 · CVE-2025-30355
Synapse denial of service through media disk space consumption High 7.5 CWE-770 — Affected: before 1.106. Fixed in 1.106. Published 2024-12-03. GHSA-4mhg-xv73-xq2x · CVE-2024-37302
Synapse Matrix has a partial room state leak via Sliding Sync Moderate 4.3 CWE-497 — Affected: from 1.113.0rc1 up to 1.120.1. Fixed in 1.120.1. Published 2024-12-03. GHSA-56w4-5538-8v8h · CVE-2024-53867
Synapse allows a a malformed invite to break the invitee's `/sync` High CWE-20 — Affected: before 1.120.1. Fixed in 1.120.1. Published 2024-12-03. GHSA-f3r3-h2mq-hx2h · CVE-2024-52815
Synapse's unauthenticated writes to the media repository allow planting of problematic content Moderate 5.3 CWE-306 — Affected: before 1.106. Fixed in 1.106. Published 2024-12-03. GHSA-gjgr-7834-rhxr · CVE-2024-37303
Synapse allows unsupported content types to lead to memory exhaustion High CWE-770 — Affected: before 1.120.1. Fixed in 1.120.1. Published 2024-12-03. GHSA-rfq8-j7rh-8hf2 · CVE-2024-52805
Synapse can be forced to thumbnail unexpected file formats, invoking external, potentially untrustworthy decoders High CWE-434 — Affected: before 1.120.1. Fixed in 1.120.1. Published 2024-12-03. GHSA-vp6v-whfm-rv3g · CVE-2024-53863
Synapse V2 state resolution weakness allows Denial of Service (DoS) Moderate 6.5 CWE-770 — Affected: before 1.105.1. Fixed in 1.105.1. Published 2024-04-23. GHSA-3h7q-rfh9-xm4v · CVE-2024-31208
Synapse vulnerable to leak of remote user device information Moderate 5.3 CWE-200 — Affected: before 1.95.1. Fixed in 1.95.1. Published 2023-10-31. GHSA-mp92-3jfm-3575 · CVE-2023-43796
matrix-synapse vulnerable to denial of service due to malicious server ACL events Moderate 4.9 CWE-770 — Affected: before 1.94.0. Fixed in 1.94.0. Published 2023-10-10. GHSA-5chr-wjw5-3gq4 · CVE-2023-45129
matrix-synapse vulnerable to temporary storage of plaintext passwords during password changes Low 3.7 CWE-312 — Affected: from 1.66.0 up to 1.93.0. Fixed in 1.93.0. Published 2023-09-27. GHSA-4f74-84v3-j9q5 · CVE-2023-41335
matrix-synapse vulnerable to improper validation of receipts allows forged read receipts Moderate 3.1 CWE-285 — Affected: from 0.34.0 up to 1.93.0. Fixed in 1.93.0. Published 2023-09-27. GHSA-7565-cq32-vx2x · CVE-2023-42453
Synapse has improper checks for deactivated users during login Moderate 5.4 CWE-287 — Affected: before 1.85.0. Fixed in 1.85.0. Published 2023-06-06. GHSA-26c5-ppr8-f33p · CVE-2023-32682
Synapse has URL deny list bypass via oEmbed and image URLs when generating previews Moderate 3.5 CWE-863 CWE-918 — Affected: before 1.85.0. Fixed in 1.85.0. Published 2023-06-06. GHSA-98px-6486-j7qc · CVE-2023-32683
Synapse does not apply enough checks to servers requesting auth events of events in a room High 5.0 CWE-200 CWE-862 — Affected: before 1.69.0. Fixed in 1.69.0. Published 2023-05-26. GHSA-45cj-f97f-ggwv · CVE-2022-39335
Synapse Outgoing federation to specific hosts can be disabled by sending malicious invites Moderate 5.0 CWE-20 — Affected: before 1.74.0. Fixed in 1.74.0. Published 2023-05-26. GHSA-f3wc-3vxv-xmvr · CVE-2023-32323
Synapse Denial of service due to incorrect application of event authorization rules during state resolution High 6.5 CWE-400 — Affected: from 1.62.0 up to 1.68.0rc1. Fixed in 1.68.0rc1. Published 2023-05-26. GHSA-p9qp-c452-f9r7 · CVE-2022-39374
Uncontrolled Resource Consumption in Matrix Synapse Moderate 5.3 CWE-400 CWE-772 — Affected: before 1.53.0. Fixed in 1.53.0. Published 2022-11-22. GHSA-4822-jvwx-w47h · CVE-2022-41952
Denial of service due to incorrect application of event authorization rules High 7.5 CWE-703 CWE-755 — Affected: before 1.62.0rc1. Fixed in 1.62.0rc1. Published 2022-09-02. GHSA-jhjh-776m-4765 · CVE-2022-31152
URL previews of unusual or maliciously-crafted pages can crash Synapse media repositories or Synapse monoliths High 6.5 CWE-674 — Affected: before 1.61.1. Fixed in 1.61.1. Published 2022-06-28. GHSA-22p3-qrh9-cx32 · CVE-2022-31052
Improper authorisation of members discloses room membership to non-members Low 3.1 CWE-200 — Affected: before 1.41.1. Fixed in 1.41.1. Published 2021-08-31. GHSA-3x4c-pq33-4w3q · CVE-2021-39164
Adding a private/unlisted room to a community exposes room metadata in an unauthorised manner. Low 3.1 CWE-200 — Affected: before 1.41.1. Fixed in 1.41.1. Published 2021-08-31. GHSA-jj53-8fmw-f2w2 · CVE-2021-39163
Denial of service (via resource exhaustion) due to improper input validation in third-party identifier endpoint Moderate CWE-400 — Affected: before 1.33.0. Fixed in 1.33.0. Published 2021-05-19. GHSA-7h5v-85w9-pq6c
Denial of service attack via push rule patterns in matrix-synapse Moderate 3.7 CWE-331 CWE-400 — Affected: before 1.33.2. Fixed in 1.33.2. Published 2021-05-11. GHSA-x345-32rc-8h85 · CVE-2021-29471
Open redirect via transitional IPv6 addresses on dual-stack networks High 6.3 CWE-601 — Affected: before 1.28.0rc1. Fixed in 1.28.0rc1. Published 2021-04-12. GHSA-5wrh-4jwv-5w78 · CVE-2021-21392
Denial of service (via resource exhaustion) due to improper input validation on groups/communities endpoints Moderate 5.3 CWE-20 — Affected: before 1.28.0. Fixed in 1.28.0. Published 2021-04-12. GHSA-jrh7-mhhx-6h88 · CVE-2021-21393
Denial of service (via resource exhaustion) due to improper input validation on third-party identifier endpoints Moderate 5.3 CWE-20 — Affected: before 1.28.0. Fixed in 1.28.0. Published 2021-04-12. GHSA-w9fg-xffh-p362 · CVE-2021-21394
Cross-site scripting (XSS) vulnerability in the password reset endpoint Moderate 6.9 CWE-79 — Affected: before 1.27.0. Fixed in 1.27.0. Published 2021-03-26. GHSA-246w-56m2-5899 · CVE-2021-21332
HTML injection in email and account expiry notifications Moderate 6.1 CWE-74 CWE-79 — Affected: before 1.27.0. Fixed in 1.27.0. Published 2021-03-26. GHSA-c5f8-35qr-q4fm · CVE-2021-21333
Denial of service attack via .well-known lookups Moderate 4.3 CWE-400 CWE-770 — Affected: from 0.99.0 up to 1.25.0. Fixed in 1.25.0. Published 2021-02-26. GHSA-2hwx-mjrm-v3g8 · CVE-2021-21274
Open redirects on some federation and push requests Moderate 3.1 CWE-601 — Affected: before 1.25.0. Fixed in 1.25.0. Published 2021-02-26. GHSA-v936-j8gp-9q3p · CVE-2021-21273
Denial of service attack via incorrect parameters in Matrix Synapse High 6.5 CWE-400 CWE-74 CWE-79 — Affected: before 1.23.1. Fixed in 1.23.1. Published 2020-12-09. GHSA-hxmp-pqch-c8mm · CVE-2020-26257
Denial of service attack due to invalid JSON High 7.5 CWE-20 — Affected: before 1.20.0. Fixed in 1.20.0. Published 2020-11-24. GHSA-4mp3-385r-v63f · CVE-2020-26890
Cross-site scripting (XSS) vulnerability in the fallback authentication endpoint Moderate 6.1 CWE-79 — Affected: before 1.21.0. Fixed in 1.21.0. Published 2020-10-16. GHSA-3x8c-fmpc-5rmq · CVE-2020-26891
Improper Verification of Cryptographic Signature in matrix-synapse High 8.6 CWE-347 — Affected: before 1.5.0. Fixed in 1.5.0. Published 2019-11-08. GHSA-cppw-2mf8-qpm5 · CVE-2019-18835
matrix-sydent and matrix-synapse Use Cryptographically Weak PRNG High 7.5 CWE-338 — Affected: before 0.99.3.1. Fixed in 0.99.3.1. Published 2019-05-09. GHSA-gwf7-vfjf-wf6x · CVE-2019-11842
Matrix Synapse Predictable Secret Key High 7.5 CWE-330 — Affected: before 0.34.0.1. Fixed in 0.34.0.1. Published 2019-03-21. GHSA-jrqm-v8cv-53ww · CVE-2019-5885
Matrix Synapse Improper Signature Validation High 8.8 CWE-347 — Affected: before 0.33.2.1. Fixed in 0.33.2.1. Published 2018-09-18. GHSA-fmvh-rvq5-hhjx · CVE-2018-16515

Find matrix-synapse across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.