CVE-2026-118522 Details
Description
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.
A vulnerability allowing arbitrary file deletion has been identified in the Video & Photo Gallery for Ultimate Member plugin for WordPress, affecting versions through 1.1.4. The issue arises because the um_gallery_add_videos() AJAX handler saves user-supplied video values into the file_name column after applying only esc_url(), which retains path-traversal sequences. The related um_gallery_delete_photo() function then passes this stored value to unlink() via get_user_image_path(), without any path canonicalization or directory validation. This flaw enables authenticated attackers with Subscriber-level access or higher to delete arbitrary files from the server. Such deletion could be exploited to execute remote code, particularly if a sensitive file like wp-config.php is targeted.
Users are advised to update the Video & Photo Gallery for Ultimate Member plugin to version 1.1.5 or a newer patched version.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 20, 2026CISA-ADP
Assessed Nov 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Video & Photo Gallery | <= 1.1.4 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 20, 2026 | CVE Modified | CISA-ADP |
| Nov 20, 2026 | New CVE Received | [email protected] |
Volerion