
Sable Research — Analysis of CVE-2026-118423: Unauthenticated Arbitrary File Upload to RCE in WP Libre Form (≤ 1.5.0.1)
CVE-2026-118423 is a critical unauthenticated arbitrary file upload vulnerability in the WP Libre Form WordPress plugin (version ≤ 1.5.0.1).
The plugin fails to validate the file type of uploads submitted through its public forms. An unauthenticated attacker can upload a malicious PHP file that is stored in a web-accessible directory (wp-content/uploads/), resulting in remote code execution under the privileges of the web server user.
CVSS v3.1 Score: 10.0 (Critical)
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CWE: CWE-434 (Unrestricted Upload of File with Dangerous Type)
| Product | Affected Versions | Fixed Version |
|---|---|---|
| WP Libre Form | ≤ 1.5.0.1 | Not available (as of 2026-11-06) |
WP Libre Form registers the AJAX action wplf_submit for both authenticated and unauthenticated users (wp_ajax_nopriv_wplf_submit).
When a form is submitted and is not configured to use the WordPress media library, uploaded files are moved directly into the uploads directory using a predictable naming scheme:
lf_<ymdhs>-<counter>-<original_filename>
sanitize_file_name() does not strip the .php extension. As a result, a PHP payload becomes directly executable by the web server.
The only requirement is a publicly accessible form that uses the [libre-form] shortcode.
Successful exploitation allows an unauthenticated remote attacker to:
Until an official patch is released, the following temporary measures are strongly advised:
<Directory "/var/www/html/wp-content/uploads">
<FilesMatch "\.(php|phtml|phar|php\d+)$">
Require all denied
</FilesMatch>
</Directory>
wp-content/uploads/lf_*-*-*.php.admin-ajax.php with action=wplf_submit containing a multipart file whose name ends in .phplf_*-*-*.php in the uploads directorywp-content/uploads/ shortly after form submissions| Date | Event |
|---|---|
| 2026-11-03 | Vulnerability publicly disclosed (WPScan) |
| 2026-11-06 | CVE assigned and published in NVD |
| 2026-11-06 | Public PoC appeared on GitHub |
| Ongoing | No official patch available |
This repository is published by Sable Research for educational and defensive research purposes only.
The information contained herein is intended to help defenders understand and mitigate the vulnerability.
Do not use this information to attack systems you do not own or have explicit written permission to test.
Unauthorized exploitation of this vulnerability is illegal.
Sable Research
Security Research & Vulnerability Analysis