CVE-2026-39931OpenEMR Authenticated SQL Injection via backup.php Import Feature
Updated under an hour ago ()
Does this affect you?
It affects openemr and 1 other product. Add what you run to find out whether that includes you.
EPSS puts the chance of exploitation in the next 30 days at 0.64%, higher than 49% of scored CVEs.
Do this next
Free account, 1 product
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
- 7.2 HIGH (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- CWE-434
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- 0.64% (percentile 49)
- Assigned by
- VulnCheck
- NVD analysis
- Analyzed
- Record last updated
- Aug 14, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
openemr openemr openemr:openemr (from the name) | through 8.2.0 | CNA record |
open-emr openemr open-emr:openemr | through 8.2.0 | NVD |
References
- https://jivasecurity.com/writeups/openemr-backup-import-arbitrary-sql-cve-2026-39931technical-description, exploit, third-party-advisory
- https://www.vulncheck.com/advisories/openemr-authenticated-sql-injection-via-backup-php-import-featurethird-party-advisory, exploit
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.