CVE-2026-62302

MyTube: Unauthenticated Media Access via Static Routes Bypassing Login

Published Oct 30, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

MyTube’s static and cloud routes were mounted before authentication middleware, so Express processed them outside the login guard. Unauthenticated clients could retrieve local videos, thumbnails, avatars, subtitles, and cloud‑cached images through public URLs, even when loginEnabled=true. The flaw also exposed hidden‑video paths, allowing downloads of media that should only be reachable after authentication. This results in a loss of confidentiality for media assets and could lead to accidental or intentional disclosure of private content.

Affected Systems

The vulnerable product is franklioxygen MyTube, any deployment running a version earlier than 1.10.3. Single‑user installations that default to loginEnabled=false lack an authentication boundary altogether, making every media endpoint publicly reachable.

Risk and Exploitability

The CVSS score of 8.7 marks this issue as high severity. EPSS data is not available, and the vulnerability is not listed in CISA’s KEV catalog. Attackers can exploit the flaw by accessing exposed URLs over the network; the lack of an authentication gate and the public visibility of media endpoints make exploitation straightforward once the web server is reachable. Because the flaw is purely an access‑control weakness (CWE‑306), any user with network access to the service can download protected media, potentially leaking proprietary or private content.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MyTube to version 1.10.3 or newer, which reorders middleware to enforce authentication on all media routes.
  • Configure firewall or reverse‑proxy rules to block direct access to /videos/*, /images/*, /avatars/*, /subtitles/*, /api/cloud/thumbnail-cache/*, and /cloud/videos/* and /cloud/images/* paths.
  • If the application must remain accessible over the internet, place a reverse proxy that requires authentication before forwarding requests to these media endpoints, thereby preventing unauthenticated media downloads.

Generated by OpenCVE AI on October 30, 2026 at 21:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Franklioxygen
Franklioxygen mytube
Vendors & Products Franklioxygen
Franklioxygen mytube
Type Values Removed Values Added
Description 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.
Title MyTube: Unauthenticated Media Access via Static Routes Bypassing Login
Weaknesses CWE-306
References
Metrics cvssV4_0

{'score': 8.7, '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'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 10:15 PM
Reserved
Jul 13, 2026, 7:27 PM
Status
Deferred
Published
Oct 30, 2026, 8:17 PM
Modified
Nov 2, 2026, 7:35 PM