CVE-2026-118522: Video & Photo Gallery for Ultimate Member arbitrary file deletion vulnerability
published 2026-11-20
- Affected versions
- 1.1.4 and older
- Fixed in
- 1.1.5 *
- Latest version
- 1.1.5
- Active installs
- 100+
- Type
- Arbitrary file deletion
* The source does not name a fixed version; this is the first wordpress.org release after the last affected version.
What to do now
- Update Video & Photo Gallery for Ultimate Member to 1.1.5 or newer: Dashboard → Updates, or Plugins → “update now”.
- If you cannot update right away, deactivate it until you can.
- Turn on auto-updates for it: Plugins → “Enable auto-updates” on its row.
- Not sure which version you run? Check your version against every known Video & Photo Gallery for Ultimate Member issue.
With WP-CLI:
wp plugin get gallery-for-ultimate-member --field=version. - If you ran an affected version and something looks off (new admin users, spam pages, redirects), run the free scan below.
Is your site exposed to CVE-2026-118522?
- Are you on an affected version? Compare your Video & Photo Gallery for Ultimate Member version with every known issue on record. Check my version
- Has your site already been hit? The free scan looks for signs of a hack from the outside. It cannot see plugin versions or test for this bug.
- Already hacked? Flat $499 for a standard cleanup. Nothing is charged until we have looked at your site and confirmed the job. See how cleanup works
What an attacker needs
- Access: A logged-in account with Subscriber-level access or higher.
Technical details
Weakness
Arbitrary file deletion
A file path that an attacker can influence reaches a delete operation without being properly restricted.
Deleting key files can take a site down. On WordPress, removing wp-config.php can open the way to a full takeover.
General description of this issue type. The advisory below covers this bug.
CVSS 3.1 breakdown
- Attack vector
- Network (remote)
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- High
CVSS vector (scored by Wordfence): CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
The advisory
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.
References
- NVD CVE-2026-118522 nvd.nist.gov
- Wordfence advisory www.wordfence.com
- Code change (fix) plugins.trac.wordpress.org
- Plugin source plugins.trac.wordpress.org
How Laskyr cleans up a site hacked through Video & Photo Gallery for Ultimate Member
We confirm the job by email before any payment, remove the infection, harden the site and report how they got in. A standard cleanup is $499 with a 30-day reinfection guarantee. Bigger jobs get a written estimate first, and nothing more is charged unless you approve it. Full details.
Related
Ran an affected version? Run the free scan for signs of a hack.
Where this data comes from
- CVE record, score and references: NIST National Vulnerability Database (NVD), checked 2026-11-29. This product uses data from the NVD API but is not endorsed or certified by the NVD.
- Versions and install counts: wordpress.org/plugins/gallery-for-ultimate-member (Plugins API), fetched 2026-11-20.
- Everything outside the quoted description is our plain-English reading of the record and the plugin's release history. The CWE is the standard one for this issue type. Spot an error? Email Daniel.