{"items":[{"id":"NVI-00007551","kind":"vulnerability","title":"MantisBT: Remote Code Execution via eval() Class Hoisting in adm_config_set.php","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-v84x-qvhg-f36r","CVE-2026-49273"],"plain_summary":"OSV carries this publisher advisory for mantisbt/mantisbt. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.28.4 for mantisbt/mantisbt. Confirm the publisher’s latest guidance.","source_ids":["sr-dfee1681260c62020f448713841c0cc7"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-dfee1681260c62020f448713841c0cc7","url":"https://github.com/advisories/GHSA-v84x-qvhg-f36r","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-v84x-qvhg-f36r","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:41.372Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-dfee1681260c62020f448713841c0cc7"],"technology":"mantisbt/mantisbt","known_exclusions":[],"conditions_summary":"MantisBT 2.28.3 and earlier contains a remote code execution vulnerability in the admin \"Manage Configuration\" feature (adm_config_set.php). When setting a configuration value with a non-string type (integer, float, complex), the value is passed through ConfigParser -> Tokenizer, which calls *eval()* with a `return;` prefix intended to prevent code execution.\n\nHowever, PHP hoists function and class declarations at compile time, even past a *return* statement. An attacker can define a class in the eval()'d code that hijacks a class loaded later via PHP's autoloader, achieving arbitrary code execution.\n\nThis vulnerability requires administrator access to the web UI (adm_config_set.php). The REST API's ConfigsSetCommand does NOT use Tokenizer/eval() and is not affected.\n\n### Impact\n- Remote code execution as the web server user (www-data) from an authenticated administrator session\n\n### Patches\n- https://github.com/mantisbt/mantisbt/commit/78c0af63d1fe0118004744cab21ca3bf2cea0f5c\n\n### Workarounds\nNone. \n\n### Resources\n- https://mantisbt.org/bugs/view.php?id=37122\n\n### Credits\nMcCaulay Hudson (@_McCaulay) of watchTowr","public_affected_ranges":["ECOSYSTEM: introduced 1.3.0; fixed 2.28.4"]}],"null_published_at":"2026-10-31T22:13:18.624Z","source_updated_at":"2026-07-15T17:11:43.450Z","source_disclosed_at":"2026-07-15T16:52:24.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:41.372Z"}],"next_cursor":null,"snapshot_revision":"42594"}