Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-39931— OpenEMR Authenticated SQL Injection via backup.php Import Feature

Quick assessment

Affected
openemr openemr
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

openemr是OpenEMR组织开源的一个支持文档管理与企业应用场景的医疗信息管理平台。 OpenEMR 8.2.0及之前版本存在任意文件上传漏洞,该漏洞源于备份配置导入功能中存在SQL注入,通过backup.php的form_step=202参数上传特制SQL文件,并利用未过滤的shell_exec调用mysql命令行客户端,可能导致具有admin或super ACL权限的管理员执行任意DDL和DML语句,提取凭据哈希、修改访问控制表、注入后门账户、创建持久触发器或存储过程以及写入任意文件。

CVSS 7.2 · High EPSS 0.64% · P49

Affected Version Matrix 1

VendorProduct Version RangeStatus
openemr openemr ≤ 8.2.0 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-39931

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
OpenEMR Authenticated SQL Injection via backup.php Import Feature
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
危险类型文件的不加限制上传
Source: CVE Program / CVE List V5
Vulnerability Title
OpenEMR 任意文件上传漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
openemr是OpenEMR组织开源的一个支持文档管理与企业应用场景的医疗信息管理平台。 OpenEMR 8.2.0及之前版本存在任意文件上传漏洞,该漏洞源于备份配置导入功能中存在SQL注入,通过backup.php的form_step=202参数上传特制SQL文件,并利用未过滤的shell_exec调用mysql命令行客户端,可能导致具有admin或super ACL权限的管理员执行任意DDL和DML语句,提取凭据哈希、修改访问控制表、注入后门账户、创建持久触发器或存储过程以及写入任意文件。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
openemr openemr 0 ~ 8.2.0 -

II. Public POCs for CVE-2026-39931

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-39931

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-39931 (1)

Security Blog Posts for CVE-2026-39931 (1)

Same Patch Batch · openemr · 2026-08-03 · 5 CVEs total

CVE-2026-39932 9.1 CRITICAL OpenEMR 8.2.0 Remote Code Execution via CategoryTree eval() Injection
CVE-2026-67610 8.1 HIGH OpenEMR 8.2.0 OAuth2 Dynamic Client Registration Unauthorized FHIR Access
CVE-2026-67611 8.1 HIGH OpenEMR 8.2.0 OAuth2 Password Grant Authentication Bypass via SMART Configuration
CVE-2026-67612 4.8 MEDIUM OpenEMR 8.2.0 Stored XSS via import_template.php Template Management

IV. Related Vulnerabilities

V. Comments for CVE-2026-39931

No comments yet


Leave a comment