CVE-2026-28051
Received Received - Intake
Local File Inclusion in Yacht Rental PHP ThemeREX

Publication date: 2026-03-05

Last updated on: 2026-03-05

Assigner: Patchstack

Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in ThemeREX Yacht Rental yacht-rental allows PHP Local File Inclusion.This issue affects Yacht Rental: from n/a through <= 2.6.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-03-05
Last Modified
2026-03-05
Generated
2026-06-16
AI Q&A
2026-03-05
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
themerex yacht_rental to 2.6 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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 Quick Actions
Instant insights powered by AI
Executive Summary

CVE-2026-28051 is a Local File Inclusion (LFI) vulnerability in the WordPress Yacht Rental Theme versions up to and including 2.6. It allows an unauthenticated attacker to include and display local files from the target website.

This means the attacker can access sensitive files on the server, such as configuration files or database credentials, by exploiting improper control of filenames in PHP include or require statements.

Impact Analysis

[{'type': 'paragraph', 'content': 'Exploitation of this vulnerability can lead to exposure of sensitive 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 has a high severity score (CVSS 8.1), indicating a high risk and likelihood of exploitation.'}] [1]

Compliance Impact

I don't know

Detection Guidance

[{'type': 'paragraph', 'content': 'CVE-2026-28051 is a Local File Inclusion (LFI) vulnerability affecting the WordPress Yacht Rental Theme up to version 2.6. Detection typically involves monitoring for attempts to exploit the LFI by including local files via URL parameters or other input vectors.'}, {'type': 'paragraph', 'content': 'While no specific commands are provided in the available resources, common detection methods include reviewing web server logs for suspicious requests containing file inclusion patterns such as "../" sequences or attempts to access sensitive files like /etc/passwd or configuration files.'}, {'type': 'paragraph', 'content': 'Additionally, applying Patchstack’s mitigation rule can help block attack attempts and may provide logging or alerts for such attempts.'}] [1]

Mitigation Strategies

Since no official patch is currently available for the Yacht Rental theme, the immediate recommended step is to apply the mitigation rule provided by Patchstack to block attacks targeting this vulnerability.

Users are strongly advised to implement this mitigation immediately to protect their websites from potential exploitation.

Monitoring and restricting access to sensitive files and ensuring proper input validation can also help reduce risk until an official patch is released.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-28051. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart