# CVE-2026-8778: MIPL Grouped Checkout Fields for WooCommerce <= 1.2.2 - Unauthenticated Arbitrary File Upload

The Markdown version of <https://upatch.dev/cve/CVE-2026-8778>. Last updated 25 Nov 2026.

## At a glance

CVE-2026-8778 is rated Critical 9.8 (CVSS 3.1, CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H). It affects MIPL Grouped Checkout Fields for WooComm… (mulika) and was published on 11 Sept 2026. It is not in CISA's Known Exploited Vulnerabilities catalog. Its EPSS score is 1.1%: the estimated chance it is exploited in the next 30 days, as of 24 Nov 2026. The upatch `cve-2026-8778-upload-block` mitigates it, and is vetted (merged into the registry).

A upatch is a signed BPF program that shirudo loads into a running Linux kernel to block the code path this CVE's exploit takes. It holds the line until the fix ships; it does not replace patching.

## The vulnerability

CVE-2026-8778 is an unauthenticated arbitrary file upload vulnerability (CWE-434) in the MIPL Grouped Checkout Fields for WooCommerce plugin for WordPress in all versions up to and including 1.2.2 (initially reported against versions up to 1.2.1 and fixed in 1.2.3). The plugin registers the REST API route `/wp-json/mipl-wc-cf/v1/upload_file_data` with `permission_callback` set to `__return_true`, handled by `MIPL_WC_CF_Checkout_Fields::mipl_wc_upload_file()` in `include/class-mipl-wc-cf-checkout-block.php`, as well as `MIPL_WC_CF_Common::mipl_wc_upload_form()` in `include/class-mipl-wc-cf-common.php`. In vulnerable versions, `mipl_wc_upload_file()` takes `$_FILES['mipl_wc_file']['name']`, extracts its extension with `pathinfo(..., PATHINFO_EXTENSION)` without checking the file type or extension, prepends a 5-character random prefix, and moves the uploaded temporary file into `wp-content/uploads/mipl-wc-checkout-fields/mipl_checkout_files<YYYY>/<MM>/` with `move_uploaded_file()`. An unauthenticated attacker can upload a `.php` file into that web-accessible directory and request it to achieve remote code execution.

### Official description

The MIPL Grouped Checkout Fields for WooCommerce – Customize & Organize Checkout Fields. plugin for WordPress is vulnerable to arbitrary file uploads due to missing file type validation in the \`mipl_wc_upload_file\` function in all versions up to, and including, 1.2.1. This makes it possible for unauthenticated attackers to upload arbitrary files on the affected site's server which may make remote code execution possible.

## What the upatch does

Three BPF LSM programs return `-EPERM` to PHP and web server processes (`php*`, `apache2`, `httpd`) when operating on a file with a PHP script extension (`.php`, `.php3` through `.php8`, `.phps`, `.phar`, `.phtml`) inside the plugin's upload tree (`mipl-wc-checkout-fields/mipl_checkout_files*`):

| Hook               | Refused                                                                                                                                                                                     |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `lsm/inode_rename` | Renaming an uploaded temporary file to a PHP extension inside `mipl-wc-checkout-fields/mipl_checkout_files*`                                                                                |
| `lsm/inode_create` | Creating a file with a PHP extension inside `mipl-wc-checkout-fields/mipl_checkout_files*` (when `move_uploaded_file()` falls back to copying across filesystems or after a refused rename) |
| `lsm/file_open`    | Opening a file with a PHP extension inside `mipl-wc-checkout-fields/mipl_checkout_files*` (stopping execution of a PHP payload planted before the upatch was loaded)                        |

Each program checks the file extension first and returns `0` immediately for non-PHP files before inspecting parent dentries or the current task's executable. Refusals are counted per CPU in the `refused` map (`0` for renames, `1` for creates, `2` for opens).

The policy: [`cve-2026-8778-upload-block.bpf.c`](https://github.com/copper-helm/upatch-registry/tree/main/upatches/cve-2026-8778), 197 lines of BPF C attached at `lsm/inode_rename`, `lsm/inode_create` and `lsm/file_open`, licensed GPL-2.0 OR BSD-2-Clause.

## Side effects

- Any upload of a `.php`, `.php3`–`.php8`, `.phps`, `.phar`, or `.phtml` file through `mipl-wc-checkout-fields` fails with `File uploading error` because `move_uploaded_file()` is refused by the kernel.
- Normal checkout file uploads (images, PDFs, documents, plain text, archives) into `mipl-wc-checkout-fields/mipl_checkout_files*` continue working.
- The plugin's own PHP source files in `wp-content/plugins/mipl-wc-checkout-fields/` are outside `mipl_checkout_files*` and are unaffected.

## Preemption model and cost

The programs hold no shared mutable state beyond the per-CPU `refused` array updated with `__sync_fetch_and_add`, making them safe under all kernel preemption models including `PREEMPT_LAZY`, `PREEMPT_DYNAMIC`, and `PREEMPT_RT`. On every file rename, create, or open, the fast path checks the target dentry name length and its trailing 4 to 6 bytes, returning immediately for any file that does not have a PHP extension.

## Affected versions

The vulnerable software is the WordPress plugin `mipl-wc-checkout-fields`:

| Plugin                    | Affected | Fixed in |
| ------------------------- | -------- | -------- |
| `mipl-wc-checkout-fields` | <= 1.2.2 | 1.2.3    |

On the kernel side, the upatch uses the BPF LSM hooks `inode_rename`, `inode_create` (with the `mnt_idmap` first parameter), and `file_open` on Linux kernels with BPF LSM and BTF enabled.

## How it was tested

On WordPress 6.7.2 with mipl-wc-checkout-fields 1.2.1, the loaded upatch refused the unauthenticated .php upload through /wp-json/mipl-wc-cf/v1/upload_file_data so move_uploaded_file wrote no file, while the same upload succeeded before load and after unload.

- **Tested:** 25 Nov 2026
- **Target:** WordPress 6.7.2 with mipl-wc-checkout-fields 1.2.1 on PHP CLI built-in server, loopback only
- **Kernel:** 7.4-shirudo-ci-20261123
- **Architecture:** x86_64
- **Distribution:** Ubuntu 26.04

### Results

| State           | Unauthenticated .php upload to /wp-json/mipl-wc-cf/v1/upload_file_data |
| --------------- | ---------------------------------------------------------------------- |
| Before loading  | reached (wrote U6Oea-upatch-probe-45d81f1cedcd.php, HTTP 200)          |
| Upatch loaded   | blocked (File uploading error, no .php file written)                   |
| After unloading | reached (wrote j9YgV-upatch-probe-1ff11235e81e.php, HTTP 200)          |

## How to apply

Build the upatch from source, sign it with your own shirudo key, and publish it to your own OCI registry. Machines that follow your upatch tree load it within about a minute.

Build and sign:

```sh
git clone https://github.com/copper-helm/upatch-registry
cd upatch-registry
tools/build <shirudo-checkout> <keys-dir> 1.0.0 upatches/cve-2026-8778
```

Publish and roll out:

```sh
shirudo bpm push build/packages/cve-2026-8778-1.0.0.bee oci://<registry>/<namespace>/cve-2026-8778 --keys-dir <keys-dir>
shirudo bpm tree append build/packages/cve-2026-8778-1.0.0.bee oci://<registry>/<namespace>/<tree> --tree-id <tree-id> --keys-dir <keys-dir>
```

## Review

- Contributors: romanlab.
- Reviewers: none recorded yet.

## Sources and links

- [CVE-2026-8778 record (CVE API)](https://cveawg.mitre.org/api/cve/CVE-2026-8778)
- [Wordfence vulnerability advisory ac1257a9-7c8e-43aa-b21a-93a77b456aa4](https://www.wordfence.com/threat-intel/vulnerabilities/id/ac1257a9-7c8e-43aa-b21a-93a77b456aa4?source=cve)
- [Vulnerable code in `mipl-wc-checkout-fields` 1.2.1 `include/class-mipl-wc-cf-checkout-block.php`](https://plugins.trac.wordpress.org/browser/mipl-wc-checkout-fields/tags/1.2.1/include/class-mipl-wc-cf-checkout-block.php#L415)
- [REST route registration in `mipl-wc-checkout-fields` 1.2.1 `mipl-wc-checkout-fields.php`](https://plugins.trac.wordpress.org/browser/mipl-wc-checkout-fields/tags/1.2.1/mipl-wc-checkout-fields.php#L260)
- [Fix changeset 3552029 in WordPress Plugin Trac](https://plugins.trac.wordpress.org/changeset?sfp_email=\&sfph_mail=\&reponame=\&new=3552029%40mipl-wc-checkout-fields%2Ftrunk%2Finclude%2Fclass-mipl-wc-cf-checkout-block.php\&old=3549283%40mipl-wc-checkout-fields%2Ftrunk%2Finclude%2Fclass-mipl-wc-cf-checkout-block.php\&sfp_email=\&sfph_mail=)

### Links

- [CVE-2026-8778 on upatch.dev](https://upatch.dev/cve/CVE-2026-8778) (this page, as HTML)
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-8778)
- [CVE.org](https://www.cve.org/CVERecord?id=CVE-2026-8778)
- [CWE-434](https://cwe.mitre.org/data/definitions/434.html)
- Upatch source: [upatches/cve-2026-8778](https://github.com/copper-helm/upatch-registry/tree/main/upatches/cve-2026-8778)

### More references from NVD (6)

- [plugins.trac.wordpress.org](https://plugins.trac.wordpress.org/browser/mipl-wc-checkout-fields/tags/1.2.1/include/class-mipl-wc-cf-checkout-block.php#L415)
- [plugins.trac.wordpress.org](https://plugins.trac.wordpress.org/browser/mipl-wc-checkout-fields/tags/1.2.1/mipl-wc-checkout-fields.php#L260)
- [plugins.trac.wordpress.org](https://plugins.trac.wordpress.org/browser/mipl-wc-checkout-fields/trunk/include/class-mipl-wc-cf-checkout-block.php#L415)
- [plugins.trac.wordpress.org](https://plugins.trac.wordpress.org/browser/mipl-wc-checkout-fields/trunk/mipl-wc-checkout-fields.php#L260)
- [plugins.trac.wordpress.org](https://plugins.trac.wordpress.org/changeset?sfp_email=\&sfph_mail=\&reponame=\&new=3552029%40mipl-wc-checkout-fields%2Ftrunk%2Finclude%2Fclass-mipl-wc-cf-checkout-block.php\&old=3549283%40mipl-wc-checkout-fields%2Ftrunk%2Finclude%2Fclass-mipl-wc-cf-checkout-block.php\&sfp_email=\&sfph_mail=)
- [wordfence.com](https://www.wordfence.com/threat-intel/vulnerabilities/id/ac1257a9-7c8e-43aa-b21a-93a77b456aa4?source=cve)
