CVE-2026-39932

published 3 Aug 2026 · updated 14 Aug 2026

OpenEMR 8.2.0 Remote Code Execution via CategoryTree eval() Injection

10.0CriticalCVSS 9.1EPSS 2%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
openemr<=8.2.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-39932 severity on Zeptric[![CVE-2026-39932](https://zeptric.io/badge/cve/CVE-2026-39932.svg)](https://zeptric.io/cve/CVE-2026-39932)