CVE-2026-39931
Last modified
CVE-2026-39931 is a high-severity vulnerability rated 8.6/10 on the CVSS scale. 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..
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| openemr | openemr | <= 8.2.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-39931?
How severe is CVE-2026-39931?
How do I fix CVE-2026-39931?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-39923Flarum before 1.8.16 contains a password reset token expiry …9.2
- CVE-2026-39924Flarum before 1.8.16 contains an improper session invalidati…6.8
- CVE-2026-39926Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-39927Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-39929Lakeside SysTrack Agent versions prior to 11.2.1.28, 11.3.0.…8.7
- CVE-2026-3993A security vulnerability has been detected in itsourcecode P…4.3
- CVE-2026-39932OpenEMR through 8.2.0 contains a remote code execution vulne…9.1
- CVE-2026-39933Improper neutralization of input during web page generation …6.9
- CVE-2026-39934Loop with unreachable exit condition ('infinite loop') vulne…6.9
- CVE-2026-39935Improper neutralization of input during web page generation …6.9
- CVE-2026-39936Improper neutralization of input during web page generation …6.9
- CVE-2026-39937Improper removal of sensitive information before storage or …8.8
Are you affected by CVE-2026-39931?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
