SQL Injection Vulnerability in OpenEMR by OpenEMR Inc.
CVE-2026-39931
Key Information:
Badges
What is CVE-2026-39931?
OpenEMR versions up to 8.2.0 contain a critical SQL injection vulnerability in the backup configuration import feature. This vulnerability enables attackers with administrative privileges to upload maliciously crafted SQL files, leading to unauthorized execution of arbitrary Data Definition Language (DDL) and Data Manipulation Language (DML) statements against the application's database. By exploiting the unfiltered invocation of the mysql command-line client, attackers can extract sensitive credential hashes, modify access control tables, inject backdoor accounts, and create persistent triggers or stored procedures. Additionally, manipulation of files may occur in environments where MySQL FILE privileges and permissive secure_file_priv settings are improperly configured.
Affected Version(s)
openemr 0 <= 8.2.0
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
