CVE-2024-36402T2bot Matrix-media-repo
Medium 5.3 No auth needed
Follow: this CVE · T2bot · T2bot Matrix-media-repo We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 43
- Auth required
- No
- Published
- Jan 16, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-287
- SSVC (CISA)
- Exploitation: proof of concept · 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
Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix. MMR before version 1.3.5 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. MMR 1.3.5 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. Though extremely limited, server operators can use more strict rate limits based on IP address as a partial workaround.
What to do
- Apply the vendor's security update for Matrix-media-repo.
- 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 |
|---|---|---|---|---|
| Go | github.com/t2bot/matrix-media-repo |
< 1.3.5 |
1.3.5 |
go get github.com/t2bot/matrix-media-repo@v1.3.5 |
| Go | github.com/t2bot/matrix-media-repo |
< 1.3.5 |
1.3.5 |
go get github.com/t2bot/matrix-media-repo@v1.3.5 |
Per OSV / GitHub Advisories (GHSA-8vmr-h7h5-cqhg, GO-2025-3397). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| t2bot | matrix-media-repo | < 1.3.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking
- github.com Vendor Advisory