User Profile Builder – Beautiful User…: Incorrect Type Conversion or Cast
CVE-2026-15826 is a critical-severity incorrect type conversion or cast vulnerability in User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor from Cozmoslabs, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor versions: 3.16.4 and earlier. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 3.9% chance of exploitation within 30 days, which is in the top 9.56% of all scored CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Check which version of User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor you run against the affected versions below, and install the vendor's latest release.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Cozmoslabs | User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor | 3.16.4 and earlier | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by CNA (wordfence.com).
Official description
The User Profile Builder plugin for WordPress is vulnerable to Authentication Bypass via Type Confusion in versions up to, and including, 3.16.4. This is due to the wppb_log_in_user() function calling absint() on the return value of wp_insert_user() before performing an is_wp_error() check — when a registration is submitted with a 61–70 character username, WordPress core rejects it with a WP_Error object, but absint() coerces that object to the integer 1 before the error check can short-circuit execution, causing the plugin to bind and return a transient-backed autologin nonce tied to user ID 1. This makes it possible for unauthenticated attackers to log in as the site's Administrator account (user ID 1), resulting in full administrative takeover of the site.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Incorrect Type Conversion or Cast
The product does not correctly convert an object, resource, or structure from one type to a different type.
More Incorrect Type Conversion or Cast vulnerabilities (CWE-704)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Other references
- plugins.trac.wordpress.org/browser/profile-builder/tags/3.16.4/features/functions.php#L1481
- plugins.trac.wordpress.org/browser/profile-builder/tags/3.16.4/front-end/class-formbuilder.php#L262
- plugins.trac.wordpress.org/browser/profile-builder/tags/3.16.4/front-end/class-formbuilder.php#L364
- plugins.trac.wordpress.org/browser/profile-builder/tags/3.16.4/front-end/class-formbuilder.php#L742
- plugins.trac.wordpress.org/browser/profile-builder/tags/3.16.4/front-end/class-formbuilder.php#L945
- plugins.trac.wordpress.org/browser/profile-builder/tags/3.16.4/front-end/default-fields/username/username.php…
- plugins.trac.wordpress.org/browser/profile-builder/tags/3.16.4/front-end/default-fields/username/username.php…
- plugins.trac.wordpress.org/changeset/3609855/profile-builder
- wordfence.com/threat-intel/vulnerabilities/id/9f606fba-f779-42ea-a160-6c3b20dc5e79?source=cve
Other vulnerabilities in User Profile Builder – Beautiful User Registration Forms, User Profiles & User Role Editor
- 7.1 High severity
- 8.1 High severity
- 7.2 High severity
- 7.2 High severity
- 7.2 High severity
- 7.5 High severity
Recent Incorrect Type Conversion or Cast vulnerabilities
- 7.9 High severity
- 7.5 High severity
- 7.5 High severity
- 7.1 High severity
- 7.2 High severity
- 7.2 High severity
Spotted an error? Tell us.