Open-Emr Openemr
CVE-2026-39931
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.
What this means for your business
- It affects Open-Emr Openemr. It matters if your company, or a supplier that handles your data, runs it.
- Code showing how to exploit it has been published, but real attacks have not been confirmed.
- An attacker can use it remotely, over a network, with an administrator login, and without anyone at your company clicking anything.
- FIRST's prediction model gives it a 0.4% chance of attack attempts being seen in the next 30 days, ranking above 36% of all known flaws.
What to do
- 1Check whether your company or your suppliers run Open-Emr Openemr, and which version. The affected versions are listed further down this page.
- 2If you do, follow the vendor's guidance. No patch reference has been published yet.
Not sure if your company is exposed?
Fastnexa’s certified penetration testers can check whether attackers could use this flaw, or others like it, against your websites, apps and network. The full test is free for our first 10 founding clients until 31 December 2026.
Scoring
- CVSS
- 7.2 (v3.1)
- Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H- CVSS v4
- 8.6
- Weakness
- CWE-434
- Assigned by
- disclosure@vulncheck.com
Dates
- Published
- 2026-08-03
- Last modified
- 2026-09-01
- Sources
- NVD
Affected products
- Open-Emr Openemr- 8.2.0
As listed in the NVD configuration data. Not a statement about your estate.