CVE-2026-124969 Details
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.
A vulnerability in the Optimole WordPress plugin, specifically in versions through 4.2.19, allows for arbitrary file deletion. This issue arises from inadequate file path validation in the 'replace_urls_in_value' function. The vulnerability enables unauthenticated attackers to delete any file on the server, potentially leading to remote code execution if critical files like 'wp-config.php' are removed. Exploitation requires the presence and loadability of PEAR's Archive_Tar library, commonly found in official WordPress Docker images and many PHP distributions. Additionally, an administrator must use the plugin's Rename control on an attachment after the attacker has inserted a malicious payload in a comment, as the vulnerability cannot be triggered without this administrative action.
Users are advised to update the Optimole WordPress plugin to version 4.2.20 or a newer patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 14, 2026CISA-ADP
Assessed Nov 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-502 | Deserialization of Untrusted Data | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Optimole | <= 4.2.19 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 16, 2026 | CVE Modified | CISA-ADP |
| Nov 14, 2026 | New CVE Received | [email protected] |
Volerion