Eval Injection in MantisBT - CVE-2026-49273
Published: November 8, 2026
Vulnerability details
The vulnerability allows an administrator to execute arbitrary code as the web server user on a MantisBT server.
The vulnerability exists due to unsafe evaluation of non-string configuration values in adm_config_set.php, where PHP class declarations take effect despite a return statement intended to prevent execution. An administrator can submit a crafted value through the Manage Configuration web interface to define a class that hijacks a subsequently loaded class and executes attacker-controlled code.