The software contains a flaw that allows unauthorized privilege escalation. The `verify role()` function in `AuthTrails.php` incorrectly allows the `wcfm vendor` role, alongside `subscriber` and `customer`, and assigns it directly via `wp insert user()` without proper integration with WCFM Marketplace’s vendor approval process. This allows unauthenticated attackers to register an account with the `wcfm vendor` role by manipulating the `role` parameter in the `/wp-json/app-builder/v1/register` API endpoint. Successful exploitation bypasses the standard WCFM vendor approval process, granting immediate vendor-level privileges, including product management, order access, and store management, on sites utilizing WCFM Marketplace.