CVE-2026-39931
CVE-2026-39931 is a high-severity vulnerability in Open-emr Openemr with a CVSS 3.x base score of 7.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-434.
Key facts
- Severity: High (CVSS 3.x base score 7.2)
- CVSS v4: 8.6
- EPSS exploit prediction: 1% (49th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-434
- Affected product: Open-emr Openemr
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2026-39931?
- CVE-2026-39931 has a CVSS 3.x base score of 7.2, rated high severity. It is exploitable over network with low attack complexity, requires high privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-39931 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (49th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-39931?
- CVE-2026-39931 affects Open-emr Openemr. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-39931?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- When was CVE-2026-39931 published?
- CVE-2026-39931 was published on 2026-08-03 and last updated on 2026-09-01.
References
- https://jivasecurity.com/writeups/openemr-backup-import-arbitrary-sql-cve-2026-39931
- https://www.vulncheck.com/advisories/openemr-authenticated-sql-injection-via-backup-php-import-feature
Affected products (1)
- cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
More vulnerabilities in Open-emr Openemr
- CVE-2026-24898 — Critical (CVSS 10.0): OpenEMR is a free and open source electronic health records and medical practice management application. Prior to…
- CVE-2026-24848 — Critical (CVSS 9.9): OpenEMR is a free and open source electronic health records and medical practice management application. In 7.0.4 and…
- CVE-2026-24908 — Critical (CVSS 9.9): OpenEMR is a free and open source electronic health records and medical practice management application. Prior to…
- CVE-2026-24849 — Critical (CVSS 9.9): OpenEMR is a free and open source electronic health records and medical practice management application. Prior to…
- CVE-2024-22611 — Critical (CVSS 9.8): OpenEMR 7.0.2 is vulnerable to SQL Injection via \openemr\library\classes\Pharmacy.class.php,…
- CVE-2024-37734 — Critical (CVSS 9.8): An issue in OpenEMR 7.0.2 allows a remote attacker to escalate privileges viaa crafted POST request using the noteid…
All CVEs affecting Open-emr Openemr →
Other CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities
- CVE-2026-39770 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in Doctreat <= 1.7.0 versions.
- CVE-2026-32579 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in Kognetiks Chatbot for WordPress <= 2.4.9 versions.
- CVE-2026-102427 — Critical (CVSS 10.0): Joomla Extension - ordasoft.com - Unauthenticated Remote Code Execution in OrdaSoft Joomla CCK < 8.3.16 -…
- CVE-2026-4357 — Critical (CVSS 10.0): The Embed HTML5 Game WordPress plugin through 1.3 does not properly restrict who can upload files via the plugin, as…
- CVE-2026-84147 — Critical (CVSS 10.0): This vulnerability exists in the ERP system due to improper authentication controls and inadequate file type validation…
- CVE-2026-81780 — Critical (CVSS 10.0): Unauthenticated Arbitrary File Upload in Hash Form <= 1.4.2 versions.
Browse all CWE-434 (Unrestricted Upload of File with Dangerous Type) vulnerabilities →