CVE-2026-103019

OpenEMR: Unauthenticated Open Redirect via OIDC End Session Endpoint

Published Nov 5, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

OpenEMR’s logout endpoint accepts an id_token_hint without verifying its signature and redirects users to the post_logout_redirect_uri supplied in the request before checking it against the client’s registered redirect URIs. This is a classic Open Redirect (CWE‑601) flaw. Because the endpoint is reachable when the OpenEMR REST API is enabled, an attacker can construct a logout URL that sends a logged‑in user to an arbitrary external site in a single step.

Affected Systems

The vulnerability affects OpenEMR installations prior to version 8.3.0 that have the REST API enabled. Systems running OpenEMR 8.3.0 or later are not impacted. Installation with the REST API disabled are not exposed to this flaw.

Risk and Exploitability

The CVSS score of 4.3 classifies the impact as medium. No EPSS score is available, and the flaw is not listed in CISA’s KEV catalog, indicating limited or no widespread exploitation yet. The attack requires only an unauthenticated crafted URL, which can be disseminated via email or web links. When used, the redirect occurs automatically, enabling a dealer of phishing pages to masquerade as a legitimate logout experience. The likelihood of exploitation depends on an attacker’s willingness to craft and distribute such a link; the execution path is straightforward and requires no privileged access.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.3.0 or newer, which adds signature verification for the id_token_hint and strict validation of the post_logout_redirect_uri.
  • If an upgrade cannot be performed immediately, disable the OpenEMR REST API until the patch is applied to block external access to the vulnerable endpoint.
  • Enforce strict validation of post_logout_redirect_uri on the OIDC client side or restrict the list of allowed redirect URIs to only those registered with OpenEMR.

Generated by OpenCVE AI on November 5, 2026 at 23:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Open-emr
Open-emr openemr
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
Type Values Removed Values Added
First Time appeared Openemr
Openemr openemr
Vendors & Products Openemr
Openemr openemr
Type Values Removed Values Added
Description 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.
Title OpenEMR: Unauthenticated Open Redirect via OIDC End Session Endpoint
Weaknesses CWE-601
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N'}

Weaknesses
  • CWE-601

    URL Redirection to Untrusted Site ('Open Redirect')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 9, 2026, 10:50 PM
Reserved
Sep 29, 2026, 9:13 PM
Status
Analyzed
Published
Nov 5, 2026, 8:17 PM
Modified
Nov 10, 2026, 7:16 PM