# MantisBT: Remote Code Execution via eval() Class Hoisting in adm_config_set.php

Advisory record · `GHSA-v84x-qvhg-f36r`

- **Identifiers:** `GHSA-v84x-qvhg-f36r` · `CVE-2026-49273` · `PKSA-5jjt-2py9-5v67`
- **State:** Confirmed
- **Severity:** CVSS 4.0, no score published
- **Critical:** No
- **Weakness (CWE):** [CWE-95](https://cwe.mitre.org/data/definitions/95.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 15 Jul 2026
- **Updated:** 15 Jul 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 15 Jul 2026, 16:52 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `mantisbt/mantisbt` (Packagist): affected `>=1.3.0, <2.28.4`; fixed in `2.28.4`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> MantisBT versions from 1.3.0 up to 2.28.3 are vulnerable to remote code execution through the admin "Manage Configuration" feature (adm_config_set.php) when a non-string configuration value is set. An attacker with administrator access to the web interface can run arbitrary code as the web server user. Upgrade the mantisbt/mantisbt Packagist package to version 2.28.4. No workaround is listed.

Written 3 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- Score not published, CVSS 4.0: `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`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** No score.

## Timeline

- 31 Oct 2026, 14:25 UTC: First seen by agentprime
- 31 Oct 2026, 14:25 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-v84x-qvhg-f36r)

## Sources

- [GitHub Advisory Database: GHSA-v84x-qvhg-f36r](https://github.com/advisories/GHSA-v84x-qvhg-f36r)
- [OSV: GHSA-v84x-qvhg-f36r](https://osv.dev/vulnerability/GHSA-v84x-qvhg-f36r)
- <https://github.com/mantisbt/mantisbt/security/advisories/GHSA-v84x-qvhg-f36r>
- <https://github.com/mantisbt/mantisbt/commit/78c0af63d1fe0118004744cab21ca3bf2cea0f5c>
- <https://github.com/mantisbt/mantisbt>
- <https://mantisbt.org/bugs/view.php?id=37122>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-v84x-qvhg-f36r>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-v84x-qvhg-f36r/>. Everything for agents: <https://agentprime.io/llms.txt>.
