{"id":"CVE-2026-124462","summary":"OpenEMR before 8.3.0 Patient Portal IDOR via Case-Sensitive Pid Parameter","details":"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.","aliases":["GHSA-39jh-r9hg-rwg7"],"modified":"2026-11-24T21:00:58.717532784Z","published":"2026-11-08T13:15:49.196Z","database_specific":{"cwe_ids":["CWE-639"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124462.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/124xxx/CVE-2026-124462.json"},{"type":"ADVISORY","url":"https://github.com/openemr/openemr/security/advisories/GHSA-39jh-r9hg-rwg7"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124462"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/openemr-before-8.3.0-patient-portal-idor-via-case-sensitive-pid-parameter"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openemr/openemr","events":[{"introduced":"0"},{"fixed":"ebb62eb3036a726314ab3e1c3e9263a41608b17b"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"8.3.0"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*","range":[{"introduced":"0"},{"fixed":"8.3.0"}]}]}}],"versions":["v3_0_1","v3_0_0","v2_9_0","v2_8_3","v2_8_2","v2_8_1","v2_8_0","v2_7_3-rc1","v2_7_2","v2_7_2-rc2","v2_7_2-rc1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-124462.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}