CVE-2026-63433

MyTube: CSRF Protection Bypass via Arbitrary x-api-key Header Value

Published Nov 3, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

MyTube fails to validate the x‑api‑key header before bypassing CSRF checks. If a site accepts an arbitrary x‑api‑key value, an attacker can trick an authenticated administrator into sending a state‑changing request that is authenticated by the victim’s session cookie while the CSRF token is ignored. The attacker can then use the admin API to delete media, initiate downloads, or alter subscriptions, all without the victim’s awareness.

Affected Systems

The problem exists in MyTube, a product by franklioxygen, from the initial release up to, but not including, version 1.10.6. Users who run 1.10.5 or earlier with a permissive CORS_ALLOWED_ORIGINS setting are vulnerable. The fix was integrated in the 1.10.6 update.

Risk and Exploitability

The CVSS score is 6.8, indicating a medium severity vulnerability. EPSS data is unavailable, and the bug is not currently listed in the CISA KEV catalog. An attacker must host a malicious web page that includes a cross‑origin request with an arbitrary x‑api‑key header. The request must target an administrator’s session that is logged in to MyTube and must satisfy the permissive CORS policy. Because the attacker can originate the request from a user browser, the vulnerability is exploitable without administrative credentials but requires the victim to be an authenticated admin.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade MyTube to version 1.10.6 or later to apply the official patch.
  • Restrict CORS_ALLOWED_ORIGINS so that only trusted domains can reach the API, reducing the likelihood of an attacker delivering a cross‑origin request.
  • Ensure that the CSRF exemption condition validates the x‑api‑key against the database before bypassing CSRF checks, or remove the exemption for endpoints that alter state.

Generated by OpenCVE AI on November 4, 2026 at 00:16 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', '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. 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.
Title MyTube: CSRF Protection Bypass via Arbitrary x-api-key Header Value
Weaknesses CWE-352
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 7, 2026, 3:29 AM
Reserved
Jul 16, 2026, 7:35 PM
Status
Deferred
Published
Nov 3, 2026, 8:18 PM
Modified
Nov 12, 2026, 10:18 PM