Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach OpenEMR OAuth2 endpoint (API enabled)
-
DeliveryRegister client with malicious jwks_uri
-
ExploitCraft unsigned client_assertion JWT
-
ExecutionPOST to /introspect to trigger fetch
-
PersistServer issues attacker-directed internal request
-
ImpactProbe internal services / cloud metadata
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target OpenEMR site has at least one API enabled - any of rest_api, rest_fhir_api, or rest_portal_api (Administration → Globals → Connectors) - which is standard for any site exposing FHIR, SMART apps, or third-party API integrations. It also depends on the default global setting oauth_app_manual_approval = 0 ('Patient standalone apps Auto Approved'), which auto-enables a confidential client requesting only patient-level/openid scopes with no administrator approval; the attacker-controlled jwks_uri is stored verbatim with no scheme, host, or IP validation, and the outbound fetch fires during client authentication at the /oauth2/{site}/introspect endpoint before any JWT signature check. No special conditions beyond an enabled API apply for reachability: the OAuth2 endpoints run before any bearer-token check, so no account, access token, authorization code, or user interaction is needed (PR:N/UI:N). Limiting factors for defenders: exploitation is blind (no response data is returned to the attacker), and a site that has disabled all REST/FHIR APIs or set oauth_app_manual_approval = 1 (manual approval) removes the unauthenticated auto-enable path. |
| Impact | This is a credible, above-paper risk despite the moderate 6.9 CVSS 4.0 score. The vendor vector (AV:N/AC:L/AT:N/PR:N/UI:N) confirms fully remote, unauthenticated, low-complexity exploitation with no user interaction, and the GHSA advisory documents a confirmed live reproduction, so the mechanism is not theoretical. Impact is bounded because this is a BLIND SSRF (VC:L/VI:L/SC:L/SI:L, VA:N/SA:N): the attacker cannot directly read response bodies, which is why the score lands in the medium range rather than high - the real value is internal-network probing and reaching cloud metadata endpoints, not direct data exfiltration. The vuln.today Decision label is 'this_month', consistent with a patch being available and no confirmed mass exploitation. Signals are largely aligned rather than conflicting: no CISA KEV entry and no EPSS score are provided in the input, so there is no evidence of active exploitation or a quantified exploitation probability - treat exploitation as feasible and publicly reproducible, but not confirmed in-the-wild. Net: prioritize patching within a normal cycle; the combination of zero authentication, open dynamic client registration enabled by default, and a published reproducible PoC makes opportunistic exploitation plausible against exposed, API-enabled instances. |
| Exploit ScenarioDerived | An anonymous attacker who can reach an OpenEMR site with REST or FHIR enabled registers an OAuth2 client via open dynamic registration, supplying a jwks_uri that points at an internal service or a cloud metadata endpoint (e.g. 169.254.169.254). They then call the token introspection endpoint with an unsigned client_assertion JWT whose sub equals the client id, causing OpenEMR to issue the attacker-directed outbound request from inside its own network before any signature check. A detailed, reproducible PoC with a confirmed live run is published in the vendor GHSA advisory, and because exploitation requires no account, token, or user interaction (AC:L), the barrier is minimal against vulnerable, API-enabled deployments. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 08, 2026
OpenEMR before 8.4.0 can be coerced into issuing arbitrary outbound HTTP and HTTPS GET requests from its own network position by an anonymous attacker, because the OAuth2 server fetches a client-supplied jwks_uri without validating scheme, host, or resolved IP. Any deployment with rest_api, rest_fhir_api, or rest_portal_api enabled and the default oauth_app_manual_approval = 0 setting is reachable: an attacker self-registers a confidential client that needs only openid scopes, then triggers the fetch through the token introspection endpoint with a structurally valid but unsigned client_assertion, with no account, token, authorization code, or user interaction required. The result is a blind SSRF (CWE-918) that can probe internal services and reach cloud metadata endpoints; the vendor advisory publishes a detailed proof-of-concept reproduction with observed request logs, there is no confirmed public exploit tooling beyond that write-up, and no CISA KEV listing at time of analysis.
RemediationAI
Vendor-released patch: OpenEMR 8.4.0, which vendors the fix upstream and is the only complete remedy because the vulnerable fetch is shared across the introspection, authorization_code, refresh_token, and client_credentials paths and therefore cannot be fully closed by patching a single caller; upgrade from any 0 to 8.3.x release per the advisory at https://github.com/openemr/openemr/security/advisories/GHSA-mf6h-xc62-9fg4 . Where upgrading must be scheduled, two configuration changes break the unauthenticated path, each with a cost: set oauth_app_manual_approval = 1 so confidential patient-scope clients are no longer auto-enabled without administrator review - this removes the anonymous self-registration trigger but does not eliminate the unvalidated fetch for clients an administrator does approve; or disable all of rest_api, rest_fhir_api, and rest_portal_api, which takes FHIR, SMART app, and third-party API integrations offline entirely. Because the request is blind, detection depends on monitoring OpenEMR-originated outbound HTTP/HTTPS traffic to private address ranges and to cloud metadata endpoints rather than on response artifacts in the application.
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
The flaw is a classic CWE-918 server-side request forgery rooted in missing outbound-request validation inside OpenEMR's OpenID Connect implementation. Dynamic client registration at POST /oauth2/{site}/registration (AuthorizationController::clientRegistration) copies the supplied jwks_uri verbatim into client metadata with no allow-list, private-range block, or protocol restriction, and ScopeRepository::hasScopesThatRequireManualApproval() returns false for a confidential client requesting only patient-level scopes such as openid, so with the shipped default oauth_app_manual_approval = 0 the client is stored with is_enabled = 1 and no administrator action. The sink is JWTClientAuthenticationService::validateJWTClientAssertion(), which constructs a JsonWebKeySet using a bare GuzzleHttp\Client; the JsonWebKeySet constructor immediately calls getJWKFromUri() and performs the outbound GET before any JWT signature or claim validation occurs at a later line. That ordering is what makes an unauthenticated trigger possible: at POST /oauth2/{site}/introspect (TokenIntrospectionRestController::tokenIntrospection) OpenEMR extracts the client id from the assertion's sub claim, confirms the client is enabled, and then fetches the key set, so the assertion needs only well-formed JWT structure and no valid signature, audience, or token value. Because the OAuth2 endpoints execute before any bearer-token check, they are effectively part of authentication and are not gated by it. Guzzle confines the scheme to http and https, so file:// and gopher:// payloads are not applicable, but http/https requests into an internal network or to a cloud metadata service are. The same sink is reachable via the authorization_code, refresh_token, and client_credentials grants at the token endpoint, though the authorization_code path additionally requires a valid code, which is why introspection is the clean unauthenticated trigger and why a complete fix belongs at the fetch itself rather than at a single caller.
Know when Openemr 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Remote, unauthenticated, no interaction via default-open client registration (AV:N/AC:L/PR:N/UI:N); SSRF reaches other systems so S:C; blind SSRF limits C/I to Low with no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
Lifecycle Timeline
1DescriptionCVE.org
OpenEMR before 8.4.0 contains a server-side request forgery vulnerability that allows unauthenticated attackers to make the server send HTTP requests by registering an OAuth2 client with an unvalidated jwks_uri. Attackers can trigger the fetch via the token introspection endpoint with an unsigned client_assertion to probe internal services and reach cloud metadata endpoints.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to
Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.
Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.
Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the
SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the
OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl
An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par
Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.
Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so
interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel
Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms
interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication
EUVD-2026-119522
GHSA-xj63-9399-3j6q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB