Mahogany theme CVE-2026-28085
HIGHSeverity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Lifecycle Timeline
4DescriptionCVE.org
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.
AnalysisAI
Local file inclusion in ThemeREX Mahogany WordPress theme versions through 2.9 enables remote unauthenticated attackers to read arbitrary files from the web server filesystem via manipulated PHP include/require statements. While classified as high-severity (CVSS 8.1), real-world exploitation risk appears moderate given the EPSS score of 0.15% (36th percentile) and high attack complexity rating. No active exploitation or public exploit code identified at time of analysis. Patchstack security audit identified and disclosed this vulnerability.
Technical ContextAI
This vulnerability stems from improper validation of file paths in PHP include() or require() statements within the Mahogany WordPress theme (CWE-98: PHP Remote/Local File Inclusion). Despite the CWE title referencing 'remote file inclusion', the tags and CVSS scope (S:U) indicate this is a local file inclusion issue. The theme likely accepts user-controlled input for dynamic file inclusion without proper sanitization, allowing directory traversal sequences or path manipulation. WordPress themes running on PHP servers are particularly susceptible when file paths are constructed from GET/POST parameters, cookies, or other external input sources without strict allowlisting or canonicalization.
Affected ProductsAI
ThemeREX Mahogany WordPress theme versions from earliest release through version 2.9 are confirmed vulnerable per Patchstack database. The CPE data is not provided, but the vulnerability affects WordPress installations running this commercial theme. Patchstack advisory available at https://patchstack.com/database/Wordpress/Theme/mahogany/vulnerability/wordpress-mahogany-theme-2-9-local-file-inclusion-vulnerability (reference ID cve). Organizations should inventory WordPress sites and identify any using Mahogany theme version 2.9 or earlier.
RemediationAI
Upgrade the Mahogany WordPress theme to version 2.9.1 or later if available, verifying the fixed version directly with ThemeREX or via the Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/mahogany/vulnerability/wordpress-mahogany-theme-2-9-local-file-inclusion-vulnerability. If an updated theme version is not immediately available, implement compensating controls: disable the Mahogany theme entirely and switch to a maintained alternative theme; configure web application firewall (WAF) rules to block requests containing directory traversal sequences (../, ..\ , %2e%2e%2f) in URL parameters and POST bodies targeting theme files; restrict PHP open_basedir directive to limit file access scope; review web server logs for suspicious file access patterns targeting wp-content/themes/mahogany/ paths. Note that WAF-based mitigations may cause false positives with legitimate file uploads or theme customization features and should be tested in staging environments first.
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-98 – PHP Remote File Inclusion
View allShare
External POC / Exploit Code
Leaving vuln.today