Medplum is a developer platform that enables development of healthcare apps. Prior to version 5.1.6, the external identity provider callback at GET /auth/external accepts attacker-controlled redirect URIs that only need to start with a registered client redirect URI, rather than matching exactly. After a successful external IdP login, the server appends Medplum login and code values to that attacker-supplied URL and issues a redirect. Because the external login request state is serialized as raw JSON and later trusted by the callback, an attacker who can tamper with state.redirectUri can cause Medplum to redirect authorization artifacts to an attacker-controlled endpoint. When the registered redirect URI is a bare origin or another prefix that can be extended into a different hostname, this becomes a cross-origin authorization code leak. This issue has been patched in version 5.1.6.
Exploitability Profile
None Observed
No active abuse flagged
Available
0 PoC signals · 1 repo
Confirmed
1 patch mentions · 4 advisories
Stable
Peak 1 on Sep 3, 2026
Operational SSVC remediation guidance paired with multi-source scoring and CWE mappings.
Recommended SOC / VM Action
Verify version impact across your CPE inventory and schedule remediation within the next planned patch window.
Triage Priority
CVSS v3.1
Source: GitHub
2mentions
Across 2 tracked days
| Authority | Version | Score | Vector String |
|---|---|---|---|
CNAGitHub | v3.1 | 7.1HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L |
2 total mentions across 2 observed days · Peak 1 on Sep 3, 2026
Deduplicated GitHub PoCs, vendor advisories, NVD references, and researcher links.