CVE-2025-58929
Published: 18 December 2025
Summary
CVE-2025-58929 is a high-severity PHP Remote File Inclusion (CWE-98) vulnerability in Axiomthemes Pantry. Its CVSS base score is 8.1 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 32.9th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
CVE-2025-58929 is an Improper Control of Filename for Include/Require Statement in PHP Program vulnerability, classified under CWE-98 and commonly known as PHP Remote File Inclusion, which enables PHP Local File Inclusion in the axiomthemes Pantry WordPress theme. This issue affects Pantry versions from n/a through 1.4. The vulnerability carries a CVSS v3.1 base score of 8.1 (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H), indicating high severity due to its potential for significant impact.
Unauthenticated attackers accessible over the network can exploit this vulnerability, though it requires high attack complexity and no user interaction. Successful exploitation allows high-level impacts on confidentiality, integrity, and availability, typically through local file inclusion to read sensitive server files or potentially execute arbitrary code if chained with other conditions.
The Patchstack advisory (https://patchstack.com/database/Wordpress/Theme/pantry/vulnerability/wordpress-pantry-theme-1-4-local-file-inclusion-vulnerability?_s_id=cve) documents this Local File Inclusion vulnerability specifically in WordPress Pantry theme version 1.4.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-204166
Vulnerability details
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
CVE-2025-58929 is a Local File Inclusion vulnerability in a public-facing WordPress theme, directly enabling T1190 (Exploit Public-Facing Application) for initial access and T1005 (Data from Local System) for reading sensitive local files.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
SI-2 requires identification, reporting, and correction of system flaws like CVE-2025-58929, directly mitigating the LFI vulnerability through patching the affected WordPress Pantry theme.
SI-10 mandates validation of information inputs, directly countering the improper control of filenames in PHP include/require statements exploited in this PHP LFI vulnerability.
CM-6 enforces secure configuration settings for components like PHP (e.g., open_basedir restrictions, disable_functions), limiting the impact and exploitation of file inclusion vulnerabilities.