MyTubeで訪問者が非公開の動画情報と動画ファイルにアクセスできる脆弱性
Summary
MyTubeの1.10.3より前のバージョンには、訪問者の権限で非公開の動画の情報や動画ファイルにアクセスできる脆弱性(CVE-2026-62301)があります。ログイン機能を有効にし、訪問者用パスワードを設定している環境が対象です。修正版の1.10.3で修正されているため、1.10.3以降へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
MyTubeの1.10.3より前のバージョンには、訪問者の権限で非公開の動画の情報や動画ファイルにアクセスできる脆弱性(CVE-2026-62301)があります。ログイン機能を有効にし、訪問者用パスワードを設定している環境が対象です。修正版の1.10.3で修正されているため、1.10.3以降へ更新してください。
Original description The description as published by the source.
MyTube is a self-hosted downloader and player for several video websites. Prior to version 1.10.3, backend video access does not enforce the visitor role's intended public-only restriction when loginEnabled=true and a visitor password is configured. The frontend filter in VideoContext.tsx is only client-side, roleBasedAuthMiddleware.ts allows all visitor GET requests, and storageService/videos.ts performs getVideos() and getVideoById(id) queries without checking the caller's role or visibility. A visitor can enumerate /api/videos or request /api/videos/:id to retrieve hidden visibility=0 records, exposing titles, sourceUrl values, videoPath values, subtitle paths and thumbnailPath values. The serveMountVideo() path also serves mounted video files without visibility checks. Leaked paths work against unauthenticated /videos/* and /subtitles/* routes, allowing media downloads without credentials. The RSS visitor feed already filters visibility=1 content and is not the affected query path. Default loginEnabled=false single-user deployments are unaffected by this role-boundary issue because all callers are owner-equivalent. This issue is fixed in version 1.10.3.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- web github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com