CVE-2026-124969Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization deserialization of untrusted data
CVSS score
7.1
High
CVSS 3.1 from wordfence.com
Exploit probability (EPSS)
0.45%
0.45% chance of exploitation in the next 30 days, higher than 40.2% of all CVEs.
CISA KEV
Not in KEV
No confirmed exploitation reported by CISA so far.
Official 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.
Source: NVD · CNA: security@wordfence.com
How to fix it, step by step
Check whether you're affected
Find every system running Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization and compare its version with the affected versions.
Watch for an official fix
No fix or advisory is listed in the official record yet. Follow the vendor's security announcements; this page updates when one is published.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- Low
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Affected products
| Affected products | Versions |
|---|---|
| optimole Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization | ≤ 4.2.19 |
Weakness
- CWE-502 deserialization of untrusted data
Timeline
- Published:
- Last modified:
Frequently asked questions
Is CVE-2026-124969 being exploited?
There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2026-124969?
CVE-2026-124969 has a CVSS 3.1 base score of 7.1 (high).
Which versions are affected?
Optimole Optimole – Optimize Images | Convert WebP & AVIF | CDN & Lazy Load | Image Optimization (≤ 4.2.19)
Is there a patch for CVE-2026-124969?
No patch is linked in the official record yet. Watch the vendor's security advisories.
References
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/media_rename/attachment_db_renamer.php#L319
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/media_rename/attachment_db_renamer.php#L415
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/media_rename/attachment_db_renamer.php#L548
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/media_rename/attachment_edit.php#L311
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.19/inc/media_rename/attachment_rename.php#L107
- plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20
- www.wordfence.com/threat-intel/vulnerabilities/id/277b9a34-8e0b-496e-b07b-602b25f125d8?source=cve
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.