CVE-2026-28085
Local File Inclusion Vulnerability in ThemeREX Mahogany
Publication date: 2026-03-05
Last updated on: 2026-03-05
Assigner: Patchstack
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| themerex | mahogany | to 2.9 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-98 | The PHP application receives input from an upstream component, but it does not restrict or incorrectly restricts the input before its usage in "require," "include," or similar functions. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2026-28085 is a Local File Inclusion (LFI) vulnerability found in the WordPress Mahogany Theme versions up to and including 2.9.
This vulnerability allows an unauthenticated attacker to include and display local files from the target website by exploiting improper control of filename parameters in PHP include/require statements.
As a result, sensitive information such as database credentials can be exposed.
How can this vulnerability impact me? :
[{'type': 'paragraph', 'content': 'Exploitation of this vulnerability can lead to the exposure of sensitive files on the affected website.'}, {'type': 'paragraph', 'content': 'This may include critical information like database credentials.'}, {'type': 'paragraph', 'content': "Depending on the website's configuration, an attacker could potentially take over the entire database."}, {'type': 'paragraph', 'content': 'The vulnerability is considered highly dangerous with a CVSS severity score of 8.1.'}] [1]
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
I don't know
How can this vulnerability be detected on my network or system? Can you suggest some commands?
I don't know
What immediate steps should I take to mitigate this vulnerability?
This vulnerability currently has no official patch available. However, Patchstack has released a mitigation rule that can be applied to block attacks targeting this Local File Inclusion issue in the Mahogany WordPress theme versions up to 2.9.
It is recommended to immediately apply this mitigation rule to protect affected websites until an official patch is released and tested.
Additionally, monitoring and restricting access to vulnerable theme files and ensuring proper security configurations can help reduce risk.