{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "1.2.0"
                  },
                  {
                    "last_affected": "2.6.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "865d69fceb9c1f1a0d30923fae7cef072a38b22b"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "b24f69e58b968e19d288611e21d4be491cad291d"
            },
            {
              "fixed": "865d69fceb9c1f1a0d30923fae7cef072a38b22b"
            }
          ],
          "repo": "https://github.com/rabithua/rote",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-639"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126801.json"
  },
  "details": "Rote 1.2.0 through 2.6.0 contains an authorization bypass in the OAuth bind/merge endpoint that allows authenticated users to merge any OAuth-bound account into their own. Attackers can submit a public existingUserId and GitHub or Apple user ID to take over notes, attachments, and API keys and delete the victim account.",
  "id": "CVE-2026-126801",
  "modified": "2026-11-14T02:30:54.633582047Z",
  "published": "2026-11-11T20:53:05.337Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126801.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126801"
    },
    {
      "type": "ADVISORY",
      "url": "https://vul.yulun.ac.cn/20261104/rote/"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/rote-1.2.0-through-2.6.0-account-takeover-via-oauth-account-merge-endpoint"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Rabithua/Rote/commit/865d69fceb9c1f1a0d30923fae7cef072a38b22b"
    },
    {
      "type": "FIX",
      "url": "https://github.com/Rabithua/Rote/pull/420"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/Rabithua/Rote/blob/v2.6.0/server/route/v2/oauth.ts#L596-L659"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Rote 1.2.0 through 2.6.0 Account Takeover via OAuth Account Merge Endpoint"
}