Unrated severityNVD Advisory· Published Jul 30, 2026· Updated Jul 31, 2026
MaxKey 4.1.12 DefaultRedirectResolver OAuth Authorization Code Theft
CVE-2026-67345
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.
Affected products
2Patches
Vulnerability mechanics
References
3- github.com/dromara/MaxKey/commit/ddbb72fb24ab8e66aa422fb14b1177330bcffb45mitrepatch
- github.com/dromara/MaxKey/issues/269mitretechnical-descriptionexploitissue-tracking
- www.vulncheck.com/advisories/maxkey-defaultredirectresolver-oauth-authorization-code-theftmitrethird-party-advisory
News mentions
0No linked articles in our index yet.