Server-Side Request Forgery (SSRF) on redirects and federation in Matrix Media Repo
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-918 and the CVSS impact.
Summary
Matrix Media Repo (MMR) is a highly configurable multi-homeserver media repository for Matrix. Matrix Media Repo (MMR) is vulnerable to server-side request forgery, serving content from a private network it can access, under certain conditions. This is fixed in MMR v1.3.8. Users are advised to upgrade. Restricting which hosts MMR is allowed to contact via (local) firewall rules or a transparent proxy and may provide a workaround for users unable to upgrade.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- 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.8 | 1.3.8 | Patch available | CNA |
| — | github.com/t2bot/matrix-media-repo (Go) | before 1.3.8 | 1.3.8 | Patch available | GHSA-r6jg-jfv6-2fjv |
- matrix-media-repo Vendort2bot Affected before 1.3.8 Fixed in 1.3.8 Patch available CNA
- github.com/t2bot/matrix-media-repo (Go) Vendor— Affected before 1.3.8 Fixed in 1.3.8 Patch available GHSA-r6jg-jfv6-2fjv
Remediation
- Fix · CNA matrix-media-repo (t2bot) Fixed in 1.3.8
- Fix · GHSA-r6jg-jfv6-2fjv github.com/t2bot/matrix-media-repo (Go) Fixed in 1.3.8 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-52602
- 2026-10-03 Alias added: GHSA-r6jg-jfv6-2fjv
References
Advisory 2
More t2bot Matrix-media-repo vulnerabilities
- TI-2024-24188 Unauthenticated writes to the media repository allow planting of problematic content 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-52602 · CVE Program
- CVE-2024-52602 · NVD
- FIRST EPSS
- GHSA-r6jg-jfv6-2fjv · 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