AploSec / Disclosures / CVE-2026-144967
MediaMTX before 1.22.0 Open Redirect via Percent-Encoded Tab in Trailing-Slash Redirects
CVE-2026-144967 · published 2026-12-04
In plain words: this type of bug lets someone send users to a site the attacker controls (open redirect). A fixed release is listed.
Summary
CVE-2026-144967 affects MediaMTX (Go) < 1.22.0: Open Redirect via Percent-Encoded Tab in Trailing-Slash Redirects (CWE-601). Fixed in 1.22.0. CVSS 4.0 base score 5.3 (Medium), assigned by VulnCheck. Published 2026-12-04 by VulnCheck. Credit: Zachariah Mithani (AploSec).
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.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade MediaMTX to 1.22.0 or later. Releases in the affected range (< 1.22.0) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-12-04 CVE published
References
- Fix pull requesthttps://github.com/bluenviron/mediamtx/pull/6520
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/mediamtx-before-1.22.0-open-redirect-via-percent-encoded-tab-in-trailing-slash-redirects
- Fix commithttps://github.com/bluenviron/mediamtx/commit/ef238fc14ee99b40fcc7f708619f7cf9abff80ba
- Releasehttps://github.com/bluenviron/mediamtx/releases/tag/v1.22.0
- Vulnerable codehttps://github.com/bluenviron/mediamtx/blob/v1.21.4/internal/servers/hls/http_server.go#L30-L39
- Vulnerable codehttps://github.com/bluenviron/mediamtx/blob/v1.21.4/internal/servers/hls/http_server.go#L186-L192
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-144967
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-144967
- Severity
- Medium 5.3CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- MediaMTX
- Ecosystem
- Go
- Affected
- < 1.22.0
- Fixed
- 1.22.0
- Weakness
- CWE-601
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder