Elevated
OpenEMR code execution and SQL injection flaws
CVE-2026-126492 and 76 more
Logged-in staff can hack the clinic records software.
- CVE
- CVE-2026-126492 and 76 more
- Score
- CVSS 8.8 · CVE-2026-126492
- Public date
- 2026-10-28
- First seen
8.8
Products
Disclosed together OpenEMR
Mitigation
Update to OpenEMR 8.5.0 or later. All versions before 8.5.0 are affected.
Summary
OpenEMR before 8.5.0 lets a logged-in user chain SQL injection into running code on the web server. The same update also fixes SQL injection, authorization bypass, and cross-site scripting flaws.
Exploit code is public
Affected when
- CVE-2026-126454 two-factor login (TOTP) enabled
- CVE-2026-126426 OpenEMR 5.0.2 or later, before 8.5.0
- CVE-2026-126428 billing ERA file upload in use
9 other Incidents of this product in the last 30 days
Incidents by product: OpenEMR
Other recent Incidents of OpenEMR
77 CVEs (every link below opens in a new tab)
- CVE-2026-126492
- CVE-2026-126487
- CVE-2026-126482
- CVE-2026-126472
- CVE-2026-126470
- CVE-2026-126468
- CVE-2026-126469
- CVE-2026-126466
- CVE-2026-126458
- CVE-2026-126430
- CVE-2026-126481
- CVE-2026-126480
- CVE-2026-126455
- CVE-2026-126454
- CVE-2026-126442
- CVE-2026-126434
- CVE-2026-126488
- CVE-2026-126491
- CVE-2026-126486
- CVE-2026-126479
- CVE-2026-126478
- CVE-2026-126418
- CVE-2026-126436
- CVE-2026-126428
- CVE-2026-126451
- CVE-2026-126489
- CVE-2026-126425
- CVE-2026-126463
- CVE-2026-126460
- CVE-2026-126452
- CVE-2026-126449
- CVE-2026-126444
- CVE-2026-126440
- CVE-2026-126433
- CVE-2026-126432
- CVE-2026-126420
- CVE-2026-126416
- CVE-2026-126415
- CVE-2026-126431
- CVE-2026-126483
- CVE-2026-126471
- CVE-2026-126467
- CVE-2026-126465
- CVE-2026-126461
- CVE-2026-126457
- CVE-2026-126453
- CVE-2026-126447
- CVE-2026-126443
- CVE-2026-126441
- CVE-2026-126439
- CVE-2026-126437
- CVE-2026-126429
- CVE-2026-126417
- CVE-2026-126476
- CVE-2026-126474
- CVE-2026-126475
- CVE-2026-126493
- CVE-2026-126484
- CVE-2026-126462
- CVE-2026-126456
- CVE-2026-126435
- CVE-2026-126419
- CVE-2026-126426
- CVE-2026-126450
- CVE-2026-126477
- CVE-2026-126427
- CVE-2026-126490
- CVE-2026-126485
- CVE-2026-126464
- CVE-2026-126448
- CVE-2026-126445
- CVE-2026-126446
- CVE-2026-126438
- CVE-2026-126423
- CVE-2026-126422
- CVE-2026-126421
- CVE-2026-126424
Read the advisory · github.com (opens in a new tab)
Each of the 77 CVEs (every link below opens in a new tab)
- CVE-2026-126492A low-privileged logged-in user can read and change the database with stored SQL. CVSS 8.8 CVE-2026-126492 advisory · CVE-2026-126492 write-up
- CVE-2026-126487A logged-in user can change global settings, turning off audit logs or weakening security policy. CVSS 8.8 CVE-2026-126487 advisory · CVE-2026-126487 write-up
- CVE-2026-126482A billing clerk can run SQL through an uploaded file and read password hashes. CVSS 8.8 CVE-2026-126482 advisory · CVE-2026-126482 write-up
Show 74 more
- CVE-2026-126472A logged-in staff member can fetch other patients' clinical summary documents. CVSS 8.8 CVE-2026-126472 advisory · CVE-2026-126472 write-up
- CVE-2026-126470A user with send permission can download or send other patients' clinical documents. CVSS 8.8 CVE-2026-126470 advisory · CVE-2026-126470 write-up
- CVE-2026-126468A user without access rights can export patient data through reports and reminders. CVSS 8.8 CVE-2026-126468 advisory · CVE-2026-126468 write-up
- CVE-2026-126469A user without access rights can download sensitive patient data through export tools. CVSS 8.8 CVE-2026-126469 advisory · CVE-2026-126469 write-up
- CVE-2026-126466Any logged-in user can create patient records or look up patient information. CVSS 8.8 CVE-2026-126466 advisory · CVE-2026-126466 write-up
- CVE-2026-126458A staff member can mark other patients' clinical records as authorized. CVSS 8.8 CVE-2026-126458 advisory · CVE-2026-126458 write-up
- CVE-2026-126430Any authenticated user can inject SQL through patient data field names, reading staff password hashes, altering demographics, and taking over portal accounts. CVSS 8.6 CVE-2026-126430 advisory · CVE-2026-126430 write-up
- CVE-2026-126481A billing user can overwrite other files on the server through an uploaded file. CVSS 8.1 CVE-2026-126481 advisory · CVE-2026-126481 write-up
- CVE-2026-126480A logged-in user can run SQL through request fields and copy password hashes into patient records. CVSS 8.1 CVE-2026-126480 advisory · CVE-2026-126480 write-up
- CVE-2026-126455A low-privileged front desk clerk can chain flaws to read the entire database. CVSS 8.1 CVE-2026-126455 advisory · CVE-2026-126455 write-up
- CVE-2026-126454Lets attackers with a valid password brute-force the 6-digit TOTP code because there is no rate limit or lockout, bypassing two-factor authentication. CVSS 8.1 CVE-2026-126454 advisory · CVE-2026-126454 write-up
- CVE-2026-126442Low-privilege users can replace a selected patient's portal credentials to take over the account, read health information, or lock the patient out. CVSS 8.1 CVE-2026-126442 advisory · CVE-2026-126442 write-up
- CVE-2026-126434Accounts without lab permission can read and modify other patients' procedure orders, falsifying diagnoses, instructions, and order status. CVSS 8.1 CVE-2026-126434 advisory · CVE-2026-126434 write-up
- CVE-2026-126488Patient portal users can read the whole database, including other patients' records and password hashes. CVSS 7.7 CVE-2026-126488 advisory · CVE-2026-126488 write-up
- CVE-2026-126491Users with layout access can use planted commands to steal patient and account data. CVSS 7.6 CVE-2026-126491 advisory · CVE-2026-126491 write-up
- CVE-2026-126486Staff without permission can delete or change document templates and read their contents. CVSS 7.6 CVE-2026-126486 advisory · CVE-2026-126486 write-up
- CVE-2026-126479Lets low-privilege users overwrite any module's configuration, retarget CCDA and HIE settings, and delete module hooks. CVSS 7.6 CVE-2026-126479 advisory · CVE-2026-126479 write-up
- CVE-2026-126478Lets authenticated users inject SQL through the ICD code array in the Syndromic Surveillance report to extract patient health information. CVSS 7.6 CVE-2026-126478 advisory · CVE-2026-126478 write-up
- CVE-2026-126418Crafted billing codes saved by a clinician run script when a back office user enters a payment, exposing patient and financial data or performing actions as that user. CVSS 7.6 CVE-2026-126418 advisory · CVE-2026-126418 write-up
- CVE-2026-126436OAuth2 clients can use unregistered grant types to get tokens without the consent screen, and disabled clients can redeem authorization codes. CVSS 7.5 CVE-2026-126436 advisory · CVE-2026-126436 write-up
- CVE-2026-126428Billing users can upload a malformed ERA file to store PHP code, which an attacker with database write access can run as the web server user through a background service. CVSS 7.5 CVE-2026-126428 advisory · CVE-2026-126428 write-up
- CVE-2026-126451Lets portal patients inject javascript: URLs into document templates, running script in staff sessions to read PHI and CSRF tokens and call admin endpoints. CVSS 7.3 CVE-2026-126451 advisory · CVE-2026-126451 write-up
- CVE-2026-126489Administrators can make the system run arbitrary database commands through a crafted setting. CVSS 7.2 CVE-2026-126489 advisory · CVE-2026-126489 write-up
- CVE-2026-126425Stored SQL injection through history layout field identifiers lets users with write access run SQL functions that delay database workers or access data beyond their privileges. CVSS 7.2 CVE-2026-126425 advisory · CVE-2026-126425 write-up
- CVE-2026-126463Lets authenticated users inject SQL through ERA CLP01, facility, ICD code, and POST key names to read password hashes and patient data or overwrite records. CVSS 7.1 CVE-2026-126463 advisory · CVE-2026-126463 write-up
- CVE-2026-126460Lets users with billing write access upload an EDI file whose stored SQL payload runs on reprocessing, extracting patient health information. CVSS 7.1 CVE-2026-126460 advisory · CVE-2026-126460 write-up
- CVE-2026-126452Lets any authenticated user delete or clear any billing record by ID, deactivating other patients' charges and corrupting financial records. CVSS 7.1 CVE-2026-126452 advisory · CVE-2026-126452 write-up
- CVE-2026-126449Low-privilege front office users can bypass access checks to add or delete immunizations, enter billing codes, and run the billing processor. CVSS 7.1 CVE-2026-126449 advisory · CVE-2026-126449 write-up
- CVE-2026-126444Staff without prescription permission can directly access the eRx page to view patients' demographic, medication, and allergy data and change sync state. CVSS 7.1 CVE-2026-126444 advisory · CVE-2026-126444 write-up
- CVE-2026-126440Non-administrators with Care Coordination access can recategorize protected patient documents and then download them through normal retrieval. CVSS 7.1 CVE-2026-126440 advisory · CVE-2026-126440 write-up
- CVE-2026-126433Read-only drug users can send GET requests to create false dispensing records and reduce inventory. CVSS 7.1 CVE-2026-126433 advisory · CVE-2026-126433 write-up
- CVE-2026-126432An authenticated user with read-only access can exploit a missing permission check to send lab orders to laboratories, transmitting HL7 messages containing SSNs, insurance, and diagnoses. CVSS 7.1 CVE-2026-126432 advisory · CVE-2026-126432 write-up
- CVE-2026-126420Read-only demographics users can create patient charts with chosen identity fields, generating fictitious or duplicate patients with insurance and history records. CVSS 7.1 CVE-2026-126420 advisory · CVE-2026-126420 write-up
- CVE-2026-126416A low-privilege authenticated user can modify other patients' tracker entries by changing the tracker ID, altering patient-flow status, room assignments, and linked appointment state with a valid CSRF token. CVSS 7.1 CVE-2026-126416 advisory · CVE-2026-126416 write-up
- CVE-2026-126415Any authenticated user can retrieve patient demographic records, and can enumerate the entire patient table by sending wildcard or empty search parameters to the validation endpoint. CVSS 7.1 CVE-2026-126415 advisory · CVE-2026-126415 write-up
- CVE-2026-126431Care Coordination users can store malicious SQL in C-CDA field identifiers that executes during document generation, extracting password hashes and patient records. CVSS 6.8 CVE-2026-126431 advisory · CVE-2026-126431 write-up
- CVE-2026-126483Report users can read database contents using specially crafted values. CVSS 6.5 CVE-2026-126483 advisory · CVE-2026-126483 write-up
- CVE-2026-126471Lets low-privilege Front Office users request any patient ID directly and view demographics, insurance, and vitals history. CVSS 6.5 CVE-2026-126471 advisory · CVE-2026-126471 write-up
- CVE-2026-126467Lets low-privilege users submit authorized=1 or override the id field to mark observations as provider-signed and overwrite other observations in the same encounter. CVSS 6.5 CVE-2026-126467 advisory · CVE-2026-126467 write-up
- CVE-2026-126465Lets staff inject SQL into the bitwise criteria of the patient portal API to read patient data, staff password hashes, database credentials, and API tokens. CVSS 6.5 CVE-2026-126465 advisory · CVE-2026-126465 write-up
- CVE-2026-126461Lets any user save global: prefixed settings to repoint services like CouchDB, eRx, or SMTP to attacker servers, exfiltrating credentials and patient data. CVSS 6.5 CVE-2026-126461 advisory · CVE-2026-126461 write-up
- CVE-2026-126457Lets users without module management rights call save and delete actions to reconfigure or partially disable installed modules. CVSS 6.5 CVE-2026-126457 advisory · CVE-2026-126457 write-up
- CVE-2026-126453Lets authorized users keep downloading expired bulk export and CCD documents because the expiry check comparison is inverted. CVSS 6.5 CVE-2026-126453 advisory · CVE-2026-126453 write-up
- CVE-2026-126447Users without the required permission can send Direct messages to chosen recipients using the clinic's credentials, impersonating the clinic. CVSS 6.5 CVE-2026-126447 advisory · CVE-2026-126447 write-up
- CVE-2026-126443Users without demographics permission can specify arbitrary patient data columns to enumerate names, birth dates, contact details, and Social Security numbers. CVSS 6.5 CVE-2026-126443 advisory · CVE-2026-126443 write-up
- CVE-2026-126441Authenticated users can forge prescription IDs to read other patients' drug names, dosages, directions, and refill counts. CVSS 6.5 CVE-2026-126441 advisory · CVE-2026-126441 write-up
- CVE-2026-126439Users without patient report permission can request a selected patient's C-CDA clinical summary, including diagnoses, medications, lab results, and identifiers. CVSS 6.5 CVE-2026-126439 advisory · CVE-2026-126439 write-up
- CVE-2026-126437Authenticated users can render documents for arbitrary patients by setting arbitrary patient and template IDs, exposing names, medications, and problem lists. CVSS 6.5 CVE-2026-126437 advisory · CVE-2026-126437 write-up
- CVE-2026-126429Authenticated users can use crafted HTML references to make the server read arbitrary local files, including credentials and OAuth keys. CVSS 6.5 CVE-2026-126429 advisory · CVE-2026-126429 write-up
- CVE-2026-126417An access control flaw in the claim file download lets users with account/EOB or billing write access read any file in the shared temp directory, including the complete C-CDA clinical document of the most recently validated patient. CVSS 6.5 CVE-2026-126417 advisory · CVE-2026-126417 write-up
- CVE-2026-126476Lets an attacker lure a user into submitting a payload in searchMode, running script in their session to steal cookies or patient data. CVSS 6.1 CVE-2026-126476 advisory · CVE-2026-126476 write-up
- CVE-2026-126474Lets an attacker run script in logged-in sessions through the module_id parameter, stealing cookies and changing ACL settings. CVSS 6.1 CVE-2026-126474 advisory · CVE-2026-126474 write-up
- CVE-2026-126475Lets an attacker break out of HTML attributes via the searchEleNo parameter and run script in sessions to steal cookies and patient data. CVSS 6.1 CVE-2026-126475 advisory · CVE-2026-126475 write-up
- CVE-2026-126493Patient portal users can plant a malicious script that runs in a provider's browser. CVSS 5.4 CVE-2026-126493 advisory · CVE-2026-126493 write-up
- CVE-2026-126484Patient portal users can insert a script into appointment notes that runs in staff sessions. CVSS 5.4 CVE-2026-126484 advisory · CVE-2026-126484 write-up
- CVE-2026-126462Lets users with Eye Exam edit rights store a payload in the Next Visit Orders field that runs when others open the editor, stealing session data. CVSS 5.4 CVE-2026-126462 advisory · CVE-2026-126462 write-up
- CVE-2026-126456Lets clinicians inject a payload into the Fee Sheet notecodes field that breaks out of its attribute and runs in higher-privileged users' browsers. CVSS 5.4 CVE-2026-126456 advisory · CVE-2026-126456 write-up
- CVE-2026-126435Users with view-only patient permission can read squad-restricted patient data by order ID and, without a CSRF token, suppress ordered lab procedures. CVSS 5.4 CVE-2026-126435 advisory · CVE-2026-126435 write-up
- CVE-2026-126419An authenticated core user can sign and lock any patient's clinical form without access to that patient, creating unauthorized approval records and blocking normal editing. CVSS 5.4 CVE-2026-126419 advisory · CVE-2026-126419 write-up
- CVE-2026-126426Attackers holding a victim's session can delete all MFA factors or register their own U2F key without re-entering the password, bypassing MFA later. CVSS 5.3 CVE-2026-126426 advisory · CVE-2026-126426 write-up
- CVE-2026-126450Lets authenticated users store script in the patient External ID field, which runs in other users' browsers when they open prescriptions in the printable HTML view. CVSS 5.0 CVE-2026-126450 advisory · CVE-2026-126450 write-up
- CVE-2026-126477Lets an administrator store a script in an Eye Exam defaults title that runs in other users' sessions when they click Defaults. CVSS 4.8 CVE-2026-126477 advisory · CVE-2026-126477 write-up
- CVE-2026-126427Automatic logoff does not work, so anyone at an unattended workstation can use the still-active session to view patient health information. CVSS 4.6 CVE-2026-126427 advisory · CVE-2026-126427 write-up
- CVE-2026-126490An admin page can reveal the web server's user group names. CVSS 4.3 CVE-2026-126490 advisory · CVE-2026-126490 write-up
- CVE-2026-126485A link from another site can make a logged-in clinician delete observation records. CVSS 4.3 CVE-2026-126485 advisory · CVE-2026-126485 write-up
- CVE-2026-126464Lets a patient make the server send HTTP requests via crafted HTML in the portal PDF generator, probing internal ports and cloud metadata endpoints. CVSS 4.3 CVE-2026-126464 advisory · CVE-2026-126464 write-up
- CVE-2026-126448An authenticated user without Nation Notes permission can directly modify shared Nation Notes templates and assignments. CVSS 4.3 CVE-2026-126448 advisory · CVE-2026-126448 write-up
- CVE-2026-126445Users without appointment permission can alter other patients' flow board trackers, falsifying check-in status, rooms, and drug-screen records. CVSS 4.3 CVE-2026-126445 advisory · CVE-2026-126445 write-up
- CVE-2026-126446Users without drug or inventory permission can query destroyed-drug records for a chosen date range, exposing drug names, lots, quantities, and witnesses. CVSS 4.3 CVE-2026-126446 advisory · CVE-2026-126446 write-up
- CVE-2026-126438Read-only users can overwrite completion dates, states, and results of clinical-rule records, including those of patients outside their assigned squad. CVSS 4.3 CVE-2026-126438 advisory · CVE-2026-126438 write-up
- CVE-2026-126423Highly compressed ZIP uploads can exhaust memory and worker pools, making OpenEMR unavailable. CVSS 4.3 CVE-2026-126423 advisory · CVE-2026-126423 write-up
- CVE-2026-126422Restricted users can mark another patient's clinical lists as reviewed, falsely recording that there are no allergies, medications, or problems. CVSS 4.3 CVE-2026-126422 advisory · CVE-2026-126422 write-up
- CVE-2026-126421Users with medication access can send label print requests with huge counts, exhausting PHP workers and making OpenEMR unavailable. CVSS 4.3 CVE-2026-126421 advisory · CVE-2026-126421 write-up
- CVE-2026-126424Users with superbill write access can inject HTML into SNOMED code descriptions, executing JavaScript in a clinician's session when the code is selected. CVSS 3.5 CVE-2026-126424 advisory · CVE-2026-126424 write-up