Path Traversal in Davidanderson Wp-Optimize – Cache, Compress Images, Minify & Clean Database To Boost Page Speed Performance

CVE-2026-7252

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.

Vulnerability class: Path Traversal (Directory Traversal)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H.

EPSS exploit prediction

EPSS: 0.012 (66.7th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 67th percentile — 66.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-7252: held from 0.009 to 0.012.

EPSS over last 30 days · oldest: 0.009 · newest: 0.012 · change: +0.002

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-7252?
CVE-2026-7252 is a high-severity vulnerability in Davidanderson Wp-Optimize – Cache, Compress Images, Minify & Clean Database To Boost Page Speed Performance, classified under Path Traversal. CVSS score: 8.1/10. Published 2026-05-07.
How severe is CVE-2026-7252?
High severity. CVSS v3 base score is 8.1 out of 10.