Skip to main content

Restaurant Zone CVE-2026-40746

| EUVDEUVD-2026-37598 CRITICAL
Unrestricted Upload of File with Dangerous Type (CWE-434)
2026-06-17 Patchstack
9.9
CVSS 3.1 · Vendor: Patchstack
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Register Subscriber account on target site
  2. Delivery
    Authenticate to WordPress
  3. Exploit
    POST PHP payload to vulnerable theme upload handler
  4. Execution
    Request uploaded file URL
  5. Persist
    Execute webshell as web server user
  6. Impact
    Read wp-config.php and pivot to database/host

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File type validation, storage isolation
MITRE ATT&CK

2 techniques across 2 tactics: Command and Control, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires (1) the Restaurant Zone theme version 0.7.8 or earlier to be active on the target WordPress site, and (2) the attacker to hold at least Subscriber-level authentication - trivially obtained on any site where 'Anyone can register' is enabled (a common default for membership, comment, or WooCommerce sites) but a hard blocker on locked-down installations with registration disabled. No user interaction by an administrator is needed and exploitation is performed over the network against the standard WordPress HTTP(S) interface; the scope-change in the CVSS vector reflects that code executed via the upload escapes the WordPress application boundary into the underlying web server context.

Impact

Signals are mixed but lean toward genuine priority on any site running this theme with open registration. The CVSS vector AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H captures a network-reachable, low-complexity, low-privilege flaw with scope change and total CIA impact - the realistic worst case for a WordPress plugin/theme bug. EPSS data was not supplied, and the CVE is not in CISA KEV, so there is no evidence of mass exploitation yet; however, Subscriber-to-RCE arbitrary file upload bugs in WordPress extensions are routinely weaponised within days of disclosure by botnets that scrape Patchstack and wpscan feeds. The Patchstack advisory is the sole source: no independent vendor advisory, EPSS score, KEV entry, or POC link is present in the input, so exploitation-likelihood scoring is inferred rather than confirmed.

Exploit ScenarioDerived

An attacker registers a free account on a target WordPress site running Restaurant Zone, receiving the default Subscriber role; they then authenticate and POST a PHP webshell to the vulnerable theme upload endpoint, which accepts the file and writes it to a predictable URL under wp-content. Requesting that URL executes the shell under the web server user, yielding interactive command execution, database credential theft from wp-config.php, and pivot opportunities into the hosting environment.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 17, 2026

Arbitrary file upload in the Restaurant Zone WordPress theme through version 0.7.8 allows authenticated attackers with only Subscriber-level privileges to upload arbitrary files to the underlying server, leading to remote code execution and full site compromise. The CVSS 3.1 score of 9.9 reflects the scope-changing impact achievable from a minimally privileged account; no public exploit is identified at time of analysis and the issue is not currently listed in CISA KEV.

RemediationAI

No vendor-released patch identified at time of analysis - the input data provides no fixed version, only an upper-bound affected range of <= 0.7.8 via Patchstack (https://patchstack.com/database/wordpress/theme/restaurant-zone/vulnerability/wordpress-restaurant-zone-theme-0-7-8-arbitrary-file-upload-vulnerability). Until themagnifico52 ships a fixed release, the most effective compensating control is to deactivate and replace the Restaurant Zone theme, which will break the site's current presentation layer but eliminates the vulnerable code path entirely. If removal is not acceptable, disable open user registration (Settings > General > 'Anyone can register' unchecked) to remove the Subscriber prerequisite - note this blocks legitimate self-service signups; additionally, place a WAF rule or web-server deny rule blocking POST requests to the theme's upload endpoint and forbid execution of PHP inside wp-content/uploads via an .htaccess or nginx location block, accepting that any plugin that legitimately writes PHP there will break. Audit wp-content/uploads and the theme directory for unexpected PHP, .phtml, .phar, or double-extension files written since the theme was installed.

Affected VersionsENISA

Restaurant Zone n/a ≤0.7.8

Affected Packages

euvd restaurant_zone no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Restaurant Zone is a commercial WordPress theme distributed by themagnifico52 (CPE cpe:2.3:a:themagnifico52:restaurant_zone) targeted at restaurant and food-service sites. The root cause is CWE-434 (Unrestricted Upload of File with Dangerous Type): a theme-exposed upload handler is reachable to users holding the WordPress Subscriber role - the lowest authenticated tier, granted to anyone who can register - and fails to validate file type, extension, or MIME before writing the file into a web-accessible location under wp-content. Because WordPress executes PHP files placed inside its document root, dropping a .php payload through such a handler converts a file write primitive directly into code execution under the web server account.

Know when Restaurant Zone gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Patchstack) PRIMARY 9.9 CRITICAL
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
vuln.today AI 9.9 CRITICAL

Network-reachable WordPress endpoint (AV:N), no special timing (AC:L), Subscriber account required (PR:L), no admin interaction (UI:N); webshell escapes WordPress sandbox to OS (S:C) with full CIA impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

DescriptionCVE.org

Subscriber Arbitrary File Upload in Restaurant Zone <= 0.7.8 versions.

Executive ViewAI

Why It Matters

The Restaurant Zone WordPress theme (versions 0.7.8 and earlier) contains a critical vulnerability allowing users with Subscriber-level site access to upload and execute malicious code, resulting in complete website takeover. Organizations using this theme should treat their WordPress installations as actively at-risk for data breach, business disruption, and regulatory exposure. Immediate remediation is required to prevent exploitation of legitimate user credentials.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Immediately deactivate and uninstall Restaurant Zone theme from all WordPress installations; (2) Migrate to an actively maintained, security-audited WordPress theme; (3) Remove or restrict file upload capabilities from Subscriber role via WordPress user settings; (4) Deploy Web Application Firewall rules to block uploads to wp-content/uploads and wp-admin directories; (5) Implement file integrity monitoring on wp-content/uploads with real-time alerting; (6) Enable comprehensive WordPress activity logging and audit all user actions; (7) Review and minimize number of Subscriber-level accounts on each WordPress site.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
Very High
Technical Impact
Total

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +50
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Malicious file upload attacks exploit insufficient validation when web applications accept user-provided files.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy