A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2024-36403

CVE-2024-36403: T2bot Matrix-media-repo DOS Vulnerability

CVE-2024-36403 is a denial of service vulnerability in T2bot Matrix-media-repo allowing attackers to cause unbounded disk consumption. This article covers the technical details, affected versions, impact, and mitigation.

Published: June 2, 2026

CVE-2024-36403 Overview

Matrix Media Repo (MMR) is a configurable multi-homeserver media repository for the Matrix protocol. Versions before 1.3.5 contain an unbounded resource consumption flaw [CWE-770] that allows unauthenticated attackers to trigger downloads of large remote media files into the cache. Instances using a file-backed store or self-hosted S3 backend face disk fill attacks leading to denial of service. Deployments using cloud-based S3 storage face inflated service costs instead of outages. The vendor t2bot released version 1.3.5 with a default-on leaky bucket rate limit to mitigate the issue.

Critical Impact

Unauthenticated remote attackers can exhaust disk storage or generate significant cloud storage costs, blocking authenticated users from uploading new media.

Affected Products

  • t2bot matrix-media-repo versions prior to 1.3.5
  • MMR deployments using file-backed storage
  • MMR deployments using self-hosted S3-compatible storage

Discovery Timeline

  • 2025-01-16 - CVE-2024-36403 published to NVD
  • 2025-08-20 - Last updated in NVD database

Technical Details for CVE-2024-36403

Vulnerability Analysis

The vulnerability stems from missing rate limiting on remote media retrieval endpoints. MMR caches remote media files when clients request them, including requests from unauthenticated users querying through federation. An attacker can repeatedly request large remote media files, forcing MMR to download and persist them in the configured backend storage. The flaw is categorized under CWE-770 (Allocation of Resources Without Limits or Throttling).

The network-based attack vector requires no privileges or user interaction. The impact depends on the storage backend configuration. File-backed and self-hosted S3 deployments suffer disk exhaustion. Cloud-hosted S3 deployments incur unbounded storage and bandwidth charges. Either outcome disrupts legitimate use, as authenticated users cannot upload new media once storage fills.

Root Cause

MMR lacked a throttling mechanism for media fetch operations from unauthenticated clients. The repository accepted repeated requests for remote media without enforcing per-IP or global limits on bytes downloaded. Cached files persisted without enforcement of cumulative size limits relative to attacker behavior.

Attack Vector

An unauthenticated attacker sends crafted requests to the MMR endpoint that triggers retrieval of remote media. Each request causes MMR to fetch the referenced media from a remote homeserver and cache it locally. By referencing many large files or repeating requests, the attacker drives sustained download activity. The exploitation requires only network reachability to the MMR instance. Refer to the GitHub Security Advisory GHSA-vc2m-hw89-qjxf for vendor technical details.

Detection Methods for CVE-2024-36403

Indicators of Compromise

  • Rapid growth in MMR cache directory size or S3 bucket usage without corresponding legitimate user activity.
  • High volume of unauthenticated media fetch requests originating from a small set of source IP addresses.
  • Repeated requests referencing remote media identifiers from a wide range of foreign homeservers.
  • Sustained outbound bandwidth from the MMR host to federated Matrix homeservers.

Detection Strategies

  • Monitor MMR access logs for anomalous spikes in /_matrix/media/ download endpoints from unauthenticated sources.
  • Track storage backend capacity over short intervals and alert on rapid consumption.
  • Correlate reverse proxy logs with MMR fetch activity to identify abusive client IPs.

Monitoring Recommendations

  • Deploy disk and S3 bucket utilization alerts with thresholds tuned to normal growth baselines.
  • Capture and retain reverse proxy logs that include the X-Forwarded-For header for forensic review.
  • Establish billing alerts on cloud storage accounts to detect cost-based exploitation early.

How to Mitigate CVE-2024-36403

Immediate Actions Required

  • Upgrade MMR to version 1.3.5 or later to enable the default leaky bucket rate limit.
  • Configure the reverse proxy to populate the X-Forwarded-For header so the rate limiter applies to the real client IP.
  • Reduce the maximum allowed file size in MMR configuration until patching is complete.
  • Apply strict rate limits at the reverse proxy or web application firewall for media fetch endpoints.

Patch Information

The vendor t2bot released MMR 1.3.5 introducing a default-on leaky bucket rate limit that caps the volume of data an unauthenticated user can request. The fix does not fully eliminate the attack but constrains its impact. Operators must ensure the reverse proxy forwards client IP addresses for the rate limit to function correctly. See the GitHub Security Advisory GHSA-vc2m-hw89-qjxf for release details.

Workarounds

  • Lower the uploads.maxBytes configuration to reduce the size of any single cached file.
  • Enforce restrictive rate limits at an upstream reverse proxy such as NGINX or HAProxy on /_matrix/media/ paths.
  • Restrict federation to a trusted set of homeservers where operationally feasible.
  • Provision storage quotas at the filesystem or S3 bucket level to bound worst-case consumption.
bash
# Configuration example
# NGINX rate limiting for MMR media endpoints and X-Forwarded-For passthrough
limit_req_zone $binary_remote_addr zone=mmr_media:10m rate=5r/s;

location /_matrix/media/ {
    limit_req zone=mmr_media burst=10 nodelay;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_pass http://mmr_backend;
}

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechMatrix Media Repo

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.11%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-770
  • Technical References
  • Wikipedia Leaky Bucket Overview
  • Vendor Resources
  • GitHub Security Advisory GHSA-vc2m-hw89-qjxf
  • Latest CVEs
  • CVE-2024-8261: Prolizyazilim OBS Auth Bypass Vulnerability

  • CVE-2024-13068: LimonDesk Auth Bypass Vulnerability

  • CVE-2025-53679: Fortinet FortiSandbox RCE Vulnerability

  • CVE-2026-9446: Simple POS Inventory System SQLi Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English