CVE-2024-37303Matrix Synapse
Medium 5.3 No auth needed
Follow: this CVE · Matrix · Matrix Synapse We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.8% probability of exploitation in 30 days · percentile 51
- Auth required
- No
- Published
- Dec 3, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-306
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
Synapse is an open-source Matrix homeserver. Synapse before version 1.106 allows, by design, unauthenticated remote participants to trigger a download and caching of remote media from a remote homeserver to the local media repository. Such content then also becomes available for download from the local homeserver in an unauthenticated way. The implication is that unauthenticated remote adversaries can use this functionality to plant problematic content into the media repository. Synapse 1.106 introduces a partial mitigation in the form of new endpoints which require authentication for media downloads. The unauthenticated endpoints will be frozen in a future release, closing the attack vector.
What to do
- Apply the vendor's security update for Synapse.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | matrix-synapse |
< 1.106 |
1.106 |
pip install "matrix-synapse>=1.106" |
| PyPI | matrix-synapse |
< 1.106.0 |
1.106.0 |
pip install "matrix-synapse>=1.106.0" |
Per OSV / GitHub Advisories (GHSA-gjgr-7834-rhxr, PYSEC-2024-287). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| matrix | synapse | < 1.106.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Vendor Advisory
- github.com Issue Tracking Patch