CVE-2026-39931
highpriority · track · 0EPSS 0.006 · 50 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 6.1–8.6
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (6)
External citations — patches, advisories, analysis.
- https://jivasecurity.com/writeups/openemr-backup-import-arbitrary-sql-cve-2026-39931cnnvd
- https://www.vulncheck.com/advisories/openemr-authenticated-sql-injection-via-backup-php-import-featurecnnvd
- https://jivasecurity.com/writeups/openemr-backup-import-arbitrary-sql-cve-2026-39931enisa_euvd
- https://www.vulncheck.com/advisories/openemr-authenticated-sql-injection-via-backup-php-import-featureenisa_euvd
- https://jivasecurity.com/writeups/openemr-backup-import-arbitrary-sql-cve-2026-39931ExploitThird Party Advisorynvd
- https://www.vulncheck.com/advisories/openemr-authenticated-sql-injection-via-backup-php-import-featureExploitThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan