MediaMTX before 1.22.0 contains an open redirect vulnerability in the HLS, WebRTC and MoQ HTTP servers because
Source GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.22.0 when convenient.
Data as of 4 Dec 2026, 16:34 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.1 |
- Patch
- Available – fixed in 1.22.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade MediaMTX to 1.22.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| bluenvironMediaMTX | Affected
| Fixed in
|
GoMediaMTXpkg:golang/MediaMTXOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
If you cannot patch yet, caution should be exercised when handling links from untrusted sources that may exploit this open redirect behavior.
Description
MediaMTX versions prior to 1.22.0 have an open redirect vulnerability in the HLS, WebRTC, and MoQ HTTP servers. The issue arises because the trailingSlashLocation function does not remove ASCII control characters, allowing attackers to craft links with percent-encoded tabs. When browsers process these links, they drop the tab characters, resulting in protocol-relative redirects to attacker-controlled sites. This vulnerability requires user interaction and can lead to limited confidentiality and integrity impacts.
References
- nvd.nist.gov/vuln/detail/CVE-2026-144967 (opens in a new tab)
- github.com/bluenviron/mediamtx/pull/6520 (opens in a new tab)
- github.com/bluenviron/mediamtx/commit/ef238fc14ee99b40fcc7f708619f7cf9abff80ba (opens in a new tab)
- github.com/bluenviron/mediamtx/blob/v1.21.4/internal/servers/hls/http_server.go (opens in a new tab)
- github.com/bluenviron/mediamtx/blob/v1.21.4/internal/servers/hls/http_server.go (opens in a new tab)
- github.com/bluenviron/mediamtx/releases/tag/v1.22.0 (opens in a new tab)
- vulncheck.com/advisories/mediamtx-before-1.22.0-open-redirect-via-percent-encoded-tab-in-trailing-slash-redirects (opens in a new tab)