Skip to main content

Restaurt Theme CVE-2026-22327

| EUVDEUVD-2026-37650 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. Recon
    Identify WordPress site running Restaurt ≤1.0.4
  2. Delivery
    Register Subscriber account via wp-login
  3. Exploit
    Authenticate and obtain session cookie
  4. Install
    POST PHP webshell to vulnerable theme upload endpoint
  5. C2
    Request uploaded shell URL
  6. Execute
    Execute commands as web user
  7. Impact
    Pivot to full site/host compromise

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 target WordPress site to have the Restaurt theme version 1.0.4 or earlier installed and active, (2) the attacker to hold a valid Subscriber-or-higher account on the site - per CVSS PR:L this is authenticated exploitation, and (3) the site to either allow open user registration or for the attacker to obtain Subscriber credentials by other means. No user interaction from an administrator is required (UI:N), and the attack is reachable over the network against the standard WordPress HTTP interface (AV:N). The vulnerability does not require any non-default theme configuration based on available data.

Impact

The CVSS 3.1 vector AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H scores 9.9 because the Subscriber role is trivially obtainable on any site that allows registration, and successful upload of a PHP file typically yields full server compromise (scope change from theme to underlying host). However, real-world risk is moderated by several factors not reflected in the score: the site must permit user registration (many WordPress sites disable it), Restaurt is a niche commercial theme with limited install base, and no EPSS score, KEV listing, or public POC was provided in the intelligence sources - Patchstack is the sole reporter. The headline 9.9 should therefore be treated as worst-case for sites with open registration running this theme, not as evidence of broad active exploitation.

Exploit ScenarioDerived

An attacker registers a free Subscriber account on a WordPress site running Restaurt ≤1.0.4, then sends a crafted request to the theme's vulnerable upload handler containing a PHP webshell disguised or unfiltered by extension. After the file lands in a web-accessible directory, the attacker browses to the uploaded shell URL to execute arbitrary commands as the web server user, achieving full site takeover.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
No patch listed yet 0.5% 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 Restaurt WordPress theme versions 1.0.4 and earlier allows authenticated users with Subscriber-level privileges to upload arbitrary files, potentially leading to remote code execution on the WordPress host. The CVSS 9.9 score reflects scope-changed impact across confidentiality, integrity, and availability, though no public exploit identified at time of analysis and the vulnerability is not currently listed in CISA KEV.

RemediationAI

No vendor-released patch identified at time of analysis - the Patchstack advisory documents the flaw in versions ≤1.0.4 but the provided data does not name a fixed release; site operators should check ZozoThemes for an updated Restaurt version newer than 1.0.4 and apply it, monitoring the advisory at https://patchstack.com/database/wordpress/theme/restaurt/vulnerability/wordpress-restaurt-theme-1-0-4-arbitrary-file-upload-vulnerability for fix confirmation. As compensating controls until a patch is confirmed, disable open user registration in WordPress (Settings → General → uncheck 'Anyone can register') which removes the primary path to acquiring the Subscriber role, deploy a virtual patch via Patchstack/Wordfence WAF rules targeting the vulnerable upload endpoint, and add a web-server rule denying execution of PHP files within wp-content/uploads (trade-off: breaks any legitimate plugin that intentionally serves PHP from uploads, which is rare).

Affected VersionsENISA

Restaurt n/a ≤1.0.4

Affected Packages

euvd restaurt 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

Restaurt is a commercial WordPress theme developed by ZozoThemes (CPE cpe:2.3:a:zozothemes:restaurt) and typically deployed on restaurant/hospitality sites. The vulnerability is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type), meaning the theme exposes an upload handler that does not adequately validate file extension, MIME type, or content before writing to the WordPress uploads directory. Because WordPress Subscriber is the lowest authenticated role (intended for commenters), upload functionality should never be reachable to it - the flaw most likely lies in an AJAX endpoint or REST route registered by the theme that lacks a proper capability check (e.g., missing current_user_can() or relying solely on a nonce).

Know when Restaurt 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/AC:L), Subscriber auth required (PR:L), no admin interaction (UI:N), and arbitrary PHP upload escapes the theme sandbox to compromise the host (S:C, C/I/A:H).

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 Restaurt <= 1.0.4 versions.

Executive ViewAI

Why It Matters

The Restaurt WordPress theme (versions 1.0.4 and earlier) enables subscriber-level users to upload arbitrary files, creating a critical path to code execution on affected web servers. Organizations using this theme face potential compromise of their WordPress infrastructure and backend systems; no vendor patch exists to address this gap. Immediate mitigation is required, as this vulnerability bypasses normal access controls available to low-privilege user accounts common in many WordPress deployments.

Business Impact: Severe
Compensating Controls

Deactivate the Restaurt theme and replace with alternative WordPress theme; restrict Subscriber-level user access and privileges; implement upload validation at the application layer to block executable file types (.php, .phtml, .exe, .sh, etc.); move upload directories outside the web-accessible root; deploy WAF signatures to detect POST requests with suspicious file upload patterns; enable audit logging on all file operations; perform weekly file integrity monitoring on WordPress core and theme directories.

Threat Intelligence Overview

EPSS Score
0.5%
Top 63% 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.5%
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