Unauthenticated writes to the media repository allow planting of problematic content in Matrix Media Repo
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-287.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| t2bot | matrix-media-repo | before 1.3.5 | 1.3.5 | Patch available | CNA |
| — | github.com/t2bot/matrix-media-repo (Go) | before 1.3.5 | 1.3.5 | Patch available | GHSA-8vmr-h7h5-cqhg |
- matrix-media-repo Vendort2bot Affected before 1.3.5 Fixed in 1.3.5 Patch available CNA
- github.com/t2bot/matrix-media-repo (Go) Vendor— Affected before 1.3.5 Fixed in 1.3.5 Patch available GHSA-8vmr-h7h5-cqhg
Remediation
- Fix · CNA matrix-media-repo (t2bot) Fixed in 1.3.5
- Fix · GHSA-8vmr-h7h5-cqhg github.com/t2bot/matrix-media-repo (Go) Fixed in 1.3.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-36402
- 2026-10-03 Alias added: GHSA-8vmr-h7h5-cqhg
References
More t2bot Matrix-media-repo vulnerabilities
- TI-2024-35262 Server-Side Request Forgery (SSRF) on redirects and federation in Matrix Media Repo CVSS 3.1MEDIUM 5.3
- TI-2024-35305 Denial of service through memory exhaustion in Matrix Media Repo CVSS 3.1HIGH 7.5
- TI-2024-24189 Denial of service/high operating costs through unauthenticated downloads in Matrix Media Repo CVSS 3.1HIGH 7.5
- TI-2024-37402 Untrusted file formats can be thumbnailed, invoking potentially further untrusted decoders in Matrix Media Repo CVSS 3.1MEDIUM 6.8
Sources
- CVE-2024-36402 · CVE Program
- CVE-2024-36402 · NVD
- FIRST EPSS
- GHSA-8vmr-h7h5-cqhg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences