What’s Vulnerable › Vulnerabilities
CVE-2026-39931: OpenEMR Authenticated SQL Injection via backup.php Import Feature
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-08-03 · updated 2026-09-01
- Weakness: CWE-434
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
- openemr: through 8.2.0
References
- https://jivasecurity.com/writeups/openemr-backup-import-arbitrary-sql-cve-2026-39931
- https://www.vulncheck.com/advisories/openemr-authenticated-sql-injection-via-backup-php-import-feature
Get alerted when CVE-2026-39931 or the next vulnerability affects your stack