CVE-2026-23837 (CNNVD-202601-2989)
中文标题:
MyTube 安全漏洞
英文标题:
MyTube has an Authorization Bypass vulnerability
漏洞描述
中文描述:
MyTube是Peifan Li个人开发者的一个视频自托管下载器和播放器。 MyTube 1.7.66之前版本存在安全漏洞,该漏洞源于roleBasedAuthMiddleware身份验证检查可被绕过,可能导致未经验证的用户访问和修改应用设置及受保护路由。
英文描述:
MyTube is a self-hosted downloader and player for several video websites. A vulnerability present in version 1.7.65 and poetntially earlier versions allows unauthenticated users to bypass the mandatory authentication check in the roleBasedAuthMiddleware. By simply not providing an authentication cookie (making req.user undefined), a request is incorrectly passed through to downstream handlers. All users running MyTube with loginEnabled: true are impacted. This flaw allows an attacker to access and modify application settings via /api/settings, change administrative and visitor passwords, and access other protected routes that rely on this specific middleware. The problem is patched in v1.7.66. MyTube maintainers recommend all users upgrade to at least version v1.7.64 immediately to secure their instances. The fix ensures that the middleware explicitly blocks requests if a user is not authenticated, rather than defaulting to next(). Those who cannot upgrade immediately can mitigate risk by restricting network access by usi a firewall or reverse proxy (like Nginx) to restrict access to the /api/ endpoints to trusted IP addresses only or, if they are comfortable editing the source code, manually patch by locating roleBasedAuthMiddleware and ensuring that the logic defaults to an error (401 Unauthorized) when req.user is undefined, instead of calling next().
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| franklioxygen | MyTube | < 1.7.66 | - | - |
cpe:2.3:a:franklioxygen:mytube:<_1.7.66:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
3.1 (cna)
CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2026-23837 |
2026-01-20 02:19:58 | 2026-01-19 19:10:35 |
| NVD | nvd_CVE-2026-23837 |
2026-01-20 03:00:05 | 2026-01-19 19:10:38 |
| CNNVD | cnnvd_CNNVD-202601-2989 |
2026-01-26 02:10:02 | 2026-01-25 18:11:52 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202601-2989
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- data_sources: ['cve'] -> ['cve', 'nvd']