SQL injection in OpenEMR - CVE-2026-39931

 

SQL injection in OpenEMR - CVE-2026-39931

Published: August 18, 2026


Vulnerability identifier: #VU144030
CSH Severity: Low
CVSS v4: 8.6 [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]
CVE-ID: CVE-2026-39931
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote user to execute arbitrary SQL statements against the application database.

The vulnerability exists due to improper neutralization of special elements used in an SQL command in the backup import feature in /interface/main/backup.php when processing an uploaded SQL backup file. A remote privileged user can upload a specially crafted SQL file to execute arbitrary SQL statements against the application database.

Exploitation requires access to the backup/restore interface, and the request must include form_step=202 while omitting form_import.


Affected software

OpenEMR

How to mitigate CVE-2026-39931

Install security update from vendor's website.

OpenEMR - update to 8.3.0

External References

Related Security Bulletins