Summary
CVE-2026-62302 is a missing-authentication vulnerability (CWE-306) in MyTube, a self-hosted video downloader and player. Static and cloud media routes are registered before the authentication middleware, so unauthenticated clients can read protected media when login is enabled. The CVE record rates it 8.7 (High).
Technical details
- Root cause: In
server.ts, static and cloud route handlers are registered before the auth middleware stack. Authentication exists only insideregisterApiRoutes, so the earlier routes are unprotected. - Trigger conditions: Only deployments with
loginEnabled=trueare affected. The default (loginEnabled=false) has no authentication boundary to bypass. Multi-user setups with admin/visitor passwords are exposed even though the frontend enforces login. - Attack vector: Network. No authentication, privileges or user interaction are required.
- Exposed routes (per the vendor advisory):
/videos/*,/images/*,/images-small/*,/avatars/*,/subtitles/*,/api/cloud/thumbnail-cache/*,/cloud/videos/:filenameand/cloud/images/:filename. - Impact: Unauthorized disclosure of videos, thumbnails, avatars and subtitles (high confidentiality impact). The record lists no integrity or availability impact.
Affected software
- MyTube (franklioxygen/MyTube) versions prior to 1.10.3 with
loginEnabled=true.
Severity
- CVSS v4.0 base score 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. The published record uses CVSS v4.0, not v3.1.
Mitigation and recommended actions
- Immediate: Upgrade to MyTube 1.10.3 or later, the fixed version in the CVE record (fix commit 7cc7c6a). The GitHub advisory page GHSA-rwwf-29mq-5j43 listed "Patched versions: None" when we checked it. Confirm the fix in your deployed build.
- Workarounds: Put static file serving behind an authentication check that verifies session validity before responding. For cloud routes, check that the requested filename belongs to media the user may access before generating signed URLs.
- Network mitigation: Don’t expose MyTube directly to the internet. Restrict access with a VPN, an IP allow-list or an authenticating reverse proxy. Don’t rely on the frontend login screen as the only control.

