CVE-2025-58929CWE-98

WordPress Pantry theme <= 1.4 - Local File Inclusion vulnerability

High · published December 18, 2025

CVSS v3.1
8.1
EPSS
0%
Percentile
41.8
In the wild
Unconfirmed
What it is

⚡ A simple misconfiguration could allow an attacker to access any file on your server with just the right request! Think of it like a restaurant that hands out the chef's secret recipes to anyone who asks, without checking if they really work there. Without proper controls, a crafty attacker can request sensitive files and feast on your data! This vulnerability could lead to devastating consequences, allowing attackers to read any file on the server, including sensitive configuration files or user data. If exploited, it could turn your system into a playground for malicious activities, jeopardizing the integrity and confidentiality of your entire application!

Put simply

Think of it like a restaurant that hands out the chef's secret recipes to anyone who asks, without checking if they really work there. Without proper controls, a crafty attacker can request sensitive files and feast on your data! The CVE-2025-58929 vulnerability stems from improper control of filenames in PHP's include/require statements within the Pantry plugin for axiomthemes. This allows attackers to manipulate file paths and potentially include arbitrary files from the server.

What to do

This vulnerability could lead to devastating consequences, allowing attackers to read any file on the server, including sensitive configuration files or user data. If exploited, it could turn your system into a playground for malicious activities, jeopardizing the integrity and confidentiality of your entire application! To mitigate this risk, immediately update your Pantry plugin to version 1.4.1 or later. Additionally, audit your code to ensure that any include/require statements are safe and properly sanitized to avoid this type of exploitation. You've got this! Follow these steps, and you'll be protecting your server like a security hero in no time! 🛡️

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00499 · 41.8th percentile
Weakness
CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Published
2025-12-18T07:21Z
EPSS history
Timeline
  • 18 DEC 07:21Z
    WordPress Pantry theme <= 1.4 - Local File Inclusion vulnerability
    cvelistv5