{"id":"CVE-2026-124468","kind":"vulnerability","aliases":["CVE-2026-124468"],"related":[],"title":"OpenEMR: REST API insurance search lets authenticated users run SQL","description":"OpenEMR before 8.3.0 contains an SQL injection vulnerability in the Standard REST API patient insurance and employer search, which concatenates query-string parameter names into SQL as column identifiers without escaping. Authenticated clients, including low-privilege patient-portal OAuth2 tokens, can send crafted parameter names to /api/patient/{puuid}/insurance or /api/patient/{puuid}/employer to extract patient PHI, user records, and API client secrets.","summary":"OpenEMR's Standard REST API builds SQL from query-string parameter names in its patient insurance and employer search without escaping them. An authenticated client, including a low-privilege patient-portal token, can read patient health records, user records and API client secrets.","severity":"high","cvss":7.1,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["healthcare","openemr","other","patient-data","rest-api"],"not_affected_if":["openemr-8.3.0-or-later","rest-api-disabled"],"how_to_check":"- Check the OpenEMR version in the installation; the sources say versions before `8.3.0` are affected\n- Look for patient-portal OAuth2 clients and API access enabled on the Standard REST API","fix":"- OpenEMR: upgrade to `8.3.0` or later","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:39+00:00","updated_at":"2026-11-08T14:49:39+00:00","category":"other","confidence":0.7,"triage":{"at":"2026-11-08T14:49:39Z","model":"claude-haiku-5-5","output":{"fix":"- OpenEMR: upgrade to `8.3.0` or later","reach":"network","title":"OpenEMR: REST API insurance search lets authenticated users run SQL","impact":"high","summary":"OpenEMR's Standard REST API builds SQL from query-string parameter names in its patient insurance and employer search without escaping them. An authenticated client, including a low-privilege patient-portal token, can read patient health records, user records and API client secrets.","audience":"businesses","category":"other","nicknames":[],"who_cares":["openemr","healthcare","rest-api","patient-data"],"confidence":0.7,"fix_status":"available","needs_auth":"yes","worst_case":"Attacker reads patient health records and API client secrets","analyst_note":"product_name not listed in sources; ecosystem and exact affected endpoint setup not confirmed beyond NVD text.','","how_to_check":"- Check the OpenEMR version in the installation; the sources say versions before `8.3.0` are affected\n- Look for patient-portal OAuth2 clients and API access enabled on the Standard REST API","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["openemr-8.3.0-or-later","rest-api-disabled"],"who_is_affected":"OpenEMR installations before 8.3.0 that expose the Standard REST API, including patient-portal OAuth2 access. The flaw needs a valid authenticated token, so installations with the REST API disabled or without portal access are less exposed. Teams running OpenEMR for clinics or hospitals should look at this first.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"high"},"cost_usd":0.000754,"input_tokens":4671,"output_tokens":574,"severity_before":"high"},"analyst_status":null,"analyst_note":null,"search":"'-124468':13A,16A '-2026':12A,15A '/api/patient':121C,125C '/employer':127C '/insurance':123C '8.3.0':74C 'api':3A,25B,30B,69B,84C,135C 'authent':7A,50B,104C 'build':31B 'client':51B,70B,105C,136C 'column':100C 'concaten':91C 'contain':75C 'craft':117C 'cve':11A,14A 'data':22B 'employ':44B,88C 'escap':47B,103C 'extract':129C 'health':64B 'healthcar':17B 'identifi':101C 'includ':52B,106C 'inject':78C 'insur':4A,42B,86C 'let':6A 'low':55B,108C 'low-privileg':54B,107C 'name':38B,96C,119C 'oauth2':113C 'openemr':1A,18B,26B,72C 'paramet':37B,95C,118C 'patient':21B,41B,58B,63B,85C,111C,130C 'patient-data':20B 'patient-port':57B,110C 'phi':131C 'portal':59B,112C 'privileg':56B,109C 'puuid':122C,126C 'queri':35B,93C 'query-str':34B,92C 'read':62B 'record':65B,67B,133C 'rest':2A,24B,29B,83C 'rest-api':23B 'run':9A 'search':5A,45B,89C 'secret':71B,137C 'send':116C 'sql':10A,32B,77C,98C 'standard':28B,82C 'string':36B,94C 'token':60B,114C 'user':8A,66B,132C 'vulner':79C 'without':46B,102C","nicknames":[],"mitigations":[],"who_affected":"OpenEMR installations before 8.3.0 that expose the Standard REST API, including patient-portal OAuth2 access. The flaw needs a valid authenticated token, so installations with the REST API disabled or without portal access are less exposed. Teams running OpenEMR for clinics or hospitals should look at this first.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"businesses","plain_action":null,"pkeys":[],"ptokens":[],"labels":["healthcare","high","openemr","other","patientdata","restapi"],"campaign_type":null,"search_a":"'-124468':13A,16A '-2026':12A,15A 'api':3A 'authent':7A 'cve':11A,14A 'insur':4A 'let':6A 'openemr':1A 'rest':2A 'run':9A 'search':5A 'sql':10A 'user':8A","search_b":"'api':25B,30B,69B 'authent':50B 'build':31B 'client':51B,70B 'data':22B 'employ':44B 'escap':47B 'health':64B 'healthcar':17B 'includ':52B 'insur':42B 'low':55B 'low-privileg':54B 'name':38B 'openemr':18B,26B 'paramet':37B 'patient':21B,41B,58B,63B 'patient-data':20B 'patient-port':57B 'portal':59B 'privileg':56B 'queri':35B 'query-str':34B 'read':62B 'record':65B,67B 'rest':24B,29B 'rest-api':23B 'search':45B 'secret':71B 'sql':32B 'standard':28B 'string':36B 'token':60B 'user':66B 'without':46B","search_c":"'/api/patient':121C,125C '/employer':127C '/insurance':123C '8.3.0':74C 'api':84C,135C 'authent':104C 'client':105C,136C 'column':100C 'concaten':91C 'contain':75C 'craft':117C 'employ':88C 'escap':103C 'extract':129C 'identifi':101C 'includ':106C 'inject':78C 'insur':86C 'low':108C 'low-privileg':107C 'name':96C,119C 'oauth2':113C 'openemr':72C 'paramet':95C,118C 'patient':85C,111C,130C 'patient-port':110C 'phi':131C 'portal':112C 'privileg':109C 'puuid':122C,126C 'queri':93C 'query-str':92C 'record':133C 'rest':83C 'search':89C 'secret':137C 'send':116C 'sql':77C,98C 'standard':82C 'string':94C 'token':114C 'user':132C 'vulner':79C 'without':102C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-08-18T08:38:59+00:00","kev":null,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/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-124468","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-124468","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":102121,"url":"https://github.com/openemr/openemr/commit/e51b0ff9e5b62d43d499d0cd0425290c29ed1212","title":"Patch: github.com","kind":"other","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":102122,"url":"https://github.com/openemr/openemr/security/advisories/GHSA-fhc4-8f9p-8mcc","title":"Vendor advisory: github.com","kind":"vendor","source":"nvd","publisher":"vendor","text":null,"published_at":"2026-08-18T08:38:59+00:00","relation":"advisory","confidence":null,"note":"Vendor advisory: github.com"},{"id":102123,"url":"https://www.vulncheck.com/advisories/openemr-before-8.3.0-sql-injection-via-patient-insurance-and-employer-rest-api","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"}