← Vulnerability feed

Vulnerability record · CVE-2014-7146 · published 18 November 2014

CVE-2014-7146: MantisBT XmlImportExport plugin PHP code execution via crafted XML

Mantisbt · Mantisbt

The XmlImportExport plugin in MantisBT 1.2.17 and earlier passes attacker-controlled XML content, specifically the description field and issuelink attribute, into preg_replace with the e modifier, which evaluates the replacement as PHP code. This allows remote code execution on the server hosting the affected MantisBT instance.

7.5 CVSS 2.0 High EPSS 51% · top 1.1% CWE-20 · Improper input validation
7.5CVSS 2.0 base score
51%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
16References
17 Jun 2026Last modified by NVD

Description

The XmlImportExport plugin in MantisBT 1.2.17 and earlier allows remote attackers to execute arbitrary PHP code via a crafted (1) description field or (2) issuelink attribute in an XML file, which is not properly handled when executing the preg_replace function with the e modifier.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

high priorityRemote unauthenticated code execution with a high EPSS score, though no confirmed in-the-wild exploitation or KEV listing.

What it is

The XmlImportExport plugin in MantisBT 1.2.17 and earlier passes attacker-controlled XML content, specifically the description field and issuelink attribute, into preg_replace with the e modifier, which evaluates the replacement as PHP code. This allows remote code execution on the server hosting the affected MantisBT instance.

Impact

An attacker can execute arbitrary PHP code with the privileges of the web server, leading to full compromise of the MantisBT application and potentially the underlying host.

Attack surface

The flaw is reachable over the network through the XML import/export functionality; the CVSS vector AV:N/AC:L/Au:N indicates no authentication or user interaction is required, though the plugin must be enabled and reachable.

Exploitation

No CISA KEV listing and no reference tags indicating public exploit code; EPSS probability is 0.50561 (98.86th percentile), suggesting elevated likelihood of exploitation activity.

What to do

  • Upgrade MantisBT to a version after 1.2.17 that removes the preg_replace e modifier usage, per the vendor commits 84017535 and bed19db9.
  • If immediate upgrade is not possible, disable or remove the XmlImportExport plugin.
  • Restrict network access to the MantisBT import/export endpoints to trusted users or internal networks.
  • Apply the Debian security update DSA-3120 if running the Debian package.
  • Review web server logs for XML import requests containing PHP code patterns.

Detection

  • Search HTTP request logs for POSTs to XmlImportExport or import endpoints with XML bodies containing preg_replace-style payloads or PHP tags.
  • Monitor for unexpected PHP file creation or execution in the MantisBT web directory.
  • Alert on outbound connections or process spawns from the web server user following XML import activity.
  • Audit MantisBT plugin configuration to confirm XmlImportExport is disabled where not needed.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2014-7146 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.6CVE-2019-15074Mantisbt cross-site scripting vulnerabilityThe Timeline feature in my_view_page.php in MantisBT through 2.21.1 has a stored cross-site scripting (XSS) vulnerability, allowing execution of arbi…EPSS 2.1%9.3CVE-2026-30849Mantisbt vulnerabilityMantis Bug Tracker (MantisBT) is an open source issue tracker. Versions prior to 2.28.1 running on MySQL family databases are affected by an authenti…EPSS 2.4%8.8CVE-2025-47776Mantisbt vulnerabilityMantis Bug Tracker (MantisBT) is an open source issue tracker. Due to incorrect use of loose (==) instead of strict (===) comparison in the authentic…EPSS 0.32%8.8CVE-2017-7615MantisBT weak password reset allows unauthenticated admin accessMantisBT through 2.3.0 mishandles password reset confirmation, allowing an attacker to supply an empty confirm_hash value to verify.php. This permits…EPSS 91%analysed8.6CVE-2026-33517Mantisbt cross-site scripting vulnerabilityMantis Bug Tracker (MantisBT) is an open source issue tracker. In version 2.28.0, when deleting a Tag (tag_delete.php), improper escaping of its name…EPSS 0.35%8.6CVE-2026-33548Mantisbt cross-site scripting vulnerabilityMantis Bug Tracker (MantisBT) is an open source issue tracker. In version 2.28.0, improper escaping of tag names retrieved from History in Timeline (…EPSS 0.29%8.3CVE-2024-23830Mantisbt injection vulnerabilityMantisBT is an open source issue tracker. Prior to version 2.26.1, an unauthenticated attacker who knows a user's email address and username can hija…EPSS 0.96%8.1CVE-2009-20001Mantisbt insufficient session expiration vulnerabilityAn issue was discovered in MantisBT before 2.24.5. It associates a unique cookie string with each user. This string is not reset upon logout (i.e., t…EPSS 0.87%

Source: NIST National Vulnerability Database (record CVE-2014-7146), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.