Intel

AIKIDO-2026-10605

github.com/bluenviron/mediamtx is vulnerable to Sensitive Credential Exposure via URL Query Parameters

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 27, 2026
April 27, 2026

58

CVE Score

Medium

Sensitive Credential Exposure via URL Query Parameters

Are you affected? Scan for Free

TL;DR

Affected versions of this package accept authentication JWTs via HTTP query parameters by default (controlled by the authJWTInHTTPQuery config flag, which defaulted to true). Tokens passed in URLs are exposed via several side channels: web server access logs, intermediate proxy/CDN logs, browser history, and the Referer header on outbound navigation. v1.18.0 disables JWTs in query parameters by default and deprecates the authJWTInHTTPQuery flag. Token extraction from the query string is now restricted to legacy RTSP/RTMP transports where it is unavoidable.

How do I fix this?

Upgrade the github.com/bluenviron/mediamtx library to the patch version. Note that v1.18.0 introduces a breaking change: clients that previously passed JWTs via URL query parameters must now use the Authorization HTTP header. Remove the authJWTInHTTPQuery setting from your configuration, as it has been deprecated.

Who does this affect?

You are affected if you are running a version that falls within the vulnerable range with HTTP-based access (HLS / WebRTC / playback / API) and authentication enabled, since the default config accepted JWTs supplied as URL query parameters. Risk increases if access logs, proxies, or CDNs are part of the request path, or if browser-driven flows can produce Referer leakage.

Versions

1.0.0 - 1.17.1

Fixed in 1.18.0

Background info

github.com/bluenviron/mediamtx is vulnerable to Sensitive Credential Exposure via URL Query Parameters in versions 1.0.0 - 1.17.1.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea