Description
The Advanced Members for ACF plugin for WordPress is vulnerable to arbitrary file deletion due to insufficient file path validation in the create_crop function in all versions up to, and including, 1.2.5. This makes it possible for authenticated attackers, with Subscriber-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). The vulnerability was partially patched in version 1.2.5.
Problem types
CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Product status
Any version
Timeline
| 2026-02-27: | Vendor Notified |
| 2026-04-07: | Disclosed |
Credits
Muhammad Yudha - DJ
References
www.wordfence.com/...-c6ea-42e9-bea3-d15837da7732?source=cve
plugins.trac.wordpress.org/.../core/modules/class-avatar.php
plugins.trac.wordpress.org/.../core/modules/class-avatar.php
plugins.trac.wordpress.org/.../core/modules/class-avatar.php
plugins.trac.wordpress.org/changeset/3479725/
plugins.trac.wordpress.org/changeset/3492372/