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
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-72500In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-72501In the Linux kernel, the following vulnerability has been re…
- CVE-2026-72502In the Linux kernel, the following vulnerability has been re…7.5
- CVE-2026-72506VoiceTra provided by National Institute of Information and C…5.1
- CVE-2026-72508A flaw was found in the multicloud-operators-subscription co…9.9
- 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-72524Incorrect Authorization vulnerability in Apache Doris allows…8.8
- CVE-2026-72526A flaw was found in the multicloud-integrations component. T…9.9
- CVE-2026-72529A remote unauthorized attacker with network access via port …9.8
- CVE-2026-7253IBM Sterling B2B Integrator and IBM Sterling File Gateway ar…6
- CVE-2026-72530A remote unauthorized attacker with network access via port …9
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
