CVE-2026-28085
Published: 05 March 2026
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.
Mitigating Controls (NIST 800-53 r5)AI
Requires timely identification, reporting, and correction of the specific LFI flaw in the Mahogany WordPress theme, eliminating the vulnerability.
Mandates validation of user-supplied filenames before use in PHP include/require statements to block arbitrary local file inclusion.
Enforces secure PHP configuration settings, such as open_basedir restrictions, to limit the scope of file inclusions and mitigate LFI exploitation.
Security SummaryAI
CVE-2026-28085 is an Improper Control of Filename for Include/Require Statement in PHP Program vulnerability, described as PHP Remote File Inclusion but enabling PHP Local File Inclusion, in the ThemeREX Mahogany WordPress theme. This issue affects Mahogany versions from n/a through <= 2.9 and is associated with CWE-98. The vulnerability carries a CVSS v3.1 base score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating high severity due to network accessibility and significant impacts.
Remote unauthenticated attackers (PR:N) can exploit this vulnerability over the network (AV:N), though it requires high attack complexity (AC:H) and no user interaction (UI:N). Successful exploitation allows high impacts on confidentiality, integrity, and availability (C:H/I:H/A:H), potentially enabling attackers to include and execute arbitrary local PHP files, leading to server compromise such as code execution or data disclosure.
The Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/mahogany/vulnerability/wordpress-mahogany-theme-2-9-local-file-inclusion-vulnerability?_s_id=cve provides details on this Local File Inclusion vulnerability in the Mahogany WordPress theme version 2.9. Security practitioners should consult this reference for recommended mitigations.
Details
- CWE(s)
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
LFI vulnerability in public-facing WordPress theme exploited remotely (T1190), directly enabling arbitrary local file reads (T1005).