CVE-2026-39931CWE-434unrestricted-file-upload

CVE-2026-39931

High · published August 3, 2026

CVSS v3.1
7.2
EPSS
1%
Percentile
49.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.2 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00636 · 49.8th percentile
Weakness
CWE-434 · Unrestricted Upload of File with Dangerous Type
Published
2026-08-03T21:16Z
Affected products (1)
ProductVersionsFixed in
open-emr/openemr≤ 8.2.0—
References (2)
EPSS history
Timeline
  • 03 AUG 15:54Z
    OpenEMR Authenticated SQL Injection via backup.php Import Feature
    cvelistv5