CVE-2026-39932
9.4critical
OpenEMR 8.2.0 Remote Code Execution via CategoryTree eval() Injection
- Severity
- 9.4critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 3.68% (higher than 89% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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
| Product or package | Versions | Reported by |
|---|---|---|
| openemr openemr | up to 8.2.0 | CVE List |
| open-emr openemr | before 8.2.0 | NVD |
All scores
| VulnCheck | 9.4critical CVSS:4.0 | CVSS: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 | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
References
| https://jivasecurity.com/writeups/openemr-eval-rce-category-tree-cve-2026-39932 | exploit, technical-description, third-party-advisory | |
| https://www.vulncheck.com/advisories/openemr-remote-code-execution-via-categorytree-eval-injection | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-39932 changed 2026-08-14 | CVE Terms of Use |
| NVD | CVE-2026-39932 changed 2026-09-01 | Public domain |