CVE-2026-53728: Medplum · Improper Validation of Redirect URI in External Auth Callback allows Authorization Code Leakage
Affects @medplum/coreSource GCVE Database
Not known to be exploited · CVSS 7.1 High : upgrade to 5.1.6 soon.
Data as of 15 Nov 2026, 20:25 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 9% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.1.6
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:LExploitation evidence
Disclosed: evidence found.
CVE published 17 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 15 Nov 2026.
What to do
Upgrade @medplum/core to 5.1.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npm@medplum/core | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available for this vulnerability. Users should upgrade Medplum to version 5.1.6 or later, where the redirect URI validation enforces exact matching rather than prefix matching. Until patched, avoid registering redirect URIs that can be prefix-matched and extended into attacker-controlled domains. Review client redirect URI configurations to ensure they do not allow prefix overlaps with untrusted domains. Patch status is confirmed as a fix is available.
Description
Medplum versions prior to 5.1.6 contain a vulnerability in the external identity provider callback at GET /auth/external, where redirect URIs are improperly validated using a prefix match instead of an exact match. This allows an attacker to supply a malicious redirect URI that starts with a registered URI but points to an attacker-controlled domain, causing authorization codes to be leaked via redirection. The vulnerability enables an attacker to intercept authorization codes and potentially perform a full account takeover of users authenticating via the external IdP flow.
References
- github.com/medplum/medplum/security/advisories/GHSA-m44r-7c5h-m6mj (opens in a new tab)
- github.com/medplum/medplum/pull/8749 (opens in a new tab)
- github.com/medplum/medplum/commit/7ae10035ddadde4dba7b18d3156553940465b3a1 (opens in a new tab)
- github.com/medplum/medplum (opens in a new tab)
- github.com/medplum/medplum/releases/tag/v5.1.6 (opens in a new tab)