---
id: CVE-2026-124455
title: OpenEMR before 8.3.0 IDOR via Portal OnsiteDocument Pid_Equals Mass-Assignment
summary: >-
  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…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cvssSource: cna
cwe:
  - CWE-639
vendor: openemr
product: openemr
affected:
  - openemr < 8.3.0
published: '2026-11-08'
updated: '2026-11-08'
sourceUpdated: '2026-11-08T13:15:44.448Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-124455'
references:
  - url: 'https://github.com/openemr/openemr/security/advisories/GHSA-hvp7-q2hp-6j6g'
    label: GitHub Security Advisory (GHSA-hvp7-q2hp-6j6g)
  - url: >-
      https://www.vulncheck.com/advisories/openemr-before-8.3.0-idor-via-portal-onsitedocument-pid-equals-mass-assignment
    label: >-
      VulnCheck Advisory: OpenEMR before 8.3.0 IDOR via Portal OnsiteDocument
      Pid_Equals Mass-Assignment
tags:
  - cve.org
ingestedAt: '2026-11-08T13:50:34.971Z'
---

## Overview

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.

## Affected

- `openemr < 8.3.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
