CVE-2026-39931
published high CVSS 4.0 · 8.6OpenEMR Authenticated SQL Injection via backup.php Import Feature
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| openemr | — | openemr0 through 8.2.0 · Other versions: affected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.2 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| openemr | openemr | 0 through 8.2.0 (affected · semver)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-434 Unrestricted Upload of File with Dangerous Type
References
2- Researcher Disclosure 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
Provider assertions
2VulnCheck · cna
OpenEMR Authenticated SQL Injection via backup.php Import Feature
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7c04b28b226ae60537f2be89d294f6fda4a6e3e713ba3c86483950d53edbfb9c
- Ingested
- 23 Sep 2026, 09:12:25 UTC
- Source record
- Official CVE record