CVE-2026-15802
Deferred Deferred - Pending Action

Arbitrary File Deletion in WP Foodbakery WordPress Plugin

Vulnerability report for CVE-2026-15802, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-22

Last updated on: 2026-07-22

Assigner: Wordfence

Description

The WP Foodbakery plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the 'delete_locations_backup_file_callback' function in all versions up to, and including, 4.9. This makes it possible for authenticated attackers, with subscriber-level access and above, to delete arbitrary files on the server, which can easily lead to remote code execution when the right file is deleted (such as wp-config.php).

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-22
Last Modified
2026-07-22
Generated
2026-08-11
AI Q&A
2026-07-22
EPSS Evaluated
2026-08-10
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
wp_foodbakery wp_foodbakery to 4.9 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-23 The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize sequences such as ".." that can resolve to a location that is outside of that directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The WP Foodbakery plugin for WordPress has a flaw in its code that allows authenticated users with subscriber-level access or higher to delete arbitrary files on the server. This happens because the plugin does not properly check file paths before deletion. Attackers could exploit this to remove critical files like wp-config.php, potentially leading to remote code execution.

Detection Guidance

Check for unauthorized file deletions in WordPress directories, especially in the wp-content folder. Review server logs for suspicious activity by authenticated users with subscriber-level access or higher. Look for deletion of critical files like wp-config.php.

Impact Analysis

If you use the WP Foodbakery plugin, an attacker with minimal access could delete important files on your server. This might crash your website, expose sensitive data, or allow the attacker to take full control of your site by deleting key configuration files.

Compliance Impact

This vulnerability could lead to unauthorized file deletion, potentially exposing or destroying sensitive data. This may violate compliance requirements under GDPR or HIPAA, which mandate protection of personal or health data. Failure to address this could result in legal penalties or loss of trust.

Mitigation Strategies

Update the WP Foodbakery plugin to the latest version if available. Remove the plugin if not needed. Restrict file deletion permissions for subscriber-level users. Monitor server logs for unusual activity and consider disabling file editing in WordPress.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-15802. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart