Vulnerability · Published Aug 3, 2026 · Assigned by VulnCheck

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

Critical 9.1

In plain English

A critical-severity security flaw in openemr from openemr. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.0% (higher than 81% of all known vulnerabilities).

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)2.0%top 19.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 products (as reported)

VendorProductVersions
openemr openemr 0 – through 8.2.0

Weakness: CWE-95 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H

References