CVE-2026-39932

OpenEMR through 8.2.0 contains a remote code execution vulnerability in the document category tree component (library/classes/Tree.class.php) that allows authenticated administrators to execute arbitrary operating system commands by injecting PHP payloads into the categories database table. Attackers can chain arbitrary SQL execution to alter the id column type to VARCHAR and insert a malicious PHP payload, which is then executed via an unsanitized eval() call whenever any page instantiates CategoryTree, including unauthenticated and low-privilege pages, resulting in command execution as the web server user.
Configurations

Configuration 1 (hide)

cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*

History

01 Sep 2026, 15:36

Type Values Removed Values Added
CPE cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*
First Time Open-emr
Open-emr openemr
References () https://jivasecurity.com/writeups/openemr-eval-rce-category-tree-cve-2026-39932 - () https://jivasecurity.com/writeups/openemr-eval-rce-category-tree-cve-2026-39932 - Exploit, Third Party Advisory
References () https://www.vulncheck.com/advisories/openemr-remote-code-execution-via-categorytree-eval-injection - () https://www.vulncheck.com/advisories/openemr-remote-code-execution-via-categorytree-eval-injection - Exploit, Third Party Advisory

03 Aug 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-08-03 17:16

Updated : 2026-09-01 15:36


NVD link : CVE-2026-39932

Mitre link : CVE-2026-39932

CVE.ORG link : CVE-2026-39932


JSON object : View

Products Affected

open-emr

  • openemr
CWE
CWE-95

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')