CVE-2026-124969 is a high-severity vulnerability in the Optimole plugin for WordPress, allowing unauthenticated PHP object injection and arbitrary file deletion. The vulnerability exists in versions up to and including 4.2.19 and requires the PEAR's Archive_Tar library to be present. Successful exploitation requires an administrator to use the plugin's Rename control on an attachment after an attacker has staged a malicious payload in a comment.
The Optimole WordPress plugin, used for image optimization, is vulnerable to Cross-Site Request Forgery (CSRF). This vulnerability, tracked as CVE-2026-11784, affects all versions up to and including 4.2.6. The issue arises from missing or incorrect nonce validation in the 'replace_file' function, enabling attackers to overwrite media attachments with malicious content. An attacker can exploit this by crafting a forged multipart POST request, which a victim with at least Author-level privileges can inadvertently execute by clicking a malicious link. Successful exploitation requires the victim to have 'edit_post' capability over the targeted attachment. The vulnerability has a CVSS score of 4.3, classified as MEDIUM severity.