Gardis Theme CVE-2025-49942
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify Gardis include endpoint
-
DeliverySend crafted filename parameter
-
ExploitTrigger PHP local file inclusion
-
ExecutionLoad poisoned/log/wrapper path
-
ImpactExecute PHP in site context
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 | Exploitation requires the Gardis theme (versions up to and including 1.2.13) to be installed and active, and the attacker must reach the specific code path that passes unsanitized input into a PHP include/require statement. No authentication is required (PR:N) and no user interaction is needed (UI:N), but the CVSS AC:H reflects that converting the local file inclusion into the rated full code-execution/CIA impact depends on additional conditions - typically a writable or attacker-influenceable local path (log poisoning, an upload, or an available PHP stream wrapper) to be included and executed. Absent such a chainable local target, impact is more likely limited to local file disclosure. |
| Impact | This is a genuinely high-severity-rated flaw (CVSS 8.1) in a niche commercial WordPress theme, but the real-world urgency is tempered by several signals. The CVSS vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) shows remote, unauthenticated reachability with full CIA impact, which is why the base score is high. However, the AC:H (high attack complexity) is the decisive moderating factor: the attacker must satisfy non-trivial preconditions to turn a PHP include into actual code execution and full compromise. CWE-98 nominally covers Remote File Inclusion, but the description explicitly scopes the real behavior to PHP Local File Inclusion ('allows PHP Local File Inclusion'), meaning the C:H/I:H/A:H impact typically depends on an LFI-to-RCE chain (e.g. including a poisoned log file, an uploaded file, or a PHP wrapper) rather than straightforward remote code pull - note this CWE-vs-description tension. There is no EPSS score, no CISA KEV listing, and no public exploit provided, so this is 'no public exploit identified at time of analysis' rather than an actively-exploited priority. SSVC inputs (exploitation status, automatable, technical impact) are not supplied in the feed. Net: a real vulnerability worth patching, but current exploitation likelihood is low/unproven and the high CVSS is driven by worst-case impact assumptions rather than demonstrated in-the-wild use. |
| Exploit ScenarioDerived | A remote, unauthenticated attacker identifies a Gardis theme endpoint that passes attacker-controlled input into a PHP include/require statement and supplies a crafted filename value to load a local file of their choosing. Because achieving the rated full impact requires chaining LFI to code execution (AC:H) - for example pointing the include at a log file or temporary upload seeded with PHP - successful exploitation is conditional rather than trivial. No public proof-of-concept exploit is identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 01, 2026
Local file inclusion in the AncoraThemes Gardis WordPress theme (versions up to and including 1.2.13) allows unauthenticated remote attackers to include and potentially execute arbitrary local files through an improperly controlled include/require statement. The flaw carries a CVSS 8.1 (AV:N/AC:H/PR:N/UI:N), but achieving full code execution depends on additional conditions such as a writable local target or an available PHP stream wrapper; otherwise the impact is limited to local file disclosure. No public exploit code identified at time of analysis, and the urgency is tempered by the theme's niche commercial nature and the high attack complexity.
RemediationAI
No vendor-released patch identified at time of analysis; monitor the Patchstack advisory (https://patchstack.com/database/Wordpress/Theme/gardis/vulnerability/wordpress-gardis-theme-1-2-13-local-file-inclusion-vulnerability?_s_id=cve) for an updated version. If the Gardis theme is not business-critical, the most reliable mitigation is to deactivate and remove it. If it must remain, deploy a web application firewall rule to block path-traversal patterns (e.g., ../, php://filter, php://input) in requests to theme PHP files, understanding that this may cause false positives on legitimate traffic. Additionally, ensure the web server user has minimal read permissions on sensitive files such as wp-config.php and /etc/passwd to reduce the impact of local file disclosure. Disabling allow_url_include in php.ini prevents remote inclusion but does not stop local file inclusion. Updating to a patched version, once released, is the only complete fix; until then, these compensating controls carry trade-offs in functionality and maintenance overhead.
Affected ProductsAI
The AncoraThemes Gardis WordPress theme, all versions from n/a through 1.2.13, is affected. No CPE string was provided in the available data. The vulnerability is tracked by the Patchstack advisory at https://patchstack.com/database/Wordpress/Theme/gardis/vulnerability/wordpress-gardis-theme-1-2-13-local-file-inclusion-vulnerability?_s_id=cve. Sites are impacted only if the Gardis theme is installed and active; the specific code path that passes unsanitized input into an include/require statement must be reachable by the attacker. The theme is a commercial product from AncoraThemes, which may limit its deployment footprint and reduce mass-exploitation likelihood.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-98 describes improper control of a filename used in a PHP include/require statement, which here manifests as a local file inclusion (LFI) vulnerability in the Gardis WordPress theme. The theme passes unsanitized user-supplied input to a PHP file-inclusion construct, allowing an attacker to traverse the filesystem and include local files. The CVSS vector (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) confirms remote exploitation without authentication or user interaction, but the high attack complexity (AC:H) reflects that converting LFI into the rated full confidentiality, integrity, and availability impact requires a chainable local file-such as a poisoned log, an uploaded file, or a PHP stream wrapper-to be included and executed. Absent that additional condition, the practical effect is typically sensitive file disclosure rather than direct code execution. The CWE title mentions 'PHP Remote File Inclusion', but the description and assessment clarify the issue is local file inclusion; remote inclusion would additionally require allow_url_include to be enabled, which is uncommon.
Know when PHP 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
Remote unauthenticated reachable include param (AV:N/PR:N/UI:N); AC:H because full impact needs an LFI-to-RCE chain via a controllable local path; full CIA once code runs in site context.
Primary rating from Vendor (patchstack).
CVSS VectorVendor: patchstack
DescriptionCVE.org
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in AncoraThemes Gardis gardis allows PHP Local File Inclusion.This issue affects Gardis: from n/a through <= 1.2.13.
Executive ViewAI
The AncoraThemes Gardis WordPress theme, used on sites running versions up to 1.2.13, contains a high-severity flaw that lets unauthenticated attackers access local files and, under specific conditions, execute code. Because no vendor patch is available, any organization hosting this theme faces potential data exposure or site compromise until it is removed or mitigated. Leadership should prioritize identifying affected web properties and deciding whether to temporarily disable the theme or accelerate replacement.
No vendor-released patch identified at time of analysis; interim mitigations include deactivating the Gardis theme where feasible, restricting access to theme files, deploying WAF rules to block LFI/path traversal attempts, disabling allow_url_include, setting open_basedir, and monitoring logs for exploitation indicators.
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.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
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
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
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
NVD
CVE.org
EPSS
VulDB
GitHub PoC
Exploit-DB