CVE-2026-39932CWE-95

CVE-2026-39932

Critical · published August 3, 2026

CVSS v3.1
9.1
EPSS
2%
Percentile
80.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
9.1 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02002 · 80.6th percentile
Weakness
CWE-95 · Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
Published
2026-08-03T21:16Z
Affected products (1)
ProductVersionsFixed in
open-emr/openemr< 8.2.08.2.0
References (2)
EPSS history
Timeline
  • 03 AUG 16:00Z
    OpenEMR 8.2.0 Remote Code Execution via CategoryTree eval() Injection
    cvelistv5