---
id: CVE-2026-63433
title: 'MyTube: CSRF Protection Bypass via Arbitrary x-api-key Header Value'
summary: >-
  MyTube is a self-hosted downloader and player for several video websites.
  Prior to 1.10.6, shouldSkipCsrfProtection() in
  backend/src/middleware/csrfConfig.ts delegates to isApiKeyRequest(), which
  grants a CSRF exemption based only on the…
severity: medium
cvss: 6.8
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N'
cvssSource: cna
cwe:
  - CWE-352
vendor: franklioxygen
product: MyTube
affected:
  - MyTube < 1.10.6
published: '2026-11-03'
updated: '2026-11-03'
sourceUpdated: '2026-11-03T19:52:42.475Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-63433'
references:
  - url: >-
      https://github.com/franklioxygen/MyTube/security/advisories/GHSA-9qxv-p8j9-gv5r
    label: >-
      https://github.com/franklioxygen/MyTube/security/advisories/GHSA-9qxv-p8j9-gv5r
  - url: >-
      https://github.com/franklioxygen/MyTube/commit/b2000d8b239fd2e44b0e6160137c8b636a09cc89
    label: >-
      https://github.com/franklioxygen/MyTube/commit/b2000d8b239fd2e44b0e6160137c8b636a09cc89
tags:
  - cve.org
epss: 0.0013
epssPercentile: 0.02649
ingestedAt: '2026-11-05T20:33:06.427Z'
---

## Overview

MyTube is a self-hosted downloader and player for several video websites. Prior to 1.10.6, shouldSkipCsrfProtection() in backend/src/middleware/csrfConfig.ts delegates to isApiKeyRequest(), which grants a CSRF exemption based only on the presence of an x-api-key header or an Authorization: ApiKey value rather than successful API-key validation. With a permissive CORS_ALLOWED_ORIGINS configuration, an unauthenticated attacker can lure an authenticated administrator to attacker-controlled content that sends a cross-origin state-changing request with an arbitrary API-key value. The victim's session cookie authenticates the request while CSRF token validation is skipped, allowing destructive or other administrator API operations such as deleting media, triggering downloads, or changing subscriptions. This issue is fixed in version 1.10.6.

## Affected

- `MyTube < 1.10.6`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
