Skip to main content

OpenEMR EUVDEUVD-2026-117776

| CVE-2026-103019 MEDIUM
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-11-05 GitHub_M
4.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Forge unsigned id_token_hint JWT with bogus aud/sub
  2. Delivery
    Deliver crafted /oauth2/default/logout link to victim
  3. Exploit
    Victim clicks legitimate-looking OpenEMR logout link
  4. Execution
    Absent trusted session triggers unvalidated early-return redirect
  5. Persist
    Browser sent to phishing domain, victim session invalidated
  6. Impact
    Credentials harvested on attacker page

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires (1) an OpenEMR instance running a version prior to 8.3.0 with the REST API explicitly enabled (Admin > Globals > Enable OpenEMR REST API = On) - this is the specific non-default configuration that makes the /oauth2/default/logout end-session endpoint publicly reachable, and (2) the victim to click the attacker-crafted logout link (UI:R). No authentication and no pre-existing session are needed (PR:N): a forged, unsigned id_token_hint whose aud/sub match no trusted session always falls into the 'not signed in' early-return branch, which redirects to the raw post_logout_redirect_uri before the registered-URI allowlist check is reached. The limiting factors are therefore the required user interaction and the non-default REST-API-enabled deployment mode.

Impact

This is a genuine but modest-severity issue, and the signals are internally consistent rather than conflicting. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N = 4.3, Medium) correctly captures an unauthenticated, network-reachable open redirect whose only impact is low integrity (controlling where a user lands and invalidating their session), with no confidentiality or availability impact - the bug itself exposes no PHI. Two factors materially limit real-world risk: it requires victim interaction (UI:R - the target must click the attacker's link), and the vulnerable endpoint is only reachable when the OpenEMR REST API is explicitly enabled (Admin > Globals), which is not the default. Offsetting that, a detailed, working PoC is published in the vendor's own GHSA advisory and was confirmed by the reporter against the official openemr/openemr Docker image, and the redirect originates from the legitimate logout endpoint so it is highly convincing for phishing against clinical/patient users. It is NOT in CISA KEV (no confirmed active exploitation), and no EPSS score was provided in the input, so exploitation probability cannot be quantified here. The vendor priority label is 'this_month', not emergency - treat as a prompt-but-not-crisis patch item, weighted up because of the healthcare/PHI context and the public PoC.

Exploit ScenarioDerived

An attacker crafts an OIDC end-session link to a real OpenEMR instance (REST API enabled) containing a forged, unsigned id_token_hint and a post_logout_redirect_uri pointing to their own domain, then sends it to a clinician or patient as a 'log out' link. Because the referenced session does not exist, the code hits an early-return path and issues a 307 redirect to the attacker domain without validating it against the client's registered URIs, landing the victim on a phishing page while their session is invalidated. A complete working PoC (curl request returning the 307 redirect) is published in the GHSA advisory and confirmed against the official Docker image.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 05, 2026

Open redirect in OpenEMR's OIDC end-session endpoint (/oauth2/default/logout) affects versions prior to 8.3.0: the handler base64-decodes the caller-supplied id_token_hint without verifying its JWT signature, and when the forged aud/sub pair matches no trusted session it takes an early-return path that redirects to the raw post_logout_redirect_uri before the registered-URI allowlist check is ever reached. An unauthenticated remote attacker can therefore craft a logout link that invalidates a visitor's session and forwards them to an arbitrary external site from the legitimate OpenEMR logout URL, which is a strong setup for credential phishing against clinical staff and patients in a system holding PHI; the victim must click the link (UI:R), and the endpoint is only publicly reachable when the OpenEMR REST API has been explicitly enabled. A reproduction recipe is published in the vendor advisory, no active exploitation has been confirmed (no CISA KEV listing), and the flaw is fixed in 8.3.0.

RemediationAI

Vendor-released patch: OpenEMR 8.3.0 (release tag v8_3_0, https://github.com/openemr/openemr/releases/tag/v8_3_0); upgrading is the complete fix and the advisory GHSA-5h9g-m7q2-pv45 plus commit 50f789fad45ada625fe8d0faf0c7a9c15ef52aa5 and PR https://github.com/openemr/openemr/pull/13133 describe the change, which routes both logout branches through a buildLogoutRedirectIfAllowlisted() helper and coerces a non-string aud claim to an empty string instead of using it directly. Where upgrading cannot be done immediately, the practical compensating control is to turn off Admin > Globals > Enable OpenEMR REST API, which removes public reachability of /oauth2/default/logout and therefore of the redirect; the trade-off is that any REST/API integration or OAuth2 client relying on that API stops working while it is disabled. Restricting network access to the /oauth2/ path (for example at the reverse proxy) reduces exposure with the same functional cost, and users should be told to treat unexpected post-logout redirects as suspicious while unpatched instances remain in service.

Affected VersionsENISA

OpenEMR < 8.3.0

Affected Packages

euvd openemr fix: 8.3.0

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

OpenEMR is a PHP electronic health records and practice-management application; this issue lives in src/RestControllers/AuthorizationController.php, in userSessionLogout(), which implements the OIDC RP-initiated logout flow (the end_session_endpoint advertised in the OIDC discovery document). Per the OIDC spec, an id_token_hint should be a signed JWT whose signature is validated before its claims are trusted, and post_logout_redirect_uri must match a URI pre-registered for the client (stored in the oauth_clients.logout_redirect_uris column). Here decodeToken() is a plain json_decode(HttpUtils::base64url_decode($token), true) call, so only the payload segment is decoded and the signature is ignored entirely, letting an attacker fabricate arbitrary aud, sub and nonce claims. When trustedUser() finds no session for that fabricated client/user pair, the 'not signed in' branch returns HTTP 307 with Location set to $post_logout_url . "?state=$state" without consulting the oauth_clients table; the allowlist query at the later line is only reached in the normal logout path. The defect is CWE-601 (URL Redirection to Untrusted Site / Open Redirect). Reachability depends on the deployment: the /oauth2/default/logout route is served by the REST API layer, so an instance with 'Enable OpenEMR REST API' left Off in Admin > Globals does not expose the endpoint, while an instance with it On exposes the redirect to unauthenticated users. The trigger is a single crafted GET request containing a three-segment fake JWT and a post_logout_redirect_uri parameter; no credentials or pre-existing session are involved.

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

Vendor (GitHub_M) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
vuln.today AI 4.3 MEDIUM

Unauthenticated and network-reachable (PR:N/AV:N), but needs the victim to click the link (UI:R); open redirect plus session invalidation is low integrity only, no C or A impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Nov 05, 2026 - 21:18 EUVD

DescriptionCVE.org

OpenEMR is a free and open source electronic health records and medical practice management application. Prior to 8.3.0, userSessionLogout() in src/RestControllers/AuthorizationController.php uses decodeToken() to process an id_token_hint without verifying its signature and, when the referenced trusted session is absent, redirects to the caller-supplied post_logout_redirect_uri before validating it against the client's registered redirect URIs. An unauthenticated attacker can craft a logout link that sends a user to an arbitrary external site and invalidates the user's session, enabling convincing phishing flows from the legitimate logout endpoint. The endpoint is reachable when the OpenEMR REST API is enabled. This issue is fixed in version 8.3.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Medium
most popular open-source EHR, but healthcare-specific deployment footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2013-10044 HIGH POC
8.7 Aug 01

An authenticated SQL injection vulnerability exists in OpenEMR ≤ 4.1.1 Patch 14 that allows a low-privileged attacker to

CVE-2026-24898 CRITICAL POC
10.0 Mar 03

Unauthenticated token disclosure in OpenEMR before 8.0.0. CVSS 10.0. PoC and patch available.

CVE-2026-24848 CRITICAL POC
9.9 Mar 03

Path traversal in OpenEMR 7.0.4 disposeDocument() allows file access. PoC available.

CVE-2026-24849 CRITICAL POC
9.9 Feb 25

Path traversal in OpenEMR electronic health records before fix allows authenticated users to read arbitrary files on the

CVE-2026-24908 CRITICAL POC
9.9 Feb 25

SQL injection in OpenEMR electronic health records before fix. Authenticated users can execute arbitrary SQL through the

CVE-2024-22611 CRITICAL POC
9.8 Apr 03

OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php, \controllers\C_Pharmacy.cl

CVE-2024-37734 CRITICAL POC
9.8 Jun 26

An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid par

CVE-2026-25146 CRITICAL POC
9.6 Mar 03

Information disclosure in OpenEMR 5.0.2 to before 8.0.0 exposes sensitive data. PoC and patch available.

CVE-2026-39932 CRITICAL POC
9.4 Aug 03

Remote code execution in OpenEMR through 8.2.0 lets an authenticated administrator poison the document category tree so

CVE-2012-0992 HIGH POC
8.5 Feb 07

interface/fax/fax_dispatch.php in OpenEMR 4.1.0 allows remote authenticated users to execute arbitrary commands via shel

CVE-2026-124450 CRITICAL POC
9.3 Nov 08

Authenticated low-privilege users can exploit OpenEMR before 8.3.0 to read and write arbitrary files through the fax/sms

CVE-2015-4453 MEDIUM
5.0 Jul 05

interface/globals.php in OpenEMR 2.x, 3.x, and 4.x before 4.2.0 patch 2 allows remote attackers to bypass authentication

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy