Skip to content

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

MediumCVSS 6.8 EPSS 0.19%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
franklioxygen MyTube = < 1.10.6 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
franklioxygen MyTube = < 1.10.6 No fix listed

References