OpenEMR: Server-side request forgery in OAuth2 client registration (CVE-2026-124466)
OpenEMR versions prior to 8.4.0 contain an SSRF vulnerability in the OAuth2 client registration process that allows unauthenticated attackers to probe internal services and cloud metadata endpoints.
CVE search metadata
CVE search record: CVE-2026-124466. Severity: high. CVSS: 7.2. KEV: no. Product: OpenEMR (< 8.4.0). Brief: OpenEMR: Server-side request forgery in OAuth2 client registration (CVE-2026-124466). Brief link: https://feed.craftedsignal.io/briefs/2026-11-openemr-ssrf/
Triage facts
Revision 1- Applicability
- OpenEMR (< 8.4.0)
- Evidence
- Unknown
- Severity
- High
- Action
- Elevated
- Sources
- 1 public source
- Freshness
- Revision 1Nov 8, 15:34 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
OpenEMR versions before 8.4.0 are susceptible to a server-side request forgery (SSRF) vulnerability. The flaw exists within the OAuth2 client registration mechanism, where an unvalidated jwks_uri can be registered. An unauthenticated attacker can subsequently invoke the token introspection endpoint using an unsigned client_assertion, forcing the OpenEMR server to initiate HTTP requests to arbitrary destinations. This can be used to perform internal network reconnaissance or access sensitive cloud metadata services.
Impact
Successful exploitation allows unauthenticated attackers to interact with internal-only services or cloud metadata endpoints (e.g., 169.254.169.254) from the perspective of the vulnerable server, potentially leading to unauthorized data access or credential exfiltration.
Recommendation
- Upgrade OpenEMR to version 8.4.0 or later immediately.
- Audit OAuth2 client registration logs for suspicious
jwks_urientries pointing to unexpected domains or internal IP ranges. - Restrict the server's egress traffic via network security groups to prevent unauthorized outbound connections to internal service endpoints or cloud metadata services.
Immediate actions
Patch OpenEMR to version 8.4.0
Threat Hunt
Inspect OAuth2 registration activity for unusual jwks_uri inputs
Data: Application logs capturing client registration requests and parameters
Mitigations
Implement egress filtering on the OpenEMR server to block access to metadata IP 169.254.169.254
CVE-2026-124466