BuddyForms: Privilege escalation via form submission (CVE-2026-107622)
The BuddyForms WordPress plugin is vulnerable to unauthenticated privilege escalation via a form-type confusion flaw that allows attackers to create administrator accounts.
CVE search metadata
CVE search record: CVE-2026-107622. KEV: no. Product: BuddyForms (<= 2.10.5). Brief: BuddyForms: Privilege escalation via form submission (CVE-2026-107622). Brief link: https://feed.craftedsignal.io/briefs/2026-11-buddyforms-privilege-escalation/
Triage facts
Revision 1- Applicability
- BuddyForms (<= 2.10.5)
- Evidence
- Unknown
- Severity
- Critical
- Action
- Immediate escalation
- Sources
- 1 public source
- Freshness
- Revision 1Nov 6, 13:09 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
The BuddyForms plugin for WordPress (versions 2.10.5 and earlier) contains a critical privilege escalation vulnerability due to improper input validation and missing authorization checks. The plugin's public submission handler, buddyforms_form_response_no_ajax(), improperly trusts the bf_post_type parameter when handling new object creation. An unauthenticated attacker can supply a malicious form configuration via the buddyforms_options parameter to override the new_user_role setting. This allows an attacker to register a new account on a site where "Anyone can register" is enabled, granting that account administrator-level privileges.
Attack Chain
- Attacker identifies a WordPress site with the BuddyForms plugin and "Anyone can register" enabled.
- Attacker crafts a POST request to the
buddyforms_form_response_no_ajaxhandler. - Attacker specifies a malicious
bf_post_typeand injects an arbitrary form configuration via thebuddyforms_optionsparameter. - The plugin fails to validate the request or verify authorization, permitting the creation of a rogue form entry in the global registry.
- The rogue form is configured to assign the administrator role to new registrants via the
new_user_rolefield. - Attacker submits a user registration through the newly created rogue form.
- WordPress creates the account with administrative privileges, resulting in full site compromise.
Impact
Successful exploitation allows an unauthenticated attacker to gain full administrative control over the WordPress site.
Recommendation
- Immediately update the BuddyForms plugin to the latest patched version (post-2.10.5).
- If an update cannot be applied immediately, disable public registration on the WordPress site.
- Audit existing BuddyForms forms for unauthorized configuration changes or unexpected
new_user_rolevalues. - Audit the WordPress user database for newly created administrator accounts.
Immediate actions
Patch BuddyForms plugin to version 2.10.6 or later.
Check WordPress user database for unauthorized administrator accounts created recently.
Threat Hunt
Inspect web server access logs for anomalous POST requests to BuddyForms submission endpoints containing unexpected parameters in buddyforms_options.
Data: webserver logs, application logs