# CVE-2026-77386: Kyoo: OIDC login token can be redirected to an attacker-controlled URL

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-18T17:16:37.282Z
- Modified: 2026-09-24T21:25:27.050Z
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- zoriya Kyoo: < 5.1.0

## References

- <https://github.com/zoriya/Kyoo/security/advisories/GHSA-xhg6-v78p-xf44> (exploit)
- <https://github.com/zoriya/Kyoo/pull/1576>
- <https://github.com/zoriya/Kyoo/commit/02ab3af8127a081295fd7bed103847173c0d7632>
- <https://github.com/zoriya/Kyoo/releases/tag/v5.1.0>

## Sources

- CVE List: [CVE-2026-77386](https://www.cve.org/CVERecord?id=CVE-2026-77386), CVE Terms of Use, modified 2026-09-22
- NVD: [CVE-2026-77386](https://nvd.nist.gov/vuln/detail/CVE-2026-77386), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-77386 · Whole record: https://cve.day/CVE-2026-77386.json · Rebuilt by cve.day 2026-11-25T22:59:39.648Z
