Skip to main content
Mallory
UnratedVulnerability

CVE-2026-47142: SQL Injection in MantisBT history_order Configuration

Updated 5 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS-Not scored
EPSS-30-day exploit probability
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
IdentifiersCVE-2026-47142CWE-89

CVE-2026-47142 is a SQL injection vulnerability in MantisBT affecting core/history_api.php. The flaw arises from insufficient neutralization of attacker-controlled SQL syntax in the history_order configuration value, which is incorporated into an ORDER BY clause. An administrator can set a crafted value that is later processed when users view issues containing history entries, causing the application to execute unintended SQL against the bug tracker database.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can expose sensitive data stored in the MantisBT database, including credentials, password hashes, API tokens, and private issue information. Because the malicious configuration is triggered when users access affected bug history views, the vulnerability can be used as a stored attack path. In deployments where the backing MySQL account has the FILE privilege, the SQL injection may also be escalated to remote code execution by writing attacker-controlled PHP content to a web-accessible location.

Mitigation

If you can’t patch tonight, do this now.

No vendor workaround short of upgrading is available. As a temporary risk-reduction measure, restrict administrative access, review and sanitize the history_order configuration value, and ensure the database account used by MantisBT does not have unnecessary privileges such as MySQL FILE; however, these measures do not replace patching.

Remediation

Patch, then assume compromise.

Upgrade MantisBT to version 2.28.4 or later, which contains the fix for this vulnerability.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
FAQ

Frequently asked questions

Is CVE-2026-47142 exploited in the wild?
As of Jul 16, 2026, Mallory has no reports of CVE-2026-47142 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-47142?
As of Jul 16, 2026, Mallory has found no public exploit for CVE-2026-47142.
Is there a patch for CVE-2026-47142?
Upgrade MantisBT to version 2.28.4 or later, which contains the fix for this vulnerability.
Activity feed

Recent activity

No public activity tracked yet. Mallory keeps watching.

View more in app →

No public activity observed for this vulnerability.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.