Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-118522: high-severity vulnerability (CVSS 8.1) in suiteplugins Video & Photo Gallery for Ultimate Member.
What happened
Original description from the source: 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.
Why it matters
High severity, CVSS 8.1.
Affected products and versions
suiteplugins Video & Photo Gallery for Ultimate Member <= 1.1.4
| Product | Versions | Fixed in |
|---|---|---|
| suiteplugins Video & Photo Gallery for Ultimate Member | <= 1.1.4 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/0b9fbf80-f0c9-4c7c-9681-59c33d7898b2?source=cve — CVE Program
- https://plugins.trac.wordpress.org/browser/gallery-for-ultimate-member/tags/1.1.4/includes/um-gallery-functions.php#L528 — CVE Program
- https://plugins.trac.wordpress.org/browser/gallery-for-ultimate-member/tags/1.1.4/includes/um-gallery-ajax.php#L222 — CVE Program
- https://plugins.trac.wordpress.org/browser/gallery-for-ultimate-member/tags/1.1.4/includes/um-gallery-ajax.php#L589 — CVE Program
- https://plugins.trac.wordpress.org/changeset/3806302/gallery-for-ultimate-member — CVE Program
- https://plugins.trac.wordpress.org/changeset/3806302/gallery-for-ultimate-member/trunk/includes/um-gallery-functions.php — CVE Program
Weaknesses (CWE): CWE-22
Relevant change history
Published
Preliminary advisory published.