{"id":"CVE-2026-77386","state":"PUBLISHED","title":"Kyoo: OIDC login token can be redirected to an attacker-controlled URL","description":"Kyoo is a self-hosted media server focused on movies, series, and anime. Prior to 5.1.0, an unauthenticated attacker could initiate the OIDC login flow with an attacker-controlled redirectUrl. The login handling in auth/oidc.go stored that URL with the opaque login state, and /auth/oidc/logged/{provider} appended the provider, token, and error values before redirecting the victim's browser without validating the destination. Because the one-use token was not bound to the browser session that initiated login, an attacker who induced a victim to complete OIDC authentication could capture the token at the attacker-controlled destination and exchange it through /auth/oidc/callback/{provider} for the victim's Kyoo session. This issue is fixed in version 5.1.0.","publishedAt":"2026-09-18T17:16:37.282Z","updatedAt":"2026-09-22T15:09:09.067Z","severity":{"score":6.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["zoriya Kyoo"],"affected":[{"vendor":"zoriya","product":"Kyoo","versions":[{"version":"< 5.1.0","status":"affected"}]}],"references":["https://github.com/zoriya/Kyoo/security/advisories/GHSA-xhg6-v78p-xf44","https://github.com/zoriya/Kyoo/pull/1576","https://github.com/zoriya/Kyoo/commit/02ab3af8127a081295fd7bed103847173c0d7632","https://github.com/zoriya/Kyoo/releases/tag/v5.1.0"],"weaknesses":["CWE-601"],"ingestedAt":"2026-10-29T20:13:07.220Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/77xxx/CVE-2026-77386.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-77386","state":"PUBLISHED","datePublished":"2026-09-18T17:16:37.282Z","dateUpdated":"2026-09-22T15:09:09.067Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-08-20T19:36:13.806Z"},"containers":{"cna":{"title":"Kyoo: OIDC login token can be redirected to an attacker-controlled URL","descriptions":[{"lang":"en","value":"Kyoo is a self-hosted media server focused on movies, series, and anime. Prior to 5.1.0, an unauthenticated attacker could initiate the OIDC login flow with an attacker-controlled redirectUrl. The login handling in auth/oidc.go stored that URL with the opaque login state, and /auth/oidc/logged/{provider} appended the provider, token, and error values before redirecting the victim's browser without validating the destination. Because the one-use token was not bound to the browser session that initiated login, an attacker who induced a victim to complete OIDC authentication could capture the token at the attacker-controlled destination and exchange it through /auth/oidc/callback/{provider} for the victim's Kyoo session. This issue is fixed in version 5.1.0."}],"affected":[{"vendor":"zoriya","product":"Kyoo","versions":[{"version":"< 5.1.0","status":"affected"}]}],"references":[{"url":"https://github.com/zoriya/Kyoo/security/advisories/GHSA-xhg6-v78p-xf44","name":"https://github.com/zoriya/Kyoo/security/advisories/GHSA-xhg6-v78p-xf44","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zoriya/Kyoo/pull/1576","name":"https://github.com/zoriya/Kyoo/pull/1576","tags":["x_refsource_MISC"]},{"url":"https://github.com/zoriya/Kyoo/commit/02ab3af8127a081295fd7bed103847173c0d7632","name":"https://github.com/zoriya/Kyoo/commit/02ab3af8127a081295fd7bed103847173c0d7632","tags":["x_refsource_MISC"]},{"url":"https://github.com/zoriya/Kyoo/releases/tag/v5.1.0","name":"https://github.com/zoriya/Kyoo/releases/tag/v5.1.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-601","lang":"en","description":"CWE-601: URL Redirection to Untrusted Site ('Open Redirect')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-09-18T17:16:37.282Z"},"source":{"advisory":"GHSA-xhg6-v78p-xf44","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/zoriya/Kyoo/security/advisories/GHSA-xhg6-v78p-xf44","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-22T15:08:48.131175Z","id":"CVE-2026-77386","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-22T15:09:09.067Z"}}]}}}