Skip to main content

Gamic WordPress Theme CVE-2025-69157

HIGH
PHP Remote File Inclusion (CWE-98)
2026-06-17 Patchstack
8.1
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 Gamic ≤1.15
  2. Delivery
    Send crafted request with traversal payload
  3. Exploit
    Trigger unsanitized PHP include
  4. Install
    Read wp-config.php and secrets
  5. C2
    Poison log or session file
  6. Execute
    Re-include to execute PHP
  7. Impact
    Full site compromise

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 WordPress site must have the ThemeRex Gamic theme installed and active at version 1.15 or earlier, and the vulnerable theme endpoint must be reachable over HTTP/HTTPS (no authentication is required per CVSS PR:N). The CVSS AC:H rating implies meaningful limiting factors - likely that the attacker must know or brute-force the specific parameter name and supply a payload that bypasses partial filtering, and escalation from file disclosure to code execution further requires a PHP server configuration where allow_url_include is enabled or where an attacker-controlled file (log, session, upload) exists at a predictable path. Sites that have replaced or deactivated the Gamic theme, or that enforce strict open_basedir/WAF rules against traversal sequences, are not exploitable through this vector.

Impact

The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/C:H/I:H/A:H, 8.1 High) describes an unauthenticated network-reachable bug with high attack complexity and full CIA impact, which is consistent with an LFI that under some configurations can yield code execution but requires non-trivial conditions (e.g., reaching an includable sink, controlling log/session content, or chaining a wrapper). EPSS data was not provided, the vulnerability is not on the CISA KEV list, and no POC reference was supplied, so real-world risk is currently driven by exposure (any internet-facing WordPress site running this theme) rather than confirmed mass exploitation. The single reference is a Patchstack advisory; no independent NVD CPE breadth, exploit code, or vendor advisory URL is provided, so some operational details (exact vulnerable parameter, patched version) must be verified directly with ThemeRex or Patchstack before relying on the assessment.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted HTTP GET request to a Gamic theme endpoint with a path-traversal payload in the vulnerable parameter (for example .../../../../wp-config.php or a php:// wrapper), causing the PHP include sink to read and return the file contents. The attacker harvests database credentials and WordPress secret keys from wp-config.php, then optionally chains the LFI with log or session file poisoning to achieve code execution. No public exploit was identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
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

Local file inclusion in the ThemeRex Gamic WordPress theme versions 1.15 and earlier allows unauthenticated remote attackers to coerce the PHP application into including arbitrary files via crafted parameters. Successful exploitation can expose sensitive configuration data (including wp-config.php) and, depending on server configuration, may escalate to remote code execution through log poisoning or session-file inclusion. No public exploit identified at time of analysis, and the issue has not been listed in CISA KEV.

RemediationAI

Upstream fix available per Patchstack advisory; released patched version not independently confirmed in the supplied data, so administrators should consult the Patchstack entry at https://patchstack.com/database/wordpress/theme/gamic/vulnerability/wordpress-gamic-theme-1-15-local-file-inclusion-vulnerability and upgrade Gamic to the version above 1.15 listed there once verified with ThemeRex. Until a confirmed patched build is installed, deploy a WAF rule (Patchstack vPatch, Wordfence, or equivalent) that blocks requests containing path-traversal sequences ('../', encoded variants) or absolute paths in theme-handled query parameters, ensure php.ini has allow_url_include=Off and open_basedir restricting PHP to the WordPress directory tree (note: open_basedir can break plugins that legitimately access /tmp), and restrict read permissions on wp-config.php and log/session directories that an LFI could weaponize. If the site does not strictly need this theme, switching themes is the cleanest mitigation.

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

Gamic is a commercial WordPress theme distributed by ThemeRex and used to build gaming/community sites. The flaw is classified as CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program - 'PHP Remote File Inclusion'), meaning a user-controlled value reaches a PHP include/require call without sufficient sanitization or allow-listing. CPE cpe:2.3:a:themerex:gamic:*:*:*:*:*:*:*:* indicates all 1.x branches up to 1.15 are in scope. Although the CWE name references RFI, in modern PHP deployments allow_url_include is typically disabled, so the practical exploitation is local file inclusion against files already present on the web server.

Know when Gamic 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 8.1 HIGH
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.0 HIGH

Network-reachable and unauthenticated (AV:N/PR:N/UI:N); AC:H because LFI-to-RCE requires non-default conditions; confidentiality high (file disclosure), integrity/availability only low absent confirmed RCE.

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

Primary rating from Vendor (Patchstack).

CVSS VectorVendor: Patchstack

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

DescriptionCVE.org

Unauthenticated Local File Inclusion in Gamic <= 1.15 versions.

Executive ViewAI

Why It Matters

The ThemeRex Gamic WordPress theme (versions 1.15 and earlier) contains an unauthenticated local file inclusion vulnerability that enables remote attackers to read arbitrary server files, including wp-config.php containing database credentials and authentication secrets. Organizations using this theme face immediate risk of credential theft, data exfiltration, and potential remote code execution compromising site and database integrity.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations if immediate theme removal is not feasible: (1) Block public access to wp-config.php via .htaccess (Deny from all) or Web Application Firewall rules, (2) Deploy WAF rules blocking requests containing path traversal patterns ('../') and sensitive file references ('wp-config', 'passwd'), (3) Relocate wp-config.php to directory above web root (WordPress 5.2+ compatible), (4) Enforce restrictive file permissions (600 on wp-config.php, 755 on directories), (5) Monitor web server and PHP logs for exploitation attempts, (6) Disable PHP execution in upload and temp directories via .htaccess.

Threat Intelligence Overview

EPSS Score
0.4%
Top 65% exploitable
Data Quality
5 sources
Confidence: Medium
NVD CVE.org EPSS Vulnrichment VulDB

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 HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
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
High
Technical Impact
Total

Priority Score

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

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.

Affected Products (CPE)CVE.org

cpe:2.3:a:themerex:gamic:*:*:*:*:*:*:*:*

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