CVE-2026-39931: OpenEMR Authenticated SQL Injection via backup.php Import Feature

Published Aug 3, 2026
·
Updated

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 formstep=202 parameter in backup.php. Attackers can exploit the unfiltered shellexec 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 securefilepriv settings are configured.

Affected Software

1 affected component
OpenEMR OpenEMR<=8.2.0

Event History

Aug 3, 2026
CVE Published
via MITRE·03:54 PM
Data Sourced
via MITRE·03:54 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-39931?

The severity of CVE-2026-39931 is classified as high with a score of 7.2.

2

How do I fix CVE-2026-39931?

To fix CVE-2026-39931, ensure that user file upload capabilities are restricted and validate any SQL files being imported.

3

Who is affected by CVE-2026-39931?

CVE-2026-39931 affects OpenEMR users with admin or super ACL privileges allowing them to exploit the SQL injection vulnerability.

4

What type of vulnerability is CVE-2026-39931?

CVE-2026-39931 is an authenticated SQL injection vulnerability affecting the backup configuration import feature of OpenEMR.

5

Can CVE-2026-39931 lead to data compromise?

Yes, CVE-2026-39931 can lead to data compromise as it allows execution of arbitrary SQL statements against the application database.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203