CVE-2026-124969
Last modified
CVE-2026-124969 is a high-severity vulnerability rated 7.1/10 on the CVSS scale. The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the replace_urls_in_value function in all versions up to, and including, 4.2.19. This makes it possible for unauthenticated attackers 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).
Description
The Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the replace_urls_in_value function in all versions up to, and including, 4.2.19. This makes it possible for unauthenticated attackers 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). Successful exploitation requires PEAR's Archive_Tar library to be present and loadable on the host (common in official WordPress Docker images and many PHP distributions), and an administrator must subsequently use the plugin's Rename control on any attachment after the attacker has staged a malicious payload in a comment. Successful exploitation additionally requires an action by an administrator — the attacker cannot trigger the vulnerability on their own.
Metrics
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-124969?
How severe is CVE-2026-124969?
How do I fix CVE-2026-124969?
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-124950Same-origin policy bypass in the CSS Parsing and Computation…
- CVE-2026-124951Privilege escalation in the Nimbus Desktop Client component.…8.8
- CVE-2026-124952Use-after-free in the Audio/Video component. This vulnerabil…8.8
- CVE-2026-124959The loadIndex function in nmslib hnswlib and Spotify Voyager…7.1
- CVE-2026-12496Stored Cross-Site Scripting (CWE-79) in the OPC XML-DA serve…8.7
- CVE-2026-124965Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2026-12497The Paid Membership Plugin, Ecommerce, User Registration For…7.5
- CVE-2026-124970Improper Neutralization of Special Elements used in an SQL C…9.3
- CVE-2026-124987A vulnerability has been found in mikefarah yq up to 4.53.3.…6.3
- CVE-2026-124992A vulnerability was identified in nushell up to 0.116.1. Imp…3.3
- CVE-2026-124993An incorrect authorization vulnerability in the Security Adv…5.3
- CVE-2026-124994A security flaw has been discovered in Turboderp-org ExLlama…6.3
Are you affected by CVE-2026-124969?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
