{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "4.1.12"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "3a3a5c7657d0034fe6cf8a96d469bc2828d70072"
            }
          ],
          "repo": "https://github.com/dromara/maxkey",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-183"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67345.json"
  },
  "details": "MaxKey through 4.1.12, fixed in commit ddbb72f, contains an insufficient redirect URI validation vulnerability in DefaultRedirectResolver.hostMatches() that allows remote attackers to hijack OAuth 2.0 authorization codes by supplying a crafted redirect_uri whose hostname suffix matches a registered URI without proper dot-boundary anchoring. Attackers who control a domain ending with the registered redirect URI hostname can social-engineer victims into clicking a crafted authorization URL, causing the authorization code to be issued to the attacker-controlled URI and exchanged for an access token granting access to the victim's identity.",
  "id": "CVE-2026-67345",
  "modified": "2026-08-04T11:30:58.579817635Z",
  "published": "2026-07-30T14:39:13.577Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/67xxx/CVE-2026-67345.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-67345"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/maxkey-defaultredirectresolver-oauth-authorization-code-theft"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/dromara/MaxKey/issues/269"
    },
    {
      "type": "FIX",
      "url": "https://github.com/dromara/MaxKey/commit/ddbb72fb24ab8e66aa422fb14b1177330bcffb45"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/dromara/MaxKey"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "MaxKey 4.1.12 DefaultRedirectResolver OAuth Authorization Code Theft"
}