CVE-2026-39931 json
OpenEMR Authenticated SQL Injection via backup.php Import Feature
published 2026-08-03 3 mo ago modified 2026-09-01 2 mo ago also EUVD-2026-52342
- cvss
- 7.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 50%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- total
- Assessed
- 3 mo ago
Exploit prediction
0.64% chance of exploitation in the next 30 days, higher than 50% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- jivasecurity.com https://jivasecurity.com/writeups/openemr-backup-import-arbitrary-sql-cve-2026-39931 referenced PoC, tagged "exploit" by a source, unverified
- vulncheck.com https://www.vulncheck.com/advisories/openemr-authenticated-sql-injection-via-backup-php-import-feature referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 8.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| CNA | 3.1 | 7.2 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H |
| CNA | 4.0 | 8.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- openemr openemr
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
jivasecurity.com
/writeups/openemr-backup-import-arbitrary-sql-cve-2026-39931
technical-description, exploit, third-party-advisory
-
vulncheck.com
/advisories/openemr-authenticated-sql-injection-via-backup-php-import-feature
third-party-advisory, exploit
Sources
- CVE List CVE-2026-39931
- NVD CVE-2026-39931
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.