CVE-2026-67345 Details
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.
A vulnerability in MaxKey versions through 4.1.12 allows remote attackers to hijack OAuth 2.0 authorization codes due to insufficient validation of redirect URIs. The issue arises in the DefaultRedirectResolver.hostMatches() method, where the hostname suffix of a crafted redirect_uri can match a registered URI without proper dot-boundary anchoring. Attackers controlling a domain that ends with the registered redirect URI hostname can social-engineer victims into clicking a malicious authorization URL. This leads to the authorization code being sent to the attacker-controlled URI, which can then be exchanged for an access token, granting access to the victim's identity within the application.
Users can update to MaxKey version 4.1.12 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 30, 2026CISA-ADP
Assessed Jul 30, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/dromara/MaxKey/commit/ddbb72fb24ab8e66aa422fb14b1177330bcffb45 | [email protected] | Source CodeVendor |
| https://github.com/dromara/MaxKey/issues/269 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://www.vulncheck.com/advisories/maxkey-defaultredirectresolver-oauth-authorization-code-theft | [email protected] | AdvisoryRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-183 | Permissive List of Allowed Inputs | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Dromara MaxKey | <= 4.1.12 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 30, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | New CVE Received | [email protected] |
Volerion