CVE-2026-23837 (CNNVD-202601-2989)

CRITICAL
中文标题:
MyTube 安全漏洞
英文标题:
MyTube has an Authorization Bypass vulnerability
CVSS分数: 9.8
发布时间: 2026-01-19 20:09:37
漏洞类型: 其他
状态: PUBLISHED
数据质量分数: 0.40
数据版本: v3
漏洞描述
中文描述:

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类型:
CWE-863
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
franklioxygen MyTube < 1.7.66 - - cpe:2.3:a:franklioxygen:mytube:<_1.7.66:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/franklioxygen/MyTube/security/advisories/GHSA-cmvj-g69f-8664 x_refsource_CONFIRM
cve.org
访问
https://github.com/franklioxygen/MyTube/commit/f85ae9b0d6e4a6480c6af5b675a99069d08d496e x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
CRITICAL
9.8
CVSS向量: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
机密性
HIGH
完整性
HIGH
可用性
HIGH
时间信息
发布时间:
2026-01-19 20:09:37
修改时间:
2026-01-19 20:09:37
创建时间:
2026-01-20 03:10:35
更新时间:
2026-01-27 06:00:17
利用信息
暂无可利用代码信息
数据源详情
数据源 记录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
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2026-01-26 02:11:52
vulnerability_type: 未提取 → 其他; cnnvd_id: 未提取 → CNNVD-202601-2989; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 其他
  • cnnvd_id: 未提取 -> CNNVD-202601-2989
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2026-01-20 03:10:38
data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • data_sources: ['cve'] -> ['cve', 'nvd']