{"id":"CVE-2026-62302","aliases":["CVE-2026-62302"],"related":[],"kind":"vulnerability","state":"published","title":"MyTube: Unauthenticated Media Access via Static Routes Bypassing Login","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-10-30T19:29:46.456Z","modified":"2026-11-02T19:35:33.347Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":8.7,"rating":"HIGH"}],"cwes":["CWE-306"],"affected":[{"ranges":[{"version":"< 1.10.3","status":"affected"}],"vendor":"franklioxygen","product":"MyTube","source":"cvelist"}],"references":[{"url":"https://github.com/franklioxygen/MyTube/security/advisories/GHSA-rwwf-29mq-5j43","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/franklioxygen/MyTube/commit/7cc7c6a7d297ccbd8bd2c76755129381b96f8456","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/franklioxygen/MyTube/tree/v1.10.3","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-30T21:26:44.630Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-62302","url":"https://www.cve.org/CVERecord?id=CVE-2026-62302","licence":"CVE Terms of Use","modified":"2026-10-30T22:15:09.861Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-62302","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62302","licence":"Public domain","modified":"2026-11-02T19:35:33.347Z"}],"updatedAt":"2026-11-25T22:59:48.020Z","epss":{"score":0.00462,"percentile":0.41722,"date":"2026-12-01T12:00:22.000Z"}}