CVE-2026-62302CWE-306

MyTube: Unauthenticated Media Access via Static Routes Bypassing Login

High · published October 30, 2026

CVSS v4.0
8.7
EPSS
—
In the wild
Unconfirmed
What it is

MyTube is a self-hosted downloader and player for several video websites. Prior to version 1.10.3, `server.ts` calls `registerStaticRoutes` and `registerCloudRoutes` before `registerApiRoutes`, where `authMiddleware` and `roleBasedAuthMiddleware` are mounted. Because Express processes middleware in registration order, `staticRoutes.ts` and `cloudRoutes.ts` remain outside the authentication stack even when `loginEnabled=true`. Unauthenticated clients can access local videos through `/videos/*`, thumbnails through `/images/*` and `/images-small/*`, avatars through `/avatars/*`, subtitles through `/subtitles/*`, cloud thumbnail caches through `/api/cloud/thumbnail-cache/*`, and cloud signed URLs or redirects through `/cloud/videos/:filename` and `/cloud/images/:filename`. The frontend login wall does not protect direct media requests. Cloud routes return 404 when cloud storage is unconfigured, but that is not an authentication rejection; protected API routes correctly return 401. Combined with hidden-video path leaks, the flaw permits unauthenticated downloads of hidden media. Default loginEnabled=false single-user deployments have no authentication boundary to bypass. This issue is fixed in version 1.10.3.

The record
Technical detail
CVSS v4.0
8.7 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS
Not scored
Weakness
CWE-306 · Missing Authentication for Critical Function
Published
2026-10-30T19:29Z
Timeline
  • 30 OCT 19:29Z
    MyTube: Unauthenticated Media Access via Static Routes Bypassing Login
    cvelistv5
  • 30 OCT 19:29Z
    MyTube: Unauthenticated Media Access via Static Routes Bypassing Login
    cvelistv5