CVE-2026-7252

Published: Mag 07, 2026 Last Modified: Mag 07, 2026
ExploitDB:
Other exploit source:
Google Dorks:
HIGH 8,1
Attack Vector: network
Attack Complexity: low
Privileges Required: low
User Interaction: none
Scope: unchanged
Confidentiality: none
Integrity: high
Availability: high

Description

AI Translation Available

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.

EPSS (Exploit Prediction Scoring System)

Trend Analysis

EPSS (Exploit Prediction Scoring System)

Prevede la probabilità di sfruttamento basata su intelligence sulle minacce e sulle caratteristiche della vulnerabilità.

EPSS Score
0,0026
Percentile
0,5th
Updated

EPSS Score Trend (Last 2 Days)

22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Stable
Common Consequences
Security Scopes Affected:
Integrity Confidentiality Availability
Potential Impacts:
Execute Unauthorized Code Or Commands Modify Files Or Directories Read Files Or Directories Dos: Crash, Exit, Or Restart
Applicable Platforms
Technologies: AI/ML
View CWE Details
https://plugins.trac.wordpress.org/browser/wp-optimize/tags/4.5.2/includes/clas…
https://plugins.trac.wordpress.org/browser/wp-optimize/tags/4.5.2/includes/clas…
https://plugins.trac.wordpress.org/browser/wp-optimize/tags/4.5.2/includes/clas…
https://plugins.trac.wordpress.org/browser/wp-optimize/trunk/includes/class-upd…
https://plugins.trac.wordpress.org/browser/wp-optimize/trunk/includes/class-upd…
https://plugins.trac.wordpress.org/browser/wp-optimize/trunk/includes/class-upd…
https://plugins.trac.wordpress.org/changeset/3518513/wp-optimize/trunk/includes…
https://plugins.trac.wordpress.org/changeset?old_path=%2Fwp-optimize/tags/4.5.2…
https://www.wordfence.com/threat-intel/vulnerabilities/id/cc815ef2-dd02-4faa-b2…