Skip to main content
VulnerabilityPublished

CVE-2026-49273: MantisBT · Remote Code Execution via eval() Class Hoisting in adm_config_set.php

Affects mantisbt/mantisbtSource GCVE Database

0
Compare

Not known to be exploited · CVSS 8.6 High : upgrade to 2.28.4 soon.

Data as of 16 Jul 2026, 14:28 UTC

CVSS 4.0 base score
8.6High
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Packagistmantisbt/mantisbtAffected
  • >=1.3.0 <2.28.4
Fixed in
  • 2.28.4

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.

References

Community reviews

Loading reviews…