# CVE-2026-107622: BuddyForms \<= 2.10.5 - Unauthenticated Privilege Escalation to Form-Type Confusion via 'bf\_post\_type' Parameter

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.86% (percentile 56, 2026-11-28)
- **CWE:** CWE-269
- **Published:** 2026-11-06T11:17:36.216Z
- **Modified:** 2026-11-06T16:17:36.057Z

## Who should check

- Anyone running themekraft BuddyForms \<= 2.10.5

## Description

The BuddyForms plugin for WordPress is vulnerable to Privilege Escalation in all versions up to, and including, 2.10.5 via a form-type confusion attack through the \`bf\_post\_type\` parameter. This is due to the public frontend submission handler \`buddyforms\_form\_response\_no\_ajax()\` authorizing logged-out submissions based solely on the target form's \`public\_submit\` flag while independently trusting the attacker-supplied \`$\_POST\['bf\_post\_type'\]\` to determine the post type of the newly created object — a cross-check introduced in 2.10.2 applies only to existing posts (\`post\_id != 0\`) and is completely bypassed for new-object creation — combined with the \`save\_post\` listener \`buddyforms\_edit\_form\_save\_meta\_box\_data()\` lacking both a \`current\_user\_can()\` capability check and a form-builder nonce, causing it to unconditionally persist attacker-supplied \`$\_POST\['buddyforms\_options'\]\` for any newly inserted \`buddyforms\` CPT post. This makes it possible for unauthenticated attackers to insert a rogue BuddyForms form configuration with an attacker-controlled \`new\_user\_role\` value into the live global form registry, then submit a registration through that form to create a new WordPress account with administrator-level privileges and achieve full site takeover. Exploitation requires the WordPress site to have "Anyone can register" enabled and at least one public BuddyForms form attached to a page, both of which are standard BuddyForms deployment configurations.

## Affected and fixed versions

- themekraft BuddyForms: \<= 2.10.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-107622. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-107622.md
Affected: themekraft BuddyForms <= 2.10.5
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for themekraft BuddyForms: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-107622 being exploited?

There is no confirmed exploitation: CVE-2026-107622 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.86% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-107622?

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-107622?

themekraft BuddyForms \<= 2.10.5.

### Is there a fix for CVE-2026-107622?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-107622?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/Themekraft/buddyforms/pull/779/files>
- wordfence: <https://www.wordfence.com/threat-intel/vulnerabilities/id/2e83e654-f8a6-44a6-a687-92606331309e?source=cve>
- other: <https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/form/form.php#L476>
- other: <https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/admin/register-post-types.php#L216>
- other: <https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/form/form-control.php#L258>
- other: <https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/form/form-control.php#L642>
- other: <https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/wp-insert-user.php#L241>
- other: <https://plugins.trac.wordpress.org/browser/buddyforms/tags/2.10.2/includes/wp-insert-user.php#L702>
- other: <https://plugins.trac.wordpress.org/changeset/3780268/buddyforms/trunk/includes/admin/register-post-types.php>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-107622>

HTML: <https://flawdb.com/CVE-2026-107622> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-107622>
