Description
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in axiomthemes Pantry pantry allows PHP Local File Inclusion.This issue affects Pantry: from n/a through <= 1.4.
Published: 2025-12-18
Score: 8.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Improper control of the filename used in PHP's include/require functions in the Pantry theme allows an attacker to request arbitrary local files to be included. This local file inclusion flaw, classified as CWE‑98, can enable the attacker's reading of sensitive data such as WordPress configuration files, user data, or database credentials. Based on the description, it is inferred that if the attacker can point the include to a file containing PHP code, that code may be executed by the web server, potentially leading to remote code execution.

Affected Systems

All versions of the Pantry theme distributed by AxiomThemes for WordPress, from its initial release through version 1.4, are affected. WordPress sites that have installed the Pantry theme at any of those versions are vulnerable, regardless of the specific server environment.

Risk and Exploitability

The CVSS score of 8.1 classifies the vulnerability as high severity. EPSS indicates a very low probability of exploitation, with the score in the <1 % band, and it is not listed in the CISA KEV catalog. The likely attack vector involves an external user supplying a crafted file path through a public endpoint or the theme’s administrative interface; based on the description, it is inferred that the attacker would need to influence the path parameter to point to an arbitrary local file.

Generated by OpenCVE AI on May 1, 2026 at 06:03 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Pantry theme to a version newer than 1.4, or apply any vendor‑supplied patch that sanitizes file paths before inclusion.
  • If an upgrade is not immediately possible, deactivate the Pantry theme or replace it with a secure alternative to remove the vulnerable code path.
  • Restrict filesystem permissions on directories that the theme can include, ensuring that only essential files are readable or executable by the web server, thereby limiting the impact of any inclusion.

Generated by OpenCVE AI on May 1, 2026 at 06:03 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 27 Apr 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

ssvc

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


Thu, 23 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

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'}


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


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


Mon, 05 Jan 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Axiomthemes
Axiomthemes pantry
CPEs cpe:2.3:a:axiomthemes:pantry:*:*:*:*:*:wordpress:*:*
Vendors & Products Axiomthemes
Axiomthemes pantry

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 17:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


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 axiomthemes Pantry pantry allows PHP Local File Inclusion.This issue affects Pantry: from n/a through <= 1.4.
Title WordPress Pantry theme <= 1.4 - Local File Inclusion vulnerability
Weaknesses CWE-98
References

Subscriptions

Axiomthemes Pantry
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T16:13:49.968Z

Reserved: 2025-09-06T04:44:31.842Z

Link: CVE-2025-58929

cve-icon Vulnrichment

Updated: 2025-12-18T17:01:09.391Z

cve-icon NVD

Status : Modified

Published: 2025-12-18T08:16:00.267

Modified: 2026-04-27T20:16:19.583

Link: CVE-2025-58929

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-01T06:15:10Z

Weaknesses