CVE-2026-124969 — Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization
HIGHCVE-2026-124969 is a high-severity (CVSS 7.1) Deserialization of Untrusted Data vulnerability in optimole Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization. Versions up to 4.2.19 are affected; the records list no fixed version yet, so check the vendor advisory below.
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…
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
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.
Affected Products
Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image OptimizationoptimoleDetection & mitigation playbook
Vendor / applianceDetect
Inventory every optimole Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization deployment and check each version against the affected-products list above.
Remediation status
The records we use list no fixed version for CVE-2026-124969 (versions up to 4.2.19 are affected). Check the optimole Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization advisory for a patched release, and apply the workarounds below until you can upgrade.
Mitigate without a patch
Do not deserialise data from untrusted sources: where the format allows it, restrict deserialisation to an explicit allowlist of expected types, and prefer a data-only format (JSON, Protobuf) over one that can reconstruct arbitrary objects until you can upgrade. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
Frequently Asked Questions
Is CVE-2026-124969 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.