Vulnerability Description
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 Score
HIGH
Related Weaknesses (CWE)
References
- https://jivasecurity.com/writeups/openemr-backup-import-arbitrary-sql-cve-2026-3
- https://www.vulncheck.com/advisories/openemr-authenticated-sql-injection-via-bac
FAQ
What is CVE-2026-39931?
CVE-2026-39931 is a vulnerability with a CVSS score of 7.2 (HIGH). 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 arbitrar...
How severe is CVE-2026-39931?
CVE-2026-39931 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-39931?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.