CVE-2026-144967: MediaMTX before 1.22.0 Open Redirect via Percent-Encoded Tab in Trailing-Slash Redirects
MediaMTX before 1.22.0 contains an open redirect vulnerability in the HLS, WebRTC and MoQ HTTP servers because trailingSlashLocation does not strip ASCII control characters. Unauthenticated attackers can send victims links containing a percent-encoded tab, which browsers drop, producing protocol-relative redirects to attacker-controlled sites.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
MediaMTX versions before 1.22.0 are affected when using the HLS, WebRTC, or MoQ HTTP servers. The issue is in redirect handling for those HTTP servers.
What must an attacker do to exploit this?
No authentication is required. An attacker must get a victim to follow a crafted link containing a percent-encoded tab; the victim's browser drops the tab and follows a protocol-relative redirect to an attacker-controlled site.
What version resolves the issue?
Upgrade MediaMTX to version 1.22.0 or later. Versions before 1.22.0 contain the vulnerable handling of ASCII control characters in trailingSlashLocation.