# CVE-2026-39932: OpenEMR 8.2.0 Remote Code Execution via CategoryTree eval() Injection

- Severity: Critical 9.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.68%, higher than 89% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-08-03T16:00:09.789Z
- Modified: 2026-09-01T15:36:55.703Z
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- openemr openemr: up to 8.2.0
- open-emr openemr: before 8.2.0

## Every score

- VulnCheck: CVSS:4.0 9.4 Critical `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: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H`

## 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

- CVE List: [CVE-2026-39932](https://www.cve.org/CVERecord?id=CVE-2026-39932), CVE Terms of Use, modified 2026-08-14
- NVD: [CVE-2026-39932](https://nvd.nist.gov/vuln/detail/CVE-2026-39932), Public domain, modified 2026-09-01

---

Page: https://cve.day/CVE-2026-39932 · Whole record: https://cve.day/CVE-2026-39932.json · Rebuilt by cve.day 2026-11-25T22:59:30.880Z
