CVE-2026-49273: MantisBT · Remote Code Execution via eval() Class Hoisting in adm_config_set.php
Affects mantisbt/mantisbtSource GCVE Database
Not known to be exploited · CVSS 8.6 High : upgrade to 2.28.4 soon.
Data as of 16 Jul 2026, 14:28 UTC
- Patch
- Available – fixed in 2.28.4
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade mantisbt/mantisbt to 2.28.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistmantisbt/mantisbt | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade MantisBT to version 2.28.4 or later, which contains an official fix for this vulnerability. No workarounds are available. Since this is not a cloud service, remediation depends on applying the patch.
Description
MantisBT versions 1.3.0 up to 2.28.3 contain a remote code execution vulnerability in the admin Manage Configuration feature (adm_config_set.php). The vulnerability arises because the configuration value is evaluated via PHP's eval() with a return prefix, but PHP hoists class declarations even past return statements. An attacker with administrator access to the web UI can define a class that hijacks autoloaded classes, leading to arbitrary code execution as the web server user. The REST API is not affected. A patch fixing this issue is available in version 2.28.4.