Arbitrary File Deletion Vulnerability in WP-Optimize Plugin
CVE-2026-7252

Check todayData or code tampering over the network by a logged-in user.
8.1HIGH

Key facts

CVE-2026-7252 is a high severity (CVSS 8.1) vulnerability in WordPress WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 1.1%, the estimated probability of exploitation in the next 30 days.

How risky is it?

  • Partly: Works over the network, but needs a login
  • No: No public exploit code yet
  • No: No attacks seen yet
  • No: Not on CISA's exploited list

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach WP-optimize – Cache, Compress Images, Minify & Clean Database To Boost Page Speed & Performance. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Check today"
  • Its CVSS severity is high (8.1).

What is CVE-2026-7252?

The WP-Optimize plugin for WordPress has a vulnerability due to inadequate file path validation in its unscheduled_original_file_deletion function. This flaw affects all versions up to and including 4.5.2. Authenticated users with author-level permissions can exploit this vulnerability to delete arbitrary files on the server, potentially leading to remote code execution. The 'original-file' meta key, being publicly accessible, allows these users to manipulate it freely through the Edit Media interface or the REST API, raising significant security concerns.

Affected Version(s)

WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance 0 <= 4.5.2

References

Deserialization Vulnerability in Ultimate Member Plugin by WordPress

CVE-2026-134481
WordPressUltimate MemberπŸ˜„9.8CRITICAL

Unauthorized Password Reset in User Registration Aide Plugin for WordPress

CVE-2026-121385
WordPressUser Registration AideπŸ‘Ύ9.8CRITICAL

Remote Code Execution Vulnerability in WP Duplicate Plugin by WordPress

CVE-2026-14492
WordPressWP Duplicate – WordPre...9.8CRITICAL
View more WordPress vulnerabilities...

CVSS V3.1

Score:
8.1
Severity:
HIGH
Confidentiality:
None
Integrity:
High
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Ly Hoang
.