SQL injection in OpenEMR - CVE-2026-33910
Published: April 23, 2026
OpenEMR
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary SQL commands.
The vulnerability exists due to improper neutralization of special elements used in an SQL command in the patient selection feature when processing database entries from the layout_options table during patient selection queries. A remote privileged user can insert a crafted payload into layout_options.field_id to execute arbitrary SQL commands.
The proof of concept uses /interface/super/edit_layout.php to place the payload before triggering the vulnerable query in getByPatientDemographics in library/patient.inc.php.