Description
OpenEMR before 8.3.0 contains an insecure direct object reference vulnerability in OnsiteDocumentController::Query() that allows authenticated portal patients to read other patients' documents by overriding Pid_Equals criteria. Attackers can supply Pid_Equals, Pid_GreaterThan, or Pid_In request parameters to the onsitedocuments API to retrieve signed consent forms, signatures, and PHI of any patient.
Published: 2026-11-08
Score: 7.1 High
EPSS: n/a
KEV: No
Impact: Unauthorised disclosure of patient documents and PHI
Action: Patch
AI Analysis

Impact

OpenEMR before 8.3.0 contains an insecure direct object reference in the OnsiteDocument API. Authenticated portal patients can override the Pid_Equals, Pid_GreaterThan, or Pid_In request parameters, causing the application to return documents, signed consents, signatures, and other protected health information belonging to any patient. This flaw allows a patient who has access to the portal to read or download documents that they should not be able to access, resulting in a privacy breach.

Affected Systems

Based on the description, the vulnerability affects all installations of OpenEMR before version 8.3.0, which is inferred to cover releases such as 8.2.x and earlier. Any deployment that has not updated to 8.3.0 or newer is potentially vulnerable. The issue is confined to the portal user interface, so it applies to any site that provides portal account access.

Risk and Exploitability

Based on the description, attackers require authentication as a portal patient, so the attack vector is inferred to be remote but authenticated. The CVSS score of 7.1 classifies this flaw as high severity. EPSS data is not available and it is not listed in the CISA KEV catalog. Once the identity of a legitimate patient is known, an attacker can craft API requests to retrieve sensitive documents of other patients. The impact is direct disclosure of PHI and other confidential information, posing a significant privacy and compliance risk.

Generated by OpenCVE AI on November 8, 2026 at 14:55 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade OpenEMR to version 8.3.0 or later, which removes the vulnerability.
  • If an upgrade cannot be performed immediately, modify the OnsiteDocument API to reject or ignore the Pid_Equals, Pid_GreaterThan, and Pid_In query parameters for portal users, effectively disabling the mass‑assignment path.
  • Apply monitoring and alerting on the API to detect anomalous query patterns that may indicate abuse of the Pid_* parameters.

Generated by OpenCVE AI on November 8, 2026 at 14:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 08 Nov 2026 13:30:00 +0000

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 read other patients' documents by overriding Pid_Equals criteria. Attackers can supply Pid_Equals, Pid_GreaterThan, or Pid_In request parameters to the onsitedocuments API to retrieve signed consent forms, signatures, and PHI of any patient.
Title OpenEMR before 8.3.0 IDOR via Portal OnsiteDocument Pid_Equals Mass-Assignment
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'}


Subscriptions

Open-emr Openemr
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-11-08T13:15:44.448Z

Reserved: 2026-11-08T02:15:45.475Z

Link: CVE-2026-124455

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-08T14:18:12.943

Modified: 2026-11-08T14:18:12.943

Link: CVE-2026-124455

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-08T17:15:03Z

Weaknesses
  • CWE-639

    Authorization Bypass Through User-Controlled Key