CVE-2026-39931: OpenEMR through 8.2.0 contains an authenticated SQL injection vulnerability in the backup configuration import
CVE-2026-39931 is a high-severity flaw (CVSS 7.2) affecting openemr. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 50%) |
| CISA exploited list | No |
| Weakness | CWE-434 |
| Published | 2026-08-03 |
| Last modified | 2026-09-01 |
Last updated 2026-09-01 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-39931?
openemr: upgrade to newer than 8.2.0. Exact commands for each OS are on this page.
Is CVE-2026-39931 being exploited?
CVE-2026-39931 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-39931 affect?
CVE-2026-39931 affects openemr. Severity is high (CVSS 7.2). 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 app
How urgent is CVE-2026-39931?
Priority 43/100. High severity; Public exploit reference
Software pages
PHP vulnerabilities · MySQL vulnerabilities
Related CVEs
- CVE-2023-22974 HIGH 7.5 UPGRADE A Path Traversal in setup.php in OpenEMR < 7.0.0 allows remote unauthenticated users to read arbitrary files b
- CVE-2023-22972 MEDIUM 5.4 UPGRADE A Reflected Cross-site scripting (XSS) vulnerability in interface/forms/eye_mag/php/eye_mag_functions.php in O
- CVE-2026-39932 CRITICAL 9.1 UPGRADE OpenEMR through 8.2.0 contains a remote code execution vulnerability in the document category tree component (
- CVE-2026-67611 HIGH 8.1 UPGRADE OpenEMR through 8.2.0 contains an authentication bypass vulnerability that allows attackers with valid credent
- CVE-2026-46518 HIGH 7.7 UPGRADE OpenEMR is a free and open source electronic health records and medical practice management application