PyPI: matrix-synapse

CVE-2024-37303

Safety vulnerability ID: SFTY-20241203-39614

Safety legacy ID: pyup.io-74425

Affected versions of Synapse are vulnerable to Missing Authentication for Critical Function (CWE-306). This flaw allows unauthenticated remote users to download and cache media on the local repository, making such content accessible without authentication. The attack is executed via unauthenticated media download endpoints, enabling remote exploitation without credentials. To mitigate this issue, upgrade to Synapse version 1.106 or later, which requires authentication for media downloads. Additionally, server operators can apply stricter IP-based rate limits as a temporary workaround.

Created at: Nov 5, 2025Updated at: Nov 5, 2025

Overview

Synapse's unauthenticated writes to the media repository allow planting of problematic content

Advisory

Affected versions of Synapse are vulnerable to Missing Authentication for Critical Function (CWE-306). This flaw allows unauthenticated remote users to download and cache media on the local repository, making such content accessible without authentication. The attack is executed via unauthenticated media download endpoints, enabling remote exploitation without credentials. To mitigate this issue, upgrade to Synapse version 1.106 or later, which requires authentication for media downloads. Additionally, server operators can apply stricter IP-based rate limits as a temporary workaround.

Affected Package

Affecting matrix-synapse package, versions<1.106

Also affects

---

How to Fix

Upgradematrix-synapseto1.106.0or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more