Skip to main content
VulnerabilityPublished

CVE-2026-53728: Medplum · Improper Validation of Redirect URI in External Auth Callback allows Authorization Code Leakage

Affects @medplum/coreSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.1 High : upgrade to 5.1.6 soon.

Data as of 15 Nov 2026, 20:25 UTC

CVSS 3.1 base score
7.1High
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 17 Aug 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npm@medplum/coreAffected
  • <5.1.6
Fixed in
  • 5.1.6

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

Community reviews

Loading reviews…