SQL Injection Vulnerability in OpenEMR by OpenEMR Inc.
CVE-2026-39931

8.6HIGH

Key Information:

Vendor

Openemr

Status
Vendor
CVE Published:
3 August 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

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

Score:
8.6
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
None

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Jiva (JivaSecurity)
.