Eval Injection in OpenEMR - CVE-2026-39932
Published: August 18, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to improper neutralization of directives in dynamically evaluated code in the document category tree builder in library/classes/Tree.class.php when loading the document category tree from database-sourced category values. A remote privileged user can insert crafted category table values that are concatenated into an eval() string to execute arbitrary code.
Exploitation requires write access to the categories database table, such as through admin access, a secondary SQL injection, or a compromised privileged account.