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.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| openemr | openemr | < 8.3.0 |
References
- https://github.com/openemr/openemr/security/advisories/GHSA-39jh-r9hg-rwg7Exploit, Vendor Advisory
- https://www.vulncheck.com/advisories/openemr-before-8.3.0-patient-portal-idor-via-case-sensitive-pid-parameterThird Party Advisory
- https://github.com/openemr/openemr/security/advisories/GHSA-39jh-r9hg-rwg7Exploit, Vendor Advisory
Timeline
- Published
- Nov 8, 2026
- Last modified
- Nov 23, 2026
- NVD status
- Analyzed