Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify WordPress site running Grecko ≤5.17
-
DeliveryCraft HTTP request with traversal payload to vulnerable theme parameter
-
ExploitTheme PHP include() resolves attacker-controlled path
-
ExecutionServer reads or executes targeted file
-
PersistExfiltrate wp-config secrets or run PHP payload
-
ImpactPivot to database and persistent webshell
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Command and Control The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target site must be running the ThemeRex Grecko WordPress theme at version 5.17 or earlier with the vulnerable include path reachable over HTTP (PR:N, UI:N per CVSS). High attack complexity (AC:H) indicates a meaningful limiter: exploitation likely depends on knowing or discovering the absolute on-disk path of the file to include, or on the theme being in a specific runtime state (e.g., a particular page template active, a specific shortcode rendered, or an admin-ajax action exposed without nonce). Conversion of file disclosure into code execution further requires that the attacker can place PHP-parseable content somewhere on the server's filesystem (uploads directory, log files with poisonable user-agent strings, session storage), which is not guaranteed on hardened installs. |
| Impact | The signals are mixed and should be read carefully. The CVSS 3.1 vector AV:N/AC:L… wait - the published vector is AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H, so exploitation is network-reachable and unauthenticated but flagged as high complexity, which usually means the attacker must win a race, know specific filesystem layout, or satisfy a non-default precondition. There is no EPSS score, no CISA KEV listing, and no public PoC referenced in the provided data, so this is not currently confirmed actively exploited. Against that, full C/I/A:H is plausible for an LFI that reaches executable PHP, and WordPress themes are mass-scanned by opportunistic actors once a Patchstack advisory is published, so latent risk is meaningful. Net: treat as a high-priority patch on any internet-facing site running Grecko ≤5.17, but it does not warrant emergency out-of-band response without further evidence of in-the-wild activity. |
| Exploit ScenarioDerived | A remote attacker scanning WordPress sites identifies one running the Grecko theme ≤5.17 and issues a crafted HTTP request to the vulnerable theme parameter, supplying a traversal path that points to wp-config.php or another sensitive PHP file. The server includes the file, leaking database credentials or, if the attacker can stage attacker-controlled content elsewhere on the host (uploaded media, poisoned logs), executing arbitrary PHP in the web server context. The AC:H rating suggests the attacker must first satisfy a non-trivial precondition such as knowing the absolute filesystem path or winning a state-dependent code path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 16, 2026
Unauthenticated local file inclusion in the ThemeRex Grecko WordPress theme versions 5.17 and earlier allows remote attackers to coerce the application into including arbitrary files from the server filesystem, potentially leading to sensitive file disclosure and PHP code execution where attacker-controlled content can be reached. The flaw is reachable without authentication over HTTP and was disclosed via Patchstack with no public exploit identified at time of analysis. CVSS is rated 8.1 with high attack complexity, indicating exploitation is feasible but not trivially automatable.
RemediationAI
No vendor-released patched version is identified in the provided data, so administrators should consult the ThemeRex vendor portal and the Patchstack advisory (https://patchstack.com/database/wordpress/theme/grecko/vulnerability/wordpress-grecko-theme-5-17-local-file-inclusion-vulnerability) for an updated build above 5.17 and upgrade as soon as one is published. In the interim, compensating controls include placing the site behind a WAF with rules that block directory-traversal sequences (../, encoded variants, php:// and data:// wrappers) on theme endpoints, hardening PHP by setting open_basedir to the WordPress document root and disabling allow_url_include, and restricting access to admin-ajax.php and theme template-loader endpoints by IP where feasible - note these controls may break legitimate theme features that legitimately load templates dynamically, so test before enforcing. Switching off the Grecko theme entirely is the most reliable mitigation if the site can tolerate it.
Affected VersionsENISA
Affected Packages
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
Grecko is a commercial WordPress theme distributed by ThemeRex (CPE cpe:2.3:a:themerex:grecko). The root cause is classified as CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program), commonly known as PHP Remote File Inclusion / Local File Inclusion. In WordPress themes this class of bug typically arises when a PHP include()/require() statement consumes a value derived from a request parameter (often via admin-ajax.php, a theme shortcode handler, or a template-loading helper) without normalising the path or restricting it to an allowlist of expected templates. An attacker who controls that parameter can traverse the filesystem to include arbitrary local PHP files, configuration data, or - if log poisoning, session files, or uploadable content is reachable - convert disclosure into PHP code execution within the web server process.
Know when Grecko 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
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Network-reachable unauthenticated LFI in a WordPress theme; AC:H reflects the need to know filesystem paths or satisfy a state precondition; full C/I/A:H assumes inclusion can be turned into PHP execution.
Primary rating from Vendor (Patchstack).
CVSS VectorVendor: Patchstack
DescriptionCVE.org
Unauthenticated Local File Inclusion in Grecko <= 5.17 versions.
Executive ViewAI
ThemeRex Grecko WordPress theme (versions 5.17 and earlier) contains an unauthenticated remote file inclusion vulnerability enabling attackers to steal sensitive data and compromise website integrity without requiring user credentials. Any organization deploying this theme is exposed to data theft and website takeover through simple HTTP requests. Urgent interim protections are required as no vendor patch is available.
No vendor-released patch identified at time of analysis. Implement WAF rules targeting file inclusion and path traversal patterns. Enable detailed logging for PHP execution and unexpected file access. Deploy file integrity monitoring on sensitive application files. Consider temporary theme disablement if business requirements allow. Restrict file system permissions to minimize unauthorized access scope.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2025-210177
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB