CVE-2026-67345

MaxKey 4.1.12 DefaultRedirectResolver OAuth Authorization Code Theft

Published Jul 30, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

MaxKey up to version 4.1.12 contains a flaw in DefaultRedirectResolver.hostMatches() that fails to apply dot‑boundary anchoring when validating redirect_uri hostnames. The vulnerability allows an attacker to craft a redirect URI whose hostname suffix matches a legitimate registered URI but points to a domain under the attacker’s control. When a victim authorizes such a link, the OAuth 2.0 authorization server issues a code to the attacker’s endpoint, which can then be exchanged for an access token and privileged identity data. This flaw demonstrates CWE‑183: Incorrect Comparison.

Affected Systems

Any installation of the dromara MaxKey identity server that includes the vulnerable DefaultRedirectResolver implementation and is running version 4.1.12 or earlier. The vulnerability applies to deployments that accept user‑supplied redirect_uri values during the OAuth 2.0 authorization flow.

Risk and Exploitability

The CVSS score of 8.5 indicates a high severity. Although the EPSS score is 0.0031 (<1%), indicating a very low current exploitation probability, the flaw permits a remote attack that requires only the ability to create a malicious authorization URL, which can be performed from any internet‑connected device. The vulnerability is not yet listed in CISA KEV but has an available fix and public disclosure. Attackers can exploit the weakness by social‑engineering victims into clicking a crafted URL; once the victim authorizes the request, the attacker receives an OAuth token that grants access to the victim’s identity, potentially leading to data exposure and unauthorized use of the victim’s credentials.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official patch from dromara, which includes commit ddbb72f or upgrade to a release that incorporates the fix.
  • Configure MaxKey to enforce strict exact matches for redirect_uri hostnames, ensuring that hostname suffixes receive dot‑boundary verification.
  • If patching is not immediately possible, restrict the list of allowed redirect_uri domains to those under your organization’s control and monitor OAuth traffic for abnormal redirect patterns.

Generated by OpenCVE AI on August 2, 2026 at 05:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Maxkey
Maxkey maxkey
CPEs cpe:2.3:a:maxkey:maxkey:*:*:*:*:*:*:*:*
Vendors & Products Maxkey
Maxkey maxkey
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Dromara
Dromara maxkey
Vendors & Products Dromara
Dromara maxkey
Type Values Removed Values Added
Description 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.
Title MaxKey 4.1.12 DefaultRedirectResolver OAuth Authorization Code Theft
Weaknesses CWE-183
References
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 8.5, 'vector': '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'}

Weaknesses
  • CWE-183

    Permissive List of Allowed Inputs

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 14, 2026, 4:50 PM
Reserved
Jul 29, 2026, 1:09 PM
Status
Deferred
Published
Jul 30, 2026, 3:16 PM
Modified
Oct 23, 2026, 10:10 PM