CVE-2026-28085

WordPress Mahogany theme <= 2.9 - Local File Inclusion vulnerability

Published Mar 5, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
First Time appeared Themerex
Themerex mahogany
Wordpress
Wordpress wordpress
Vendors & Products Themerex
Themerex mahogany
Wordpress
Wordpress wordpress
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'}

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
Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 5:41 PM
Reserved
Feb 25, 2026, 12:13 PM
Status
Deferred
Published
Mar 5, 2026, 6:16 AM
Modified
Jun 17, 2026, 10:28 AM