CVE Database /
CVE-2026-7252
CVE · High
CVE-2026-7252 — WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance [wp-optimize] < 4.5.3
| CVE |
Vulnerability |
Type |
Severity |
Affected |
Fixed in |
Published |
Status |
|
CVE-2026-7252
|
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance [wp-optimize] < 4.5.3 |
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') |
High
8.1
|
< 4.5.3
|
4.5.3 |
2026-05-06 |
—
|
CVE-2026-7252
The WP-Optimize plugin for WordPress contains a flaw in its file handling mechanism, specifically in the unscheduled_original_file_deletion function, which fails to properly verify file paths. This weakness allows authorized users with author-level access and above to delete any files on the server, including sensitive ones like wp-config.php, potentially leading to remote code execution. The vulnerability affects all plugin versions up to 4.5.2.
Based on public CVE data (MITRE/NVD).
Scan your WordPress site free
No signup, no credit card — enter your URL and get a security report in seconds.
See the full security page for this plugin
Browse the CVE database
Browse all security findings