Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-v84x-qvhg-f36r: MantisBT: Remote Code Execution via eval() Class Hoisting in adm_config_set.php

0
High
Published: 07/15/2026 (07/15/2026, 16:52:24 UTC)
Source: GCVE Database
Product: mantisbt/mantisbt

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.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Packagistghsa
mantisbt/mantisbt
Affected versions
>=1.3.0 <2.28.4

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/16/2026, 14:28:04 UTC

Technical Analysis

MantisBT before version 2.28.4 has a remote code execution vulnerability in adm_config_set.php due to unsafe use of eval() in the ConfigParser -> Tokenizer when setting configuration values of non-string types. PHP's compile-time hoisting of class declarations allows an attacker with admin UI access to inject a class definition that hijacks autoloaded classes, resulting in arbitrary code execution as the web server user. The REST API ConfigsSetCommand is not vulnerable as it does not use eval(). This vulnerability requires administrator privileges and no workaround exists. The issue is fixed in version 2.28.4.

Potential Impact

An authenticated administrator user can execute arbitrary code on the server running MantisBT as the web server user (commonly www-data). This can lead to full compromise of the application environment. The vulnerability does not allow unauthenticated remote code execution and does not affect the REST API. There are no known exploits in the wild at this time.

Mitigation Recommendations

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-v84x-qvhg-f36r
Osv Schema Version
1.4.0
Aliases
["CVE-2026-49273"]
Ecosystems
["Packagist"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a58b51668715ace43db3b14

Added to database: 07/16/2026, 10:40:22 UTC

Last enriched: 07/16/2026, 14:28:04 UTC

Last updated: 07/16/2026, 19:34:48 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses