Skip to content

CVE-2026-39931 OpenEMR Authenticated SQL Injection via backup.php Import Feature

HighCVSS 8.6 EPSS 0.64%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
PHPMySQL

Description

OpenEMR through 8.2.0 contains an authenticated SQL injection vulnerability in the backup configuration import feature that allows administrators with admin or super ACL privileges to execute arbitrary DDL and DML statements against the application database by uploading a crafted SQL file at the form_step=202 parameter in backup.php. Attackers can exploit the unfiltered shell_exec invocation of the mysql command-line client to extract credential hashes, modify access control tables, inject backdoor accounts, create persistent triggers or stored procedures, and write arbitrary files to the filesystem where MySQL FILE privileges and permissive secure_file_priv settings are configured.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
open-emr openemr <= 8.2.0 after 8.2.0 Fixed
openemr <= 8.2.0 after 8.2.0 Fixed

Affected products

ProductAffected versionsFixed in
openemr <= 8.2.0 No fix listed
open-emr openemr <= 8.2.0 No fix listed

References