CVE-2026-124462
OpenEMR before 8.3.0 contains an insecure direct object reference vulnerability in OnsiteDocumentController::Query() that allows authenticated portal patients …
Impact
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.
An attacker can exploit this over the network, with a regular user account, without any action by a user. If it succeeds: high risk of data being read.
Affected products · Openemr
| Product | Affected versions |
|---|---|
| Openemr | before 8.3.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/openemr/openemr/security/advisories/GHSA-39jh-r9hg-rwg7
- https://www.vulncheck.com/advisories/openemr-before-8.3.0-patient-portal-idor-via-case-sensitive-pid-parameter
- https://github.com/advisories/GHSA-mhv5-qf28-cmp6
- https://nvd.nist.gov/vuln/detail/CVE-2026-124462