pypi package reportIs matrix-synapse safe ? 45 known vulnerabilities, worst severity HIGH.
// reach 60 direct dependencies
21 carry known advisories, worst CRITICAL
0 packages depend on it
an advisory here reaches each of them
// ai model usage No published models are known to use this package.
cvss CVSS v3.1 base score out of 10; GitHub rates it HIGH
epss chance of exploitation in 30 days, 2nd percentile of all CVEs
xyz score CyberXYZ composite out of 10
fig. 01 — GHSA-8q93-326v-3m7g, the advisory selected below
// 45 advisories GHSA-8q93-326v-3m7g Local authenticated users can cause Synapse to starve other requests of CPU and lead to other requests failing, causing other users to be denied service. HIGH GHSA-v56r-hwv5-mxg6 A malicious server can craft events with a depth outside the integer range allowed by Canonical JSON. When such an event is received by Synapse version up to 1.127.0, it prevents it from federating with other servers. The vulnerability has been exploited in the wild. HIGH GHSA-4mhg-xv73-xq2x Synapse versions before 1.106 are vulnerable to a disk fill attack, where an unauthenticated adversary can induce Synapse to download and cache large amounts of remote media. The default rate limit strategy is insufficient to mitigate this. This can lead to a denial of service, ranging from further media uploads/downloads failing to completely unavailability of the Synapse process, depending on ho HIGH GHSA-rfq8-j7rh-8hf2 In Synapse before 1.120.1, multipart/form-data requests can in certain configurations transiently increase memory consumption beyond expected levels while processing the request, which can be used to amplify denial of service attacks. HIGH GHSA-f3r3-h2mq-hx2h Synapse versions before 1.120.1 fail to properly validate invites received over federation. This vulnerability allows a malicious server to send a specially crafted invite that disrupts the invited user's /sync functionality. HIGH GHSA-vp6v-whfm-rv3g In Synapse versions before 1.120.1, enabling the dynamic_thumbnails option or processing a specially crafted request could trigger the decoding and thumbnail generation of uncommon image formats, potentially invoking external tools like Ghostscript for processing. HIGH GHSA-p9qp-c452-f9r7 If Synapse and a malicious homeserver are both joined to the same room, the malicious homeserver can trick Synapse into accepting previously rejected events into its view of the current state of that room. This can be exploited in a way that causes all further messages and state changes sent in that room from the vulnerable homeserver to be rejected. HIGH GHSA-45cj-f97f-ggwv Synapse is an open-source Matrix homeserver written and maintained by the Matrix.org Foundation. The Matrix Federation API allows remote homeservers to request the authorisation events of events in a room. This is necessary so that a homeserver receiving some events can validate that those events are legitimate and permitted in their room. HIGH GHSA-jhjh-776m-4765 The Matrix specification specifies a list of event authorization rules which must be checked when determining if an event should be accepted into a room. HIGH GHSA-22p3-qrh9-cx32 URL previews of some web pages can exhaust the available stack space for the Synapse process due to unbounded recursion. HIGH Show all 45 advisories // impact Local authenticated users can cause Synapse to starve other requests of CPU and lead to other requests failing, causing other users to be denied service.
Homeservers that trust all their local users are not at risk.
// patches Update to Synapse 1.152.1 or later.
// workarounds If Synapse is deployed behind a reverse proxy, the reverse proxy could be configured to limit the rate of user requests, preventing or increasing the difficulty of the attack.
// identifiers // for more information If you have any questions or comments about this advisory, please email us at [security at element.io](mailto:security@element.io).
// cvss v3.1 vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality None
Integrity None
Availability High Checked 2026-11-07 at 23:49 UTC. The most recent advisory here was published 2026-05-14. Updated continuously from NVD, GHSA, OSV and CNA feeds.
Think a verdict here is wrong? Tell us — we respond within 2 business days. Report an issue with this page