CVE-2026-124462
OpenEMR before 8.3.0 Patient Portal IDOR via Case-Sensitive Pid Parameter
7.1
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.
Affected products and versions
| Product / package | Ecosystem / vendor | Versions | Fixed in | Source |
|---|---|---|---|---|
| openemr | openemr | 0 → <8.3.0 | 8.3.0 | CVE.org |
| openemr | open-emr | <8.3.0 | 8.3.0 | NVD |