CVE-2026-19942: Atarim <= 5.1.1 - Authenticated (Author+) Arbitrary File Deletion via '_wp_attached_file' Meta
The Atarim – AI Agency for WordPress: Edit Pages, Fix Code, Update Plugins, SEO & Client Feedback plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the AVCFAbilitiesMedia::register (replace-media-file executecallback) function in all versions up to, and including, 5.1.1. This makes it possible for authenticated attackers, with author-level access and above, 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). This is exploitable by first using the atarim/update-post-field ability to overwrite the wpattachedfile meta of an attacker-owned attachment with a directory-traversal path, then invoking atarim/replace-media-file to cause getattachedfile() to resolve and unlink the targeted file.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Atarim – AI Agency for WordPress: Edit Pages, Fix Code, Update Plugins, SEO & Client Feedback plugin for WordPressto a version that resolves this vulnerability.Fixed in 5.1.1 - Compensating control
Limit WordPress author-level (and above) access so that authenticated attackers cannot use the atarim/update-post-field and atarim/replace-media-file abilities to overwrite _wp_attached_file and trigger deletion.
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs an authenticated WordPress account with Author-level access or higher. They also need control of an attachment they own, because the exploit first modifies that attachment's _wp_attached_file metadata.
What actions are required to exploit it?
The attacker uses the atarim/update-post-field ability to set an attacker-owned attachment's _wp_attached_file value to a directory-traversal path. They then invoke atarim/replace-media-file, causing the resolved target path to be deleted.
What could deletion of a targeted file lead to?
Deleting arbitrary server files can affect integrity and availability. The provided data notes that deletion of an appropriate file, such as wp-config.php, can readily lead to remote code execution.