Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessDiscover target's redirect_uri values
-
DeliveryPOST crafted /oauth2/register request
-
ExploitReceive client_secret in response
-
ExecutionAuthenticate as compromised OAuth client
-
ImpactAccess or modify FHIR healthcare resources
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Data exposure prevention
MITRE ATT&CK
2 techniques across 2 tactics: Collection, Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target Medplum server must be running version 4.1.10 through 5.1.6 and must have at least one OAuth client defined via the defaultOAuthClients server-side configuration block. The attacker must know or successfully guess the exact redirect_uri of one of these pre-configured clients - this value is often embedded in the application frontend or OAuth discovery documents. The /oauth2/register endpoint must be network-reachable (no authentication required per CVSS PR:N). Deployments with no defaultOAuthClients entries are not vulnerable. Exploitation is limited to the permission scope of the specific OAuth client whose secret is retrieved; broader system compromise depends on what resources that client is authorized to access. |
| Impact | The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N) correctly identifies this as a remotely exploitable, unauthenticated issue with low complexity - even a mid-sized municipal IT team in olsztyn running a Medplum-backed patient portal would be exposed without any special attacker sophistication. However, the vendor's C:L assignment warrants scrutiny: a leaked OAuth client_secret is a standing credential that enables long-term impersonation of the affected client across all future sessions, which arguably merits C:H. The I:H scoring is well-grounded - with the client_secret, an attacker can forge authentication flows, access protected FHIR resources as the legitimate client, and potentially alter patient data records within the scope of that client's permissions. EPSS data is not present in the provided intelligence, and the CVE has not been added to the CISA KEV catalog. No public POC exploit code has been identified. The practical risk is elevated for any deployment relying on defaultOAuthClients-defined secrets because redirect_uri values in OAuth are often publicly registered in well-known configuration documents or discoverable through the application frontend, lowering the effective attack complexity below what AC:L alone conveys. |
| Exploit ScenarioDerived | An attacker enumerates or observes redirect_uri values registered for a target Medplum deployment - often discoverable from the application's frontend OAuth flow or from publicly documented API integrations. The attacker submits a POST request to /oauth2/register with the matching redirect_uri against a Medplum server running version 4.1.10-5.1.6 and receives the full client registration object including client_secret. The attacker then uses the leaked secret to authenticate as that OAuth client and access FHIR healthcare resources within its permission scope. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 03, 2026
Unauthenticated exposure of OAuth client_secret credentials via the /oauth2/register endpoint affects Medplum versions 4.1.10 through 5.1.6, a healthcare developer platform widely used to build FHIR-compliant apps. When a caller submits a redirect_uri that matches a pre-configured entry in the server's defaultOAuthClients configuration block, the registration endpoint reflects the stored client_secret back in the response - effectively handing an attacker the credential needed to impersonate that OAuth client. The vendor patched this in version 5.1.7 (PR #8837); no public exploit has been identified at time of analysis.
RemediationAI
Vendor-released patch: version 5.1.7, available at https://github.com/medplum/medplum/releases/tag/v5.1.7. The fix (PR #8837, titled 'Remove client_secret from OAuth2 dynamic client registration') strips the client_secret from the /oauth2/register endpoint response. Operators should upgrade immediately and then rotate all client_secret values defined in the defaultOAuthClients configuration, as any secrets exposed through the vulnerable endpoint must be considered compromised. If immediate upgrade is not possible, a compensating control is to restrict network access to the /oauth2/register endpoint at the load balancer or API gateway layer, blocking external callers - note this will also prevent legitimate dynamic client registration flows from external services. The full security advisory is at https://github.com/medplum/medplum/security/advisories/GHSA-ch8p-j6cm-r7w5.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Medplum implements OAuth 2.0 Dynamic Client Registration (RFC 7591) through its /oauth2/register endpoint. Server operators pre-configure OAuth clients via the defaultOAuthClients configuration block, which includes per-client redirect_uri values used as matching keys. The root cause (CWE-200, Exposure of Sensitive Information to an Unauthorized Actor) is that the registration endpoint used the redirect_uri match as sufficient authorization to return the full client registration response - including client_secret - rather than treating the secret as write-only after initial provisioning. This violates the principle that client credentials should only be issued once and never re-exposed through read operations. Affected CPE is cpe:2.3:a:medplum:medplum:*:*:*:*:*:*:*:* spanning versions 4.1.10 through 5.1.6.
Know when Medplum gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
client_secret is a standing credential enabling full OAuth client impersonation, warranting C:H over vendor's C:L; all other metrics unchanged.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
Medplum is a developer platform that enables development of healthcare apps. In Medplum versions 4.1.10 through 5.1.6, the /oauth2/register endpoint could return the client_secret of preconfigured OAuth clients defined via the defaultOAuthClients server configuration when a matching redirect_uri was provided. This issue has been patched in version 5.1.7.
Technical POC Analysis
The vulnerability is an information-disclosure flaw in the dynamic OAuth2 client registration path of self-hosted Medplum servers, described as CWE-200.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Medplum, a healthcare developer platform widely used for building FHIR-compliant applications, contains an unauthenticated credential exposure vulnerability affecting versions 4.1.10 through 5.1.6. Attackers can extract OAuth client secrets from the /oauth2/register endpoint, enabling unauthorized API access and potential exposure of patient data and healthcare integrations.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Cross-project content overwrite in Medplum server 5.1.4 through 5.1.41 allows an authenticated, non-admin member of a pr
Server-side request forgery in Medplum versions prior to 5.1.14 lets authenticated users abuse the FHIR Subscription wor
EUVD-2026-70699
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB