CVE-2026-124217
Pie Register <= 3.8.4.17 - Missing Authorization to Unauthenticated Administrator Role Modification via Oversized 'username' Parameter
- CVSS
- 5.3
- EPSS
- 0.46% (p32)
- Published
- 2026-11-20
- Age
- 11d old
- Modified
- 2026-11-20
- Product
- genetechproducts Pie Register – User Registration, Profiles & Content Restriction
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Description
The Pie Register – User Registration, Profiles & Content Restriction plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 3.8.4.17 This is due to the plugin not properly verifying that a user is authorized to perform an action. This makes it possible for unauthenticated attackers to overwrite the role of the site's primary administrator account (user ID 1) with the registration form's configured role, demoting the administrator to a lower-privileged role and locking them out of wp-admin. This vulnerability is exploitable only on PHP 8+, where casting a WP_Error object to int yields 1, causing the role modification to target user ID 1.
Sources
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/e8562337-e54d-45a9-9114-7f80d07bcac1?source=cve other
- https://plugins.trac.wordpress.org/browser/pie-register/tags/3.8.4.17/pie-register.php#L3975 other
- https://plugins.trac.wordpress.org/browser/pie-register/tags/3.8.4.17/pie-register.php#L3890 other
- https://plugins.trac.wordpress.org/browser/pie-register/tags/3.8.4.17/pie-register.php#L443 other
- https://plugins.trac.wordpress.org/browser/pie-register/tags/3.8.4.17/classes/registration_form.php#L206 other
- https://plugins.trac.wordpress.org/changeset/3793719/pie-register other
- https://plugins.trac.wordpress.org/changeset/3793719/pie-register/trunk/pie-register.php other