Vulnerability · Published Aug 3, 2026 · Assigned by VulnCheck
CVE-2026-39931OpenEMR Authenticated SQL Injection via backup.php Import Feature
High 7.2
In plain English
A high-severity unrestricted file upload in openemr from openemr. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 51% of all known vulnerabilities).
Official 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.
Affected products (as reported)
Weakness: CWE-434 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
References
- Researcher Disclosure technical-description, exploit
- https://www.vulncheck.com/advisories/openemr-authenticated-sql-injection-via-backup-php-import-feature third-party-advisory