{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "5.1.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "02ab3af8127a081295fd7bed103847173c0d7632"
            },
            {
              "fixed": "c542adb5dc6d681e6491b28b5ac618c35c446d91"
            }
          ],
          "repo": "https://github.com/zoriya/kyoo",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xhg6-v78p-xf44"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/77xxx/CVE-2026-77386.json"
  },
  "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.",
  "id": "CVE-2026-77386",
  "modified": "2026-09-26T03:30:59.839864699Z",
  "published": "2026-09-18T17:16:37.282Z",
  "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"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Kyoo: OIDC login token can be redirected to an attacker-controlled URL"
}