Auth bypass in Openemr

CVE-2026-124462

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.

Vulnerability class: IDOR (Insecure Direct Object Reference)

Published .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-124462?
CVE-2026-124462 is a medium-severity vulnerability in Openemr, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 6.5/10. Published 2026-11-08.
How severe is CVE-2026-124462?
Medium severity. CVSS v3 base score is 6.5 out of 10.