Read the docs
TI-2024-24188 Aliases CVE-2024-36402GHSA-8vmr-h7h5-cqhg

Unauthenticated writes to the media repository allow planting of problematic content in Matrix Media Repo

Priority MEDIUM 63CWE-287Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00564 47th percentileScored 2026-11-07
Fix Fixed matrix-media-repo (t2bot): 1.3.5github.com/t2bot/matrix-media-repo (Go): 1.3.5

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

VendorProductAffected versionsFixed inStatusSource
t2botmatrix-media-repobefore 1.3.51.3.5Patch availableCNA
—github.com/t2bot/matrix-media-repo (Go)before 1.3.51.3.5Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:t2bot:matrix-media-repo:*:*:*:*:*:*:*:*before 1.3.5Vulnerablet2bot
  • cpe:2.3:a:t2bot:matrix-media-repo:*:*:*:*:*:*:*:* Versions before 1.3.5 Vulnerable ·t2bot

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

  1. 2026-10-02 Threatist record created from CVE-2024-36402
  2. 2026-10-03 Alias added: GHSA-8vmr-h7h5-cqhg

References

  • 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