Description
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.
Published: 2025-12-18
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Gardis WordPress theme contains an improper control of the filename used in an include/require statement, creating a Local File Inclusion flaw that can allow an attacker to read arbitrary files within the site’s filesystem. This weakness, classified as CWE‑98, may enable disclosure of sensitive configuration data and, in some scenarios, the execution of arbitrary code. The CVSS score of 8.1 signals a high severity impact, while the EPSS value of less than 1% indicates that, as of now, the probability of exploitation remains low.

Affected Systems

The vulnerability affects the AncoraThemes Gardis theme for WordPress, specifically all releases from the earliest available version up to and including 1.2.13. No specific minimum version is listed, so every deployed version of Gardis older than 1.2.14 is at risk.

Risk and Exploitability

Since the flaw arises from the way Gardis processes include paths, the likely attack vector is a remote request to a WordPress page that invokes the vulnerable include logic, with the attacker controlling the filename parameter. The attacker would need network access to the WordPress instance and the ability to overwrite or influence the path used in the include/require call; if the attack succeeds, they could read files such as wp-config.php or, if the include is executed in a writable context, upload and execute malicious PHP code. Because the EPSS is currently below 1% and the issue is not listed in KEV, it is not yet widely exploited, but the high CVSS score warrants prompt action.

Generated by OpenCVE AI on April 29, 2026 at 15:55 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest Gardis theme update (≥ 1.2.14) which removes the vulnerable include logic.
  • If an immediate update cannot be applied, temporarily disable the theme’s file inclusion feature by removing or commenting out the vulnerable include/require statements or by switching to another WordPress theme until a patch is available.
  • Harden file permissions on the WordPress installation so that non‑critical PHP files cannot be accessed or modified by remote users, and restrict PHP’s open_basedir setting to prevent traversal to protected directories.

Generated by OpenCVE AI on April 29, 2026 at 15:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Jan 2026 15:30:00 +0000


Tue, 20 Jan 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 20 Jan 2026 14:45:00 +0000


Fri, 19 Dec 2025 09:30:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Thu, 18 Dec 2025 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Thu, 18 Dec 2025 07:45:00 +0000

Type Values Removed Values Added
Description 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.
Title WordPress Gardis theme <= 1.2.13 - Local File Inclusion vulnerability
Weaknesses CWE-98
References

Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T20:26:42.476Z

Reserved: 2025-06-11T16:07:15.643Z

Link: CVE-2025-49942

cve-icon Vulnrichment

Updated: 2025-12-18T19:19:29.524Z

cve-icon NVD

Status : Deferred

Published: 2025-12-18T08:15:52.490

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-49942

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-29T16:00:06Z

Weaknesses
  • CWE-98

    Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')