CVE-2026-124462

OpenEMR before 8.3.0 Patient Portal IDOR via Case-Sensitive Pid Parameter

Published Nov 8, 2026 CVSS 4.0 · 7.1 High EPSS < 1% KEV · Not listed
Description
OpenEMR before 8.3.0 contains an insecure direct object reference vulnerability in OnsiteDocumentController::Query() that allows authenticated portal patients to bypass the lowercase pid authorization guard by supplying a capitalised Pid parameter. Attackers can request the api/onsitedocuments endpoint with Pid set to another patient's id to overwrite the session-pinned criteria and read other patients' onsite documents containing PHI.

Analysis

AI-generated

Technical impact

OpenEMR versions prior to 8.3.0 contain an insecure direct object reference in the OnsiteDocumentController::Query() method. By passing a capitalised Pid parameter, an authenticated patient can bypass the existing lowercase authorization guard, replace the session‑pinned criteria, and request the /api/onsitedocuments endpoint with another patient’s identifier. This allows the attacker to read that patient’s onsite documents, which may include personal health information (PHI). The principal weakness is a CWE‑639 direct object reference vulnerability. The impact is the confidentiality breach of PHI rather than system compromise or denial of service.

Affected Systems

OpenEMR 2.x and 3.x deployments running any release before the 8.3.0 release are affected. The vulnerability pertains to the Patient Portal interface for all users authenticated within the portal. The affected product is OpenEMR, with the vendor identified as openemr:openemr.

Risk and Exploitability

The CVSS score of 7.1 indicates a high severity vulnerability. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, suggesting it may not yet be widely exploited. Based on the description, the attack vector operates over the web and requires an authenticated user session; attackers cannot exploit the flaw without first logging into the portal. The ability to read other patients’ documents provides a valuable target for internal attackers or compromised accounts and should be treated with priority. However, the lack of publicly available exploit code or widespread exploitation means the immediate risk, while significant, is moderate relative to more actively exploited vulnerabilities.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.3.0 or later to receive the fixed lowercasing enforcement and access control changes.
  • Ensure that the Patient Portal’s authentication infrastructure is tightly coupled to user identity and does not allow cross‑patient parameter manipulation—i.e., validate that the Pid parameter matches the logged‑in user’s record.
  • Monitor API access logs for anomalous Pid values or cross‑user requests, and alert on repeated attempts to read other patients’ documents.

Generated by OpenCVE AI on November 8, 2026 at 14:46 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
Description OpenEMR before 8.3.0 contains an insecure direct object reference vulnerability in OnsiteDocumentController::Query() that allows authenticated portal patients to bypass the lowercase pid authorization guard by supplying a capitalised Pid parameter. Attackers can request the api/onsitedocuments endpoint with Pid set to another patient's id to overwrite the session-pinned criteria and read other patients' onsite documents containing PHI.
Title OpenEMR before 8.3.0 Patient Portal IDOR via Case-Sensitive Pid Parameter
First Time appeared Open-emr
Open-emr openemr
Weaknesses CWE-639
CPEs cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
Vendors & Products Open-emr
Open-emr openemr
References
Metrics cvssV3_1

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

cvssV4_0

{'score': 7.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 13, 2026, 3:24 AM
Reserved
Nov 8, 2026, 2:15 AM
Status
Analyzed
Published
Nov 8, 2026, 2:18 PM
Modified
Nov 23, 2026, 3:12 PM