{"id":"CVE-2026-77386","summary":"Kyoo: OIDC login token can be redirected to an attacker-controlled URL","details":"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.","aliases":["GHSA-xhg6-v78p-xf44"],"modified":"2026-09-26T03:30:59.839864699Z","published":"2026-09-18T17:16:37.282Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77386.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-601"]},"references":[{"type":"WEB","url":"https://github.com/zoriya/Kyoo/releases/tag/v5.1.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77386.json"},{"type":"ADVISORY","url":"https://github.com/zoriya/Kyoo/security/advisories/GHSA-xhg6-v78p-xf44"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-77386"},{"type":"FIX","url":"https://github.com/zoriya/Kyoo/commit/02ab3af8127a081295fd7bed103847173c0d7632"},{"type":"FIX","url":"https://github.com/zoriya/Kyoo/pull/1576"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zoriya/kyoo","events":[{"introduced":"0"},{"fixed":"02ab3af8127a081295fd7bed103847173c0d7632"},{"fixed":"c542adb5dc6d681e6491b28b5ac618c35c446d91"}],"database_specific":{"source":["AFFECTED_FIELD","REFERENCES"],"extracted_events":[{"introduced":"0"},{"fixed":"5.1.0"}]}}],"versions":["v5.0.0","v5.0.0-beta1","v4.7.1","v4.7.0","v4.6.0","v4.5.0","v4.4.0","v4.3.0","v4.2.0","v4.1.0","v4.0.0","v3.0.0","v2.0.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-77386.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"}]}