Summary
CVE-2026-118522 is an arbitrary file deletion flaw (CWE-22, path traversal) in the Video & Photo Gallery for Ultimate Member WordPress plugin by SuitePlugins. It was published on November 20, 2026 with a CVSS 3.1 score of 8.1. Any authenticated user with Subscriber access or higher can exploit it.
Details
The um_gallery_add_videos() AJAX handler stores user-supplied videos[] values in the file_name database column after filtering them only with esc_url(), which keeps path-traversal sequences. The plugin's um_gallery_delete_photo() helper later passes that stored value to unlink() without canonicalizing the path or checking that it sits inside an allowed directory.
An attacker with a low-privileged account can therefore point a gallery entry at a file outside the uploads folder and have the server delete it. Deleting wp-config.php is the classic escalation: WordPress then falls back to the installer, which can lead to site takeover and remote code execution.
| Item | Detail |
|---|---|
| CVE | CVE-2026-118522 |
| CVSS | 8.1 (high) |
| Weakness | CWE-22, path traversal |
| Affected | Versions through 1.1.4 |
| Fixed | 1.1.5 |
| Privileges | Authenticated, Subscriber or higher |
| Impact | Arbitrary file deletion, possible RCE |
Wordfence is the CNA. The vendor was notified on November 9 and the issue was disclosed on November 19. We found no confirmed reports of exploitation at the time of writing, though sites that allow open registration give attackers an easy way to obtain the needed account.
Recommended Actions
- Update the plugin to 1.1.5 or later. The fix blocks path traversal in video URLs and allowlists YouTube and Vimeo URLs.
- If you cannot update, deactivate the plugin until you can.
- Review whether open user registration is needed, and check recent new Subscriber accounts for unfamiliar users.
- Confirm that
wp-config.phpand other core files are present and unmodified, and keep recent backups. - Review web logs for AJAX requests to
um_gallery_add_videoscontaining../sequences.