CVE-2026-19991: UsersWP <= 1.2.70 - Authenticated (Subscriber+) Arbitrary File Deletion

Published Sep 11, 2026
·
Updated

The UsersWP plugin for WordPress is vulnerable to Arbitrary File Deletion in versions up to, and including, 1.2.70 via the uploadfileremove() AJAX handler. The plugin stores the value of an account 'file' form field taken directly from $POST when no real $FILES upload is provided (processaccount() calls uwpvalidatefields() and arraymerges the result with the empty output of UsersWPFiles::validateuploads()). At storage time the value is only checked with validatefile(), which passes any string that does not contain a literal '../'. When the value is later processed by uploadfileremove(), it is again gated with validatefile() and then normalized through uwpgetfilerelativeurl(); that helper performs a global strreplace() of the uploads base URL against the stored URL, allowing a crafted URL containing embedded '..<uploads-baseurl>' tokens to collapse into '../../' traversal sequences after the last validation. The transformed value is then appended to the uploads base directory and passed to wpdeletefile() without any canonical containment check. This makes it possible for authenticated attackers, with Subscriber-level access and above, to delete arbitrary files on the affected site's server (including wp-config.

Affected Software

1 affected component
UsersWP<=1.2.70

Event History

Sep 11, 2026
CVE Published
via MITRE·03:39 AM
Data Sourced
via MITRE·03:39 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker needs an authenticated WordPress account with at least Subscriber-level access. The issue is therefore relevant where untrusted or low-privilege users can register for or obtain accounts.

2

What does an attacker need to do to trigger the deletion?

The attacker must supply a crafted value for an account form field of type "file" without providing a real file upload, causing that value to be stored. They can then target the AJAX file-removal handler, using URL manipulation that becomes path traversal after the plugin's URL normalization.

3

Why do the plugin's file validation checks not prevent exploitation?

The validation rejects literal "../" sequences, but the crafted input can contain embedded uploads-base-URL values instead. A later global replacement of the uploads base URL converts those values into traversal sequences after validation, and the resulting path is deleted without a canonical path-containment check.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203