CVE Explorer
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 del
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","product":"WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance","vendor":"davidanderson","versions":[{"lessThanOrEqual":"4.5.2","status":"affected","version":"0","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:87d93807612a4e42dfadc342b8f1483cf4f760447bc9c0aa7e5e2166e8193800 · sha256:9b0f33516b1236db… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":8.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:87d93807612a4e42dfadc342b8f1483cf4f760447bc9c0aa7e5e2166e8193800 · sha256:9b0f33516b1236db… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:87d93807612a4e42dfadc342b8f1483cf4f760447bc9c0aa7e5e2166e8193800 · sha256:9b0f33516b1236db… · /containers/cna/problemTypes/0/descriptions/0
Source references
9 source assertions{"url":"https://plugins.trac.wordpress.org/browser/wp-optimize/tags/4.5.2/includes/class-updraft-smush-manager.php#L1645"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:87d93807612a4e42dfadc342b8f1483cf4f760447bc9c0aa7e5e2166e8193800 · sha256:9b0f33516b1236db… · /containers/cna/references/4
{"url":"https://plugins.trac.wordpress.org/browser/wp-optimize/tags/4.5.2/includes/class-updraft-smush-manager.php#L1649"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:87d93807612a4e42dfadc342b8f1483cf4f760447bc9c0aa7e5e2166e8193800 · sha256:9b0f33516b1236db… · /containers/cna/references/2
{"url":"https://plugins.trac.wordpress.org/browser/wp-optimize/tags/4.5.2/includes/class-updraft-smush-manager.php#L81"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:87d93807612a4e42dfadc342b8f1483cf4f760447bc9c0aa7e5e2166e8193800 · sha256:9b0f33516b1236db… · /containers/cna/references/6
{"url":"https://plugins.trac.wordpress.org/browser/wp-optimize/trunk/includes/class-updraft-smush-manager.php#L1645"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:87d93807612a4e42dfadc342b8f1483cf4f760447bc9c0aa7e5e2166e8193800 · sha256:9b0f33516b1236db… · /containers/cna/references/3
{"url":"https://plugins.trac.wordpress.org/browser/wp-optimize/trunk/includes/class-updraft-smush-manager.php#L1649"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:87d93807612a4e42dfadc342b8f1483cf4f760447bc9c0aa7e5e2166e8193800 · sha256:9b0f33516b1236db… · /containers/cna/references/1
{"url":"https://plugins.trac.wordpress.org/browser/wp-optimize/trunk/includes/class-updraft-smush-manager.php#L81"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:87d93807612a4e42dfadc342b8f1483cf4f760447bc9c0aa7e5e2166e8193800 · sha256:9b0f33516b1236db… · /containers/cna/references/5
{"url":"https://plugins.trac.wordpress.org/changeset/3518513/wp-optimize/trunk/includes/class-updraft-smush-manager.php"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:87d93807612a4e42dfadc342b8f1483cf4f760447bc9c0aa7e5e2166e8193800 · sha256:9b0f33516b1236db… · /containers/cna/references/7
{"url":"https://plugins.trac.wordpress.org/changeset?old_path=%2Fwp-optimize/tags/4.5.2&new_path=%2Fwp-optimize/tags/4.5.3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:87d93807612a4e42dfadc342b8f1483cf4f760447bc9c0aa7e5e2166e8193800 · sha256:9b0f33516b1236db… · /containers/cna/references/8
{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/cc815ef2-dd02-4faa-b202-dd1552f889db?source=cve"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:87d93807612a4e42dfadc342b8f1483cf4f760447bc9c0aa7e5e2166e8193800 · sha256:9b0f33516b1236db… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.