CVE-2026-7252
Last modified
CVE-2026-7252 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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 estimates a 0.95% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-7252?
How severe is CVE-2026-7252?
How do I fix CVE-2026-7252?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-7246Pallets Click, versions 8.3.2 and below, contain a command i…7.2
- CVE-2026-7247A vulnerability has been found in D-Link DI-8100 16.07.26A1.…7.3
- CVE-2026-7248A vulnerability was found in D-Link DI-8100 16.07.26A1. This…9.4
- CVE-2026-7249The Location Weather plugin for WordPress is vulnerable to u…4.3
- CVE-2026-7250GitLab has remediated an issue in GitLab CE/EE affecting all…7.5
- CVE-2026-7251Eppendorf BioFlo 320 is vulnerable due to VNC server using a…9.8
- CVE-2026-72522libexpat before 2.8.3 has an out-of-bounds read and resultan…6.2
- CVE-2026-72526A flaw was found in the multicloud-integrations component. T…9.9
- CVE-2026-7253IBM Sterling B2B Integrator and IBM Sterling File Gateway ar…6
- CVE-2026-72533An authentication bypass vulnerability in Portainer CE throu…8.8
- CVE-2026-72534A privilege escalation vulnerability in Authentik Security a…8.8
- CVE-2026-72535A missing authentication vulnerability in Chaskiq through co…8.6
Are you affected by CVE-2026-7252?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
