# CVE-2026-23837: MyTube has an Authorization Bypass vulnerability

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.65%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-01-19T20:09:37.223Z
- Modified: 2026-06-17T10:22:10.800Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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().

(As written by CVE List.)

## Affected

- franklioxygen MyTube: < 1.7.66; before 1.7.66

## References

- <https://github.com/franklioxygen/MyTube/security/advisories/GHSA-cmvj-g69f-8664> (third-party-advisory)
- <https://github.com/franklioxygen/MyTube/commit/f85ae9b0d6e4a6480c6af5b675a99069d08d496e> (patch)

## Sources

- CVE List: [CVE-2026-23837](https://www.cve.org/CVERecord?id=CVE-2026-23837), CVE Terms of Use, modified 2026-01-20
- NVD: [CVE-2026-23837](https://nvd.nist.gov/vuln/detail/CVE-2026-23837), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-23837 · Whole record: https://cve.day/CVE-2026-23837.json · Rebuilt by cve.day 2026-11-25T22:59:12.956Z
