{"id":"CVE-2026-124462","kind":"vulnerability","aliases":["CVE-2026-124462"],"related":[],"title":"OpenEMR: capitalised Pid parameter lets patients read other patients' documents","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.","summary":"OpenEMR before 8.3.0 has an authorization check that only looks at a lowercase pid parameter, so a logged-in patient portal user can send a capitalised Pid and load another patient's onsite documents. An attacker gets protected health information (PHI) belonging to other patients.","severity":"high","cvss":7.1,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["healthcare","openemr","other","patient-portal","phi"],"not_affected_if":["patient-portal-disabled","version-8.3.0-or-later"],"how_to_check":"- Check the OpenEMR version in the installation; versions before `8.3.0` are listed as affected.\n- Confirm whether the patient portal is enabled and reachable by patients.\n- Review access logs for requests to `api/onsitedocuments` with a `Pid` parameter.","fix":"- OpenEMR: move to `8.3.0` or later (the sources state the fix is in versions before 8.3.0 being affected).","status":"open","published_at":"2026-11-08T14:18:14+00:00","first_seen_at":"2026-11-08T14:48:40+00:00","triaged_at":"2026-11-08T14:49:43+00:00","updated_at":"2026-11-08T14:49:43+00:00","category":"other","confidence":0.7,"triage":{"at":"2026-11-08T14:49:43Z","model":"claude-haiku-5-5","output":{"fix":"- OpenEMR: move to `8.3.0` or later (the sources state the fix is in versions before 8.3.0 being affected).","reach":"internet","title":"OpenEMR: capitalised Pid parameter lets patients read other patients' documents","impact":"high","summary":"OpenEMR before 8.3.0 has an authorization check that only looks at a lowercase pid parameter, so a logged-in patient portal user can send a capitalised Pid and load another patient's onsite documents. An attacker gets protected health information (PHI) belonging to other patients.","audience":"businesses","category":"other","nicknames":[],"who_cares":["openemr","healthcare","phi","patient-portal"],"confidence":0.7,"fix_status":"available","needs_auth":"yes","worst_case":"patient documents containing PHI from other patients readable","analyst_note":"Confirm whether the patient portal is enabled by default and check the vendor advisory on github.com for exact affected range and fixed version details.","how_to_check":"- Check the OpenEMR version in the installation; versions before `8.3.0` are listed as affected.\n- Confirm whether the patient portal is enabled and reachable by patients.\n- Review access logs for requests to `api/onsitedocuments` with a `Pid` parameter.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["version-8.3.0-or-later","patient-portal-disabled"],"who_is_affected":"Clinics and organisations running OpenEMR with the patient portal enabled are exposed, because authenticated patients can reach the onsite documents endpoint. Installations without the patient portal, or not running a version before 8.3.0, can skip it.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000771,"input_tokens":4650,"output_tokens":612,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-124462':13A,16A '-2026':12A,15A '8.3.0':26B,72C 'allow':84C 'anoth':54B,111C 'api/onsitedocuments':105C 'attack':60B,101C 'authent':85C 'author':29B,93C 'belong':66B 'bypass':89C 'capitalis':2A,50B,98C 'check':30B 'contain':73C,128C 'criteria':121C 'cve':11A,14A 'direct':76C 'document':10A,58B,127C 'endpoint':106C 'get':61B 'guard':94C 'health':63B 'healthcar':17B 'id':114C 'inform':64B 'insecur':75C 'let':5A 'load':53B 'log':42B 'logged-in':41B 'look':33B 'lowercas':36B,91C 'object':77C 'onsit':57B,126C 'onsitedocumentcontrol':81C 'openemr':1A,18B,24B,70C 'overwrit':116C 'paramet':4A,38B,100C 'patient':6A,9A,21B,44B,55B,69B,87C,112C,125C 'patient-port':20B 'phi':23B,65B,129C 'pid':3A,37B,51B,92C,99C,108C 'pin':120C 'portal':22B,45B,86C 'protect':62B 'queri':82C 'read':7A,123C 'refer':78C 'request':103C 'send':48B 'session':119C 'session-pin':118C 'set':109C 'suppli':96C 'user':46B 'vulner':79C","nicknames":[],"mitigations":[],"who_affected":"Clinics and organisations running OpenEMR with the patient portal enabled are exposed, because authenticated patients can reach the onsite documents endpoint. Installations without the patient portal, or not running a version before 8.3.0, can skip it.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["healthcare","high","openemr","other","patientportal","phi"],"campaign_type":null,"search_a":"'-124462':13A,16A '-2026':12A,15A 'capitalis':2A 'cve':11A,14A 'document':10A 'let':5A 'openemr':1A 'paramet':4A 'patient':6A,9A 'pid':3A 'read':7A","search_b":"'8.3.0':26B 'anoth':54B 'attack':60B 'author':29B 'belong':66B 'capitalis':50B 'check':30B 'document':58B 'get':61B 'health':63B 'healthcar':17B 'inform':64B 'load':53B 'log':42B 'logged-in':41B 'look':33B 'lowercas':36B 'onsit':57B 'openemr':18B,24B 'paramet':38B 'patient':21B,44B,55B,69B 'patient-port':20B 'phi':23B,65B 'pid':37B,51B 'portal':22B,45B 'protect':62B 'send':48B 'user':46B","search_c":"'8.3.0':72C 'allow':84C 'anoth':111C 'api/onsitedocuments':105C 'attack':101C 'authent':85C 'author':93C 'bypass':89C 'capitalis':98C 'contain':73C,128C 'criteria':121C 'direct':76C 'document':127C 'endpoint':106C 'guard':94C 'id':114C 'insecur':75C 'lowercas':91C 'object':77C 'onsit':126C 'onsitedocumentcontrol':81C 'openemr':70C 'overwrit':116C 'paramet':100C 'patient':87C,112C,125C 'phi':129C 'pid':92C,99C,108C 'pin':120C 'portal':86C 'queri':82C 'read':123C 'refer':78C 'request':103C 'session':119C 'session-pin':118C 'set':109C 'suppli':96C 'vulner':79C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-08-18T09:07:23+00:00","kev":null,"cvss_vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","cvss_by":"disclosure@vulncheck.com","poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-124462","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124462","severity":null,"published_at":"2026-11-08T14:18:14+00:00","modified_at":"2026-11-08T14:18:14+00:00","first_seen_at":"2026-11-08T14:48:40+00:00","fetched_at":"2026-11-08T14:48:40+00:00","note":null}],"documents":[{"id":102107,"url":"https://github.com/openemr/openemr/security/advisories/GHSA-39jh-r9hg-rwg7","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-08-18T09:07:23+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":102108,"url":"https://www.vulncheck.com/advisories/openemr-before-8.3.0-patient-portal-idor-via-case-sensitive-pid-parameter","title":"Third-party advisory: www.vulncheck.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: www.vulncheck.com"}],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}