CVE-2026-118522
The Video & Photo Gallery for Ultimate Member plugin for WordPress …
The Video & Photo Gallery for Ultimate Member plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to, and including, 1.1.4 This is due to the um_gallery_add_videos() AJAX handler persisting user-supplied videos[] values into the file_name column after only esc_url() — which preserves path-traversal sequences — and the companion um_gallery_delete_photo() helper passing that stored value to unlink() through get_user_image_path() with no canonicalization or allowed-directory check. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the server, which can be leveraged to achieve remote code execution when the right file (such as wp-config.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- plugins.trac.wordpress.org/browser/gallery-for-ultimate-member/tags/1.1.4/includes/um-gall
- plugins.trac.wordpress.org/browser/gallery-for-ultimate-member/tags/1.1.4/includes/um-gall
- plugins.trac.wordpress.org/browser/gallery-for-ultimate-member/tags/1.1.4/includes/um-gall
- plugins.trac.wordpress.org/changeset/3806302/gallery-for-ultimate-member
- plugins.trac.wordpress.org/changeset/3806302/gallery-for-ultimate-member/trunk/includes/um
- www.wordfence.com/threat-intel/vulnerabilities/id/0b9fbf80-f0c9-4c7c-9681-59c33d7898b2?sou
- nvd.nist.gov/vuln/detail/CVE-2026-118522
- cve.org/CVERecord?id=CVE-2026-118522
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.