Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeREX Mahogany mahogany allows PHP Local File Inclusion.This issue affects Mahogany: from n/a through <= 2.9.
Published: 2026-03-05
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: Local File Inclusion
Action: Patch Now
AI Analysis

Impact

An improper check of the filename used in a PHP include/require statement allows a local file inclusion in the Mahogany theme. Exploiting this flaw could give an attacker ability to read sensitive files or, if the included file contains PHP code, execute arbitrary code on the server, compromising confidentiality, integrity, and availability.

Affected Systems

The vulnerability affects the Mahogany theme from ThemeREX. All releases from the earliest available through version 2.9 are impacted. No specific sub‑versions are listed; the fix applies to any build older than 3.0.

Risk and Exploitability

The CVSS base score of 8.1 indicates a high severity. The EPSS score is below 1 %, suggesting a low current exploitation probability, and the vulnerability is not listed in the CISA KEV catalog. Because the flaw requires local file inclusion, the attack vector is likely local or via a trusted user context, though it could be leveraged by an attacker who gains local access or is able to place a malicious file in a directory accessible to the include statement. Given the potential to execute arbitrary PHP code, administrators should treat the flaw as serious.

Generated by OpenCVE AI on April 15, 2026 at 22:56 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Mahogany theme to a version newer than 2.9, which contains the fix for the local file inclusion flaw.
  • If an upgrade cannot be performed immediately, review the theme’s include/require usage and replace any unsanitized file path references with safe, whitelist‑based checks, or temporarily remove the vulnerable code block.
  • Restrict file permissions on the theme directory so that only the web server user can write to it, and monitor logs for unusual include attempts or evidence of LFI exploitation.

Generated by OpenCVE AI on April 15, 2026 at 22:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Mar 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Themerex
Themerex mahogany
Wordpress
Wordpress wordpress
Vendors & Products Themerex
Themerex mahogany
Wordpress
Wordpress wordpress

Thu, 05 Mar 2026 19:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 05 Mar 2026 06:15:00 +0000

Type Values Removed Values Added
Description Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeREX Mahogany mahogany allows PHP Local File Inclusion.This issue affects Mahogany: from n/a through <= 2.9.
Title WordPress Mahogany theme <= 2.9 - Local File Inclusion vulnerability
Weaknesses CWE-98
References

Subscriptions

Themerex Mahogany
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-01T14:15:39.788Z

Reserved: 2026-02-25T12:13:51.943Z

Link: CVE-2026-28085

cve-icon Vulnrichment

Updated: 2026-03-05T19:01:04.149Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-03-05T06:16:42.380

Modified: 2026-03-05T20:16:14.517

Link: CVE-2026-28085

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-15T23:00:10Z

Weaknesses