CVE-2026-23837

MyTube has an Authorization Bypass vulnerability

Published Jan 19, 2026 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
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().

Analysis

AI-generated

Technical impact

The flaw resides in the roleBasedAuthMiddleware of MyTube, where unauthenticated requests are allowed to proceed to downstream handlers. An attacker who omits the authentication cookie can cause the middleware to treat req.user as undefined and simply call next(), thereby bypassing the mandatory authentication check. As a result, the attacker can access and modify application settings through /api/settings, change administrative and visitor passwords, and consume any protected routes that depend on this middleware. This is a classic authorization bypass based on missing access control checks (CWE-863).

Affected Systems

The vulnerability affects the FrankLioxygen MyTube application, specifically versions 1.7.65 and earlier. Any instance that runs with loginEnabled set to true is impacted regardless of the exact version number, until the middleware is patched. The defect was fixed in the 1.7.66 release.

Risk and Exploitability

The CVSS base score of 9.8 marks this as Critical, while the EPSS score of less than 1% indicates that exploitation attempts are expected to be rare but possible. The vulnerability is not currently listed in the CISA KEV catalog, yet the lack of authentication enforcement makes remote exploitation straightforward: an unauthenticated user can issue requests to any protected API endpoint via an open network connection. The attacker has full control over settings and credentials once the bypass is achieved. High severity combined with low but non-zero exploit probability means that administrators should act promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MyTube to v1.7.66 or later so that the middleware blocks unauthenticated requests with a 401 error.
  • If an upgrade is not immediately possible, restrict network access to the /api/ endpoints using a firewall or reverse proxy, allowing only trusted IP addresses to reach them.
  • As a temporary patch, edit the roleBasedAuthMiddleware code to return a 401 Unauthorized response whenever req.user is undefined instead of calling next().

Generated by OpenCVE AI on April 18, 2026 at 04:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:franklioxygen:mytube:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, '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. 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().
Title MyTube has an Authorization Bypass vulnerability
Weaknesses CWE-863
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 20, 2026, 5:24 PM
Reserved
Jan 16, 2026, 3:46 PM
Status
Analyzed
Published
Jan 19, 2026, 9:15 PM
Modified
Jun 17, 2026, 10:22 AM