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.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39932.json, https://nvd.nist.gov/vuln/detail/CVE-2026-39932, https://www.vulncheck.com/advisories/openemr-remote-code-execution-via-categorytree-eval-injection, https://github.com/openemr/openemr, https://jivasecurity.com/writeups/openemr-eval-rce-category-tree-cve-2026-39932