# CVE-2024-52602: Server-Side Request Forgery (SSRF) on redirects and federation in Matrix Media Repo

- Severity: Medium 5.0 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.59%, higher than 49% of CVEs (2026-12-01)
- Published: 2025-01-16T19:14:46.822Z
- Modified: 2026-06-17T08:07:31.890Z
- Also known as: GHSA-r6jg-jfv6-2fjv, GO-2025-3399
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- t2bot matrix-media-repo: < 1.3.8; before 1.3.8
- github.com/t2bot/matrix-media-repo (Go): before 1.3.8

## Every score

- GitHub_M: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/t2bot/matrix-media-repo/security/advisories/GHSA-r6jg-jfv6-2fjv> (advisory, vendor-advisory, web)
- <https://github.com/t2bot/matrix-media-repo/releases/tag/v1.3.8> (release-notes, web)
- <https://learn.snyk.io/lesson/ssrf-server-side-request-forgery> (technical-description, web)
- <https://owasp.org/www-community/attacks/Server_Side_Request_Forgery> (technical-description, web)
- <https://www.agwa.name/blog/post/preventing_server_side_request_forgery_in_golang> (technical-description, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-52602> (advisory)
- <https://github.com/t2bot/matrix-media-repo> (package)
- <https://pkg.go.dev/vuln/GO-2025-3399> (web)

## Sources

- CVE List: [CVE-2024-52602](https://www.cve.org/CVERecord?id=CVE-2024-52602), CVE Terms of Use, modified 2025-02-12
- GitHub Advisory Database: [GHSA-r6jg-jfv6-2fjv](https://github.com/advisories/GHSA-r6jg-jfv6-2fjv), CC-BY-4.0, modified 2025-08-20
- Go Vulnerability Database: [GO-2025-3399](https://pkg.go.dev/vuln/GO-2025-3399), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2024-52602](https://nvd.nist.gov/vuln/detail/CVE-2024-52602), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-52602 · Whole record: https://cve.day/CVE-2024-52602.json · Rebuilt by cve.day 2026-11-25T22:58:51.093Z
