CVE-2026-118522: Video & Photo Gallery for Ultimate Member <= 1.1.4 - Authenticated (Subscriber+) Arbitrary File Deletion via 'videos[]' Parameter
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 umgalleryaddvideos() AJAX handler persisting user-supplied videos[] values into the filename column after only escurl() — which preserves path-traversal sequences — and the companion umgallerydeletephoto() helper passing that stored value to unlink() through getuserimagepath() 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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An attacker needs an authenticated WordPress account with at least Subscriber-level access. No user interaction is required.
Are sites using the plugin's default access model potentially exposed?
Yes. Because Subscriber-level accounts are sufficient, sites that allow user registration or otherwise provide subscriber accounts may expose the required access level.
What is the practical impact of successful exploitation?
An attacker can delete arbitrary server files by storing path-traversal sequences in video values and triggering the deletion path. Deleting a suitable file, such as wp-config.php, may be leveraged toward remote code execution.
How can defenders identify affected installations?
Check whether Video & Photo Gallery for Ultimate Member is installed and running version 1.1.4 or earlier. Review plugin-related video records and deletion activity for unexpected file paths or path-traversal sequences in stored video filenames.