# CVE-2024-36402: Unauthenticated writes to the media repository allow planting of problematic content in Matrix Media Repo

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2025-01-16T19:05:01.000Z
- Modified: 2026-06-17T07:36:38.993Z
- Also known as: GHSA-8vmr-h7h5-cqhg, GO-2025-3397
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <https://github.com/t2bot/matrix-media-repo/security/advisories/GHSA-8vmr-h7h5-cqhg> (advisory, vendor-advisory, web)
- <https://github.com/matrix-org/matrix-spec-proposals/pull/3916> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-36402> (advisory)
- <https://github.com/t2bot/matrix-media-repo> (package)
- <https://pkg.go.dev/vuln/GO-2025-3397> (web)

## Sources

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

---

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