Yacht Rental CVE-2026-28051
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
5DescriptionCVE.org
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.
AnalysisAI
Local file inclusion in ThemeREX Yacht Rental theme versions through 2.6 enables remote attackers to read arbitrary files on the web server without authentication. The vulnerability stems from improper validation of include/require statements, classified as CWE-98 (PHP Remote File Inclusion). While CVSS scores 8.1 (High), the low EPSS score (0.15%, 36th percentile) suggests minimal observed exploitation activity. Patchstack audit team identified and reported this WordPress theme vulnerability, which affects default configurations requiring no special prerequisites beyond network access to the WordPress installation.
Technical ContextAI
This vulnerability exists in the Yacht Rental WordPress theme developed by ThemeREX, specifically in PHP code handling file inclusion operations. CWE-98 indicates improper control of filename parameters passed to PHP's include() or require() functions, allowing attackers to manipulate file paths. While classified as 'PHP Remote File Inclusion' in the CWE title, the tags and description confirm this is actually Local File Inclusion (LFI), meaning attackers can read existing files on the server rather than inject remote malicious code. The vulnerable code likely fails to sanitize user-supplied input before using it in file path construction, a common flaw in WordPress themes that dynamically load template files or configuration data. The WordPress ecosystem context is critical: themes run with the web server's privileges and have access to wp-config.php (containing database credentials), user data, and potentially other sensitive files.
Affected ProductsAI
ThemeREX Yacht Rental WordPress theme versions 2.6 and earlier are confirmed vulnerable per Patchstack database entry. The version range 'from n/a through 2.6' indicates all released versions up to and including 2.6 contain the flaw, with the initial vulnerable version unknown. This is a premium WordPress theme used for boat rental, yacht charter, and marine services websites. Organizations should check their WordPress installations at wp-content/themes/yacht-rental/ for version information, typically found in style.css header comments. The Patchstack reference (https://patchstack.com/database/Wordpress/Theme/yacht-rental/vulnerability/wordpress-yacht-rental-theme-2-6-local-file-inclusion-vulnerability) provides official vulnerability documentation and may contain updated remediation guidance.
RemediationAI
Immediate action required: update Yacht Rental theme to version 2.6.1 or later if available, verifying fix availability through ThemeREX support channels or the Patchstack advisory at the reference URL. Check ThemeREX official website or WordPress theme update mechanisms for patched releases. If no patch is immediately available, implement these compensating controls with noted trade-offs: (1) Temporarily deactivate the Yacht Rental theme and switch to a default WordPress theme like Twenty Twenty-Four until patch deployment-this breaks site functionality but eliminates exposure. (2) Implement web application firewall (WAF) rules blocking requests containing directory traversal patterns (../, %2e%2e%2f, absolute paths like /etc/passwd) to theme PHP files-may cause false positives for legitimate file upload features. (3) Restrict WordPress admin access to trusted IP addresses via .htaccess or firewall rules-reduces attack surface but impacts remote administration. (4) Enable PHP open_basedir restrictions in php.ini limiting file access to WordPress directory structure-prevents reading files outside webroot but requires server configuration access. Monitor web server logs for suspicious requests to yacht-rental theme files containing path manipulation attempts. Since Patchstack reported this vulnerability, their vPatch service may offer virtual patching for subscribers as temporary protection.
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