Paper/Archive/CVE-2026-39932

CVE-2026-39932

openemr openemr — OpenEMR 8.2.0 Remote Code Execution via CategoryTree eval() Injection

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
openemr≤ 8.2.0–CNA

Scores by source

VulnCheck (CNA)9.4CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
VulnCheck (CNA)9.1CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

exploitjivasecurity.com/writeups/openemr-eval-rce-category-tree-cve-2026-39932writeupvulncheck.com/advisories/openemr-remote-code-execution-via-categorytree-eval-injection