Forminator Flaw Lets Unauthenticated Attackers Upload PHP to 600,000 WordPress Sites

CVE-2026-15748, rated 9.8, affects Forminator Forms through 1.56.1 on sites with a form that has both a file upload field and a select field. The fix shipped in 1.56.2, and sites using a custom upload folder are most exposed.
Forminator Flaw Lets Unauthenticated Attackers Upload PHP to 600,000 WordPress Sites
Forminator Flaw Lets Unauthenticated Attackers Upload PHP to 600,000 WordPress Sites

Anyone running Forminator Forms should check the plugin version today. Wordfence has disclosed CVE-2026-15748, a 9.8-rated arbitrary file upload bug in the WordPress form builder, which has more than 600,000 active installations, that lets an unauthenticated visitor plant a PHP file and, in some setups, run it.

“This vulnerability makes it possible for unauthenticated attackers to upload arbitrary files, including executable PHP files, to a vulnerable site, which can lead to remote code execution and complete site compromise,” Wordfence said, as quoted by The Hacker News. The bug was reported by a researcher using the alias “daroo.”

The two conditions that matter

Not every Forminator site is exploitable. The target needs a form with both a File Upload field and a Select field. The flaw sits in the plugin’s handle_file_upload() function. In Wordfence’s description, the blocklist of dangerous extensions does exact-key matching that can be bypassed with “pipe-alternative MIME type keys,” while the public submission handler trusts upload settings an attacker injects through a forged Select value.

Getting a file onto the server isn’t the same as running it. By default, uploads land in a folder protected by an .htaccess rule that blocks PHP execution. Sites that use a Custom File Upload Storage root may not have that guard, because the folder is created “only when it is first needed, during a frontend request where the WordPress helper responsible for writing the .htaccess file is not loaded.” On those sites, requesting the uploaded file is enough to execute it.

Patch, then look around

All versions through 1.56.1 are affected. The plugin changelog lists version 1.56.2, dated July 30, with a single line: “Fix: Arbitrary file upload vulnerability.” It was the third security release that day, after 1.56.0.1 fixed a privilege escalation bug and 1.56.1 fixed cross-site scripting. So anyone who updated in late July is covered, and anyone who didn’t is missing all three fixes.

After updating, admins who set a custom upload path should check it for .php files that don’t belong there and make sure the folder can’t execute scripts.

Forminator wasn’t the only critical plugin bug Wordfence flagged this month. It also disclosed CVE-2026-15826 in User Profile Builder, which has more than 40,000 installs. On sites with the plugin’s Automatically Log In setting enabled, a registration with a 61- to 70-character username could log an attacker in as user ID 1, usually the administrator. That one was fixed in version 3.16.5 on July 16.

Subscribe for Updates

AppSecurityUpdate Newsletter

Critical application security news and insights developers and security teams need—covering real-world vulnerabilities, emerging risks, and practical remediation without the noise.

By signing up for our newsletter you agree to receive content related to ientry.com / webpronews.com and our affiliate partners. For additional information refer to our terms of service.

Notice an error?

Help us improve our content by reporting any issues you find.

Get the WebProNews newsletter delivered to your inbox

Get the free daily newsletter read by decision makers

Subscribe
Advertise with Us

Ready to get started?

Get our media kit

Advertise with Us