Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPost crafted payload in a site comment
-
DeliveryWait for admin to use plugin Rename on an attachment
-
ExploitTrigger flawed path validation via Archive_Tar
-
ExecutionDelete wp-config.php or other critical file
-
ImpactEscalate to remote code execution and site takeover
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Four concrete conditions must all hold: (1) Optimole plugin at version 4.2.19 or earlier is installed; (2) PEAR's Archive_Tar library is present and loadable on the host - the description notes this is common in official WordPress Docker images and many PHP distributions, but it is NOT universal and limits exploitation where absent; (3) the unauthenticated attacker first stages a malicious payload in a comment; and (4) an administrator subsequently uses the plugin's Rename control on any attachment. The decisive limiting factor is that the attacker cannot trigger the vulnerability alone (UI:R) - required administrator interaction plus the host-dependent Archive_Tar dependency are the two gates that constrain realistic exploitation beyond the unauthenticated/network framing. |
| Impact | This is a genuine but conditional priority rather than a drop-everything emergency, and the decision signals agree with that reading: vuln.today assigns a 'this_week' priority, CVSS is 7.1 (High), and the flaw is NOT listed in CISA KEV. No EPSS probability was supplied in the input, and no confirmed proof-of-concept is present - the references are a Wordfence advisory and WordPress trac source-code links, not working exploit code - so exploitation status is 'no public exploit identified at time of analysis.' The CVSS vector (AV:N/AC:L/PR:N/UI:R) correctly captures the defining tension: an UNAUTHENTICATED attacker (PR:N) can stage the payload remotely, but UI:R and the description confirm the attacker CANNOT self-trigger - an administrator must subsequently use the plugin's Rename control, and PEAR's Archive_Tar library must be present and loadable. These two preconditions (human admin action plus a host-dependent library) materially lower real-world exploitability below what the 7.1/unauthenticated framing alone suggests. The upside risk is real, however: successful file deletion of wp-config.php or similar escalates from A:H integrity/availability loss to full remote code execution and site takeover. Net: treat as a prioritized patch this week, not an active mass-exploitation event. |
| Exploit ScenarioDerived | An unauthenticated attacker submits a crafted comment to the WordPress site that stages a malicious payload for the plugin's rename logic. Later, when any administrator uses Optimole's Rename control on an attachment, the flawed path validation in replace_urls_in_value - via the PEAR Archive_Tar library - deletes an attacker-chosen file such as wp-config.php, which can cascade into remote code execution and site takeover. No public exploit code was identified at the time of analysis; only a Wordfence advisory and the vulnerable source are referenced. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 14, 2026
Arbitrary file deletion in the Optimole WordPress plugin (all versions through 4.2.19) lets unauthenticated attackers delete server files when they stage a payload in a comment and an administrator later uses the plugin’s Rename control on an attachment; deleting a file such as wp-config.php can lead to remote code execution. The chain is conditional: PEAR’s Archive_Tar must be present and loadable on the host, and the required administrator interaction means the attacker cannot trigger the flaw alone. Optimole 4.2.20 is the fixed release, the issue is not listed in CISA KEV, no public exploit was identified at time of analysis, and vuln.today assigns a this_week priority; the CVE record carries a CVSS score of 7.1 (High).
RemediationAI
Vendor-released patch: 4.2.20. Update the Optimole plugin to 4.2.20 or later; the fixed release is visible in the plugin Trac at https://plugins.trac.wordpress.org/browser/optimole-wp/tags/4.2.20, and the Wordfence advisory is at https://www.wordfence.com/threat-intel/vulnerabilities/id/277b9a34-8e0b-496e-b07b-602b25f125d8?source=cve. If the update cannot be applied immediately, reduce exposure by removing PEAR Archive_Tar from the loadable include path where it is not required (side effect: other PHP code that depends on Archive_Tar will break) and by restricting use of the plugin’s Rename control to trusted administrators (side effect: limits legitimate media-management workflows); neither control replaces updating to 4.2.20. Because the described chain also relies on attacker-staged comment content, moderating or disabling comments can interrupt staging, at the cost of losing comment functionality.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The affected code is Optimole’s media/attachment rename path, referenced in attachment_db_renamer.php (lines 319, 415, 548), attachment_rename.php (line 107), and attachment_edit.php (line 311), with the reported deletion primitive in replace_urls_in_value. The supplied CWE is CWE-502 (Deserialization of Untrusted Data), indicating the root-cause class is unsafe handling of untrusted data rather than a simple UI bug; the precondition that PEAR Archive_Tar be present and loadable ties the exploit chain to PHP archive/deserialization behavior on the host. The assessed vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:H: network-reachable, no privileges required, high attack complexity and required administrator interaction, with no confidentiality impact, limited integrity impact, and high availability impact. Triggering the deletion is not a single self-contained request-four conditions must align: vulnerable plugin version, Archive_Tar availability, attacker-staged payload in a comment, and an administrator using Rename on any attachment.
Know when Optimole gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
Unauthenticated remote staging (PR:N, AV:N) but AC:H because exploitation depends on Archive_Tar being present on the host, plus UI:R for the required admin Rename action; file deletion drives I:L/A:H, C:N.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
CVE-2026-124969 is a high-severity flaw in the Optimole WordPress plugin (all versions through 4.2.19) that enables unauthenticated attackers to delete arbitrary server files, including wp-config.php, which could lead to remote code execution. The chain is conditional-requiring PEAR's Archive_Tar to be present and an administrator to perform a specific action-but the potential for full site compromise warrants leadership attention due to the plugin's widespread use and the severity of consequences.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Stored cross-site scripting in the Optimole WordPress plugin versions 4.2.3 through 4.2.11 allows unauthenticated attack
Stored cross-site scripting in the Optimole WordPress plugin (versions 4.0.0 through 4.2.12) allows an authenticated use
Optimole WordPress plugin versions 4.0.0 through 4.2.15 expose the site's stored third-party image-optimization service
Stored cross-site scripting in the Optimole image-optimization plugin for WordPress (all versions up to and including 4.
Stored Cross-Site Scripting in the Optimole image optimization plugin for WordPress (all versions through 4.2.10) allows
Stored cross-site scripting in the Optimole WordPress plugin through 4.2.18 lets unauthenticated attackers submit a craf
Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and in
Unauthenticated stored XSS in Optimole WordPress plugin (≤4.2.2) allows attackers to inject malicious scripts via the sr
Stored cross-site scripting in the Optimole image optimization plugin for WordPress, affecting all versions up to and in
Cross-Site Request Forgery (CSRF) vulnerability in Optimole Super Page Cache for Cloudflare allows Stored XSS.7.5. Rated
Stored/reflected Cross-Site Scripting in the Optimole WordPress image-optimization plugin (versions 4.2.7 and earlier) l
Exposure of restricted data in Optimole 4.2.14 and earlier lets authenticated WordPress Subscriber-level users read info
EUVD-2026-125850
GHSA-9367-hx9q-rjcg
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB