Vulnerability Report
Plugin High Patch path listed CVE-2026-7252

WP-Optimize <= 4.5.2 - Authenticated (Author+) Arbitrary File Deletion via 'original-file' Post Meta

The WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the unscheduled_original_file_deletion function in all versions up to, and including, 4.5.2 This makes it possible for authenticated attackers, with author-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). This is possible because 'original-file' is a public (non-protected) meta key — it does not begin with an underscore — allowing Authors to freely create or modify it on their own attachment posts via the standard Edit Media form or the REST API.

Quick Answer

CVE-2026-7252 is a high severity with CVSS 8.1 Remote Code Execution issue affecting the Plugin WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance. It affects Versions up to 4.5.2 and is fixed in 4.5.3.

Published
May 06, 2026
Last Updated
May 06, 2026
Slug
wp-optimize
Continue Triage

Review the full WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance vulnerability cluster

Use the related hub and response guides to connect this CVE-2026-7252 report with patch validation, scanner checks, and site hardening work.

Operational Summary

What the operator needs to know

Patch Status
Patched release is available
Remediation
Update to version 4.5.3, or a newer patched version
Operator Briefing

CVE-2026-7252 is tracked for the Plugin WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance as high severity with CVSS 8.1. The affected range is Versions up to 4.5.2. Update WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance to 4.5.3 or newer where that version is compatible with the site.

Issue Type
Remote Code Execution
Primary Fixed Version
4.5.3
Primary Affected Range
Versions up to 4.5.2
Tracking ID
CVE-2026-7252
Indexing Quality Signals

Why this report is useful for search and triage

Search engines and operators need more than a title. This page exposes the identifier, affected range, patch evidence, and source coverage that make the vulnerability actionable.

Robots
Indexable
Identifier strength
CVE-2026-7252

This report has a CVE identifier, which makes it suitable for focused search and vulnerability triage workflows.

Version evidence
Versions up to 4.5.2

Affected version data gives operators a concrete comparison point against installed WordPress software.

Patch evidence
4.5.3

A fixed version is present, so the page can answer update and remediation intent directly.

Source coverage
1 reference

External references are available for source validation, advisory review, and incident notes.

Verification Checklist

How to validate this finding

Use these checks when converting this record into a patch ticket, incident note, or risk acceptance decision.

Step 1

Inventory the installed Plugin package and compare its version with Versions up to 4.5.2.

Step 2

Confirm WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance is updated to 4.5.3 or newer.

Step 3

Review references and CVSS vector details for exploitability, authentication requirements, and exposure path.

Step 4

After patching, re-run vulnerability monitoring and keep the related plugin or theme hub under review for follow-up CVEs.

Detailed Metadata
Software Type Plugin
Software Slug
wp-optimize View on wordpress.org
CVE CVE-2026-7252
Patched Versions
4.5.3
Affected Versions
Versions up to 4.5.2
Related CVE Cluster

Related CVEs for WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance

These internal links group the same WordPress plugin by CVE, issue type, severity, and patch status so operators and search engines can connect the full vulnerability cluster.

Licensing Notices

This record contains material that is subject to copyright

DEFIANT
Copyright 2012-2026 Defiant Inc.

License: Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy. Read more

MITRE
Copyright 1999-2026 The MITRE Corporation

License: CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. Read more