CVE-2026-53728
published high CVSS 3.1 · 7.1Medplum - Improper Validation of Redirect URI in External Auth Callback allows Authorization Code Leakage
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| medplum | — | medplum< 5.1.6 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.1 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| medplum | medplum | < 5.1.6 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-601 CWE-601: URL Redirection to Untrusted Site ('Open Redirect')
- CWE-345 CWE-345: Insufficient Verification of Data Authenticity
References
4Provider assertions
2GitHub_M · cna
Medplum - Improper Validation of Redirect URI in External Auth Callback allows Authorization Code Leakage
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 56543416c1f5f2268ff7041711a993a0545dd28113843fa0981ed7b9d8736125
- Ingested
- 23 Sep 2026, 09:19:58 UTC
- Source record
- Official CVE record