OS Command Injection in OpenEMR - CVE-2026-32238

 

OS Command Injection in OpenEMR - CVE-2026-32238

Published: April 23, 2026


Vulnerability identifier: #VU127333
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2026-32238
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OpenEMR
Affected software:
OpenEMR

Detailed vulnerability description

The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to command injection in backup functionality in interface/main/backup.php when processing user-supplied backup selection values embedded in shell commands. A remote privileged user can send specially crafted backup parameters referencing attacker-controlled database values to execute arbitrary code.

Exploitation requires access to the backup functionality and the ability to place a payload in database fields such as list_options.option_id, list_options.list_id, layout_options.form_id, or layout_group_properties.grp_form_id.


How to mitigate CVE-2026-32238

Install security update from vendor's website.

Sources