CVE-2026-118522
Video & Photo Gallery for Ultimate Member <= 1.1.4 - Authenticated (Subscriber+) Arbitrary File Deletion via 'videos[]' Parameter
- State
- Published
- Severity
- 8.1 High
- Published
- Nov 20, 2026
- Updated
- Nov 20, 2026
- Reserved
- Oct 28, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.1 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H | Wordfence |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Affected Products
| Product | Versions |
|---|---|
Video & Photo Gallery for Ultimate Membersuiteplugins |
|
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0b9fbf80-f0c9-4c7c-9681-59c33d7898b2?source=cve
- https://plugins.trac.wordpress.org/browser/gallery-for-ultimate-member/tags/1.1.4/includes/um-gallery-functions.php#L528
- https://plugins.trac.wordpress.org/browser/gallery-for-ultimate-member/tags/1.1.4/includes/um-gallery-ajax.php#L222
- https://plugins.trac.wordpress.org/browser/gallery-for-ultimate-member/tags/1.1.4/includes/um-gallery-ajax.php#L589
- https://plugins.trac.wordpress.org/changeset/3806302/gallery-for-ultimate-member
- https://plugins.trac.wordpress.org/changeset/3806302/gallery-for-ultimate-member/trunk/includes/um-gallery-functions.php
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.