Skip to content
RCE Write-up Intermediate

Elementor Pro CVE-2026–32475 — Critical Unauthenticated RCE Vulnerability Explained

A logic mismatch between Elementor Pro's file validation loop and its file processing loop when handling an empty filename in a multipart upload lets an unauthenticated attacker bypass the extension blocklist. The attacker can then upload a PHP web shell into a publicly accessible directory and achieve remote code execution at the web server's privilege level.

xpert4cyber Follow

Published on medium.com

Wordpress Security

Xpert4Cyber, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 4 min read.

Context

Elementor Pro is a page builder plugin for WordPress, and the affected component is its Forms widget, specifically the File Upload field. Forms built with that widget are commonly used for job applications, support portals and vendor onboarding pages, which means the upload field is frequently reachable by anyone who can load the page.

The vulnerability described here is CVE-2026-32475, rated CVSS 9.0. It allows a completely unauthenticated attacker to upload a PHP web shell through the File Upload field and obtain remote code execution on the WordPress site. The author's summary is blunt: no login, no password, no CSRF token and no prior account are needed, only a single crafted multipart form submission. The uploaded file lands in a publicly accessible directory and executes at the privilege level of the web server.

A logic flaw in Elementor Pro’s Forms widget lets attackers upload a PHP web shell with zero authentication — here’s how it works and how to check if you’re exposed From the original on medium.com

The image is the article's header card, captioned with the core claim: a logic flaw in Elementor Pro's Forms widget lets attackers upload a PHP web shell with zero authentication.

Setup

The report gives no test lab, no account setup and no tooling list. The only version information it provides is the affected and fixed range:

Item Detail
Affected Elementor Pro 4.2.1 and earlier
Fixed Elementor Pro 4.2.2, released 19 August 2026
Authentication required None
Attack surface Forms widget File Upload field

The report does not describe any configuration requirement beyond a form using the File Upload field. The report does not describe any other configuration requirement.

Finding it

The report frames the bug as a logic mismatch rather than a missing check. Elementor validates uploaded files in one loop and processes them in another, and the two loops disagree when a multipart upload contains an empty filename. That disagreement is what the attacker abuses: the extension blocklist is bypassed entirely and the payload part is written to disk.

Exploitation

Step 1: Submit two file parts under the same upload field

The attacker sends a single multipart form submission to a form containing the File Upload field. The submission carries two file parts under the same field name: the first with an empty filename, the second carrying a disguised PHP payload. The report does not reproduce the raw request, so the exact field name, boundary, headers and payload bytes are not available here.

Step 2: Bypass the extension blocklist

Because of the mismatch between the validation loop and the processing loop, the extension check does not apply to the part that is ultimately stored. The report states that this bypasses the extension blocklist entirely.

Step 3: The shell lands in a web-accessible directory

The processed file is written into a publicly accessible uploads directory. From there it can be requested over HTTP and executes at the privilege level of the web server, giving the attacker remote code execution.

The report does not include a request, a response, a command or a proof-of-execution output for any of these steps.

Root cause

The mistake is a logic mismatch between Elementor's file validation loop and its file processing loop when handling an empty filename in a multipart upload. The two loops disagree when a multipart upload contains an empty filename, so the extension blocklist is bypassed entirely.

The report says the extension blocklist was bypassed entirely, without describing how the blocklist itself behaved. The report does not discuss any additional controls such as filename randomisation, execution restrictions in the uploads directory, or server-level rules.

Impact

An unauthenticated attacker can upload a working PHP web shell and achieve full remote code execution on the site, running as the web server user. The report puts the affected population at an ecosystem of 10M+ installs and warns that unauthenticated, low-complexity file-upload-to-RCE bugs in widely deployed plugins are the kind of issue that gets automated into mass-scanning botnets within days of public disclosure.

The report singles out sites with job application forms, support portals or vendor onboarding pages using Elementor Forms as needing emergency patching.

Fix

Upgrade Elementor Pro to version 4.2.2, released 19 August 2026, which contains the fix. The report treats this as an emergency patch rather than a backlog item for anyone managing WordPress sites for clients.

The report also points to a fuller technical breakdown covering the exact exploit mechanics step by step, indicators of compromise, WP-CLI and log-grep commands to check exposure and detect active compromise, and a prioritised detection and prevention checklist. Those commands and indicators are not reproduced in this article; they are linked at:

Text
https://www.xpert4cyber.com/2026/08/elementor-pro-rce-vulnerability.html

Variants to test

The report does not propose variants. The following follow from the described mechanism and are worth trying on other targets, with the caveat that none of them is confirmed by the report.

  1. Duplicate file parts with an empty filename on other plugins that validate and then move uploads in separate passes. A positive result is a stored file whose extension was never checked, reachable over HTTP.
  2. Different orderings of the empty-filename part and the payload part. A positive result is the same mismatch, showing the bug is about index alignment rather than a specific ordering.
  3. Other multipart oddities that desynchronise validation from processing, such as missing filename parameters or unusual content types on one part. A positive result is a file written to the uploads directory that the blocklist should have rejected.
  4. Requesting the stored file directly to confirm execution. A positive result is the payload running as the web server user rather than being served as inert content.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 11 min read.

What happened, in plain words

A very popular add-on for WordPress websites, called Elementor Pro, had a serious security hole. WordPress is the software many people use to build and run a website; an add-on (called a "plugin") is an extra piece of software you install into WordPress to add features. Elementor Pro is a page builder, meaning it lets you design web pages by dragging things around instead of writing code.

One of its features is the Forms widget. A widget is a ready-made block you drop onto a page. The Forms widget creates a form, the kind of thing where a visitor types their name, email address and a message and presses Send. Some of these forms include a File Upload field, which lets the visitor attach a file, for example a CV when applying for a job.

The hole, tracked under the identifier CVE-2026-32475, let anyone at all upload a small program written in PHP (the programming language WordPress runs on) and then make the website run it. Running your own code on someone else's server is called remote code execution, or RCE. The report rates the severity as CVSS 9.0. CVSS is a standard scoring system for how bad a security flaw is, running from 0 to 10, where 10 is the worst.

The most alarming part is that the attacker needed no account, no password and no special permission. They only had to send one specially built form submission through the File Upload field. The uploaded program then sat in a folder that anyone on the internet can reach, and when it was requested it ran with the same powers as the web server itself.

A logic flaw in Elementor Pro’s Forms widget lets attackers upload a PHP web shell with zero authentication — here’s how it works and how to check if you’re exposed From the original on medium.com

The image is the article's header card. Its caption sums up the claim: a logic flaw in Elementor Pro's Forms widget lets attackers upload a PHP web shell with zero authentication.

A few words used above deserve a plain explanation before we go further:

  • Web shell: a small program uploaded to a server that lets the attacker run commands on it through their browser, like a remote control for the machine.
  • Authentication: proving who you are, normally with a username and password. "Unauthenticated" means the attacker did not prove anything at all.
  • Logic flaw: a mistake in how the steps of a program are arranged, rather than a single missing check. The program does each step correctly, but the steps do not fit together properly.

Context

Elementor Pro is a page builder plugin for WordPress. The affected component is its Forms widget, and specifically the File Upload field inside it. Forms built with that widget are commonly used for job applications, support portals and vendor onboarding pages. A support portal is a page where customers submit questions; vendor onboarding is the process of signing up suppliers. In all these cases the upload field is frequently reachable by anyone who can simply load the page, which is what makes the flaw so exposed.

The vulnerability is CVE-2026-32475, rated CVSS 9.0. It allows a completely unauthenticated attacker to upload a PHP web shell through the File Upload field and obtain remote code execution on the WordPress site. The author's summary is blunt: no login, no password, no CSRF token and no prior account are needed, only a single crafted multipart form submission. The uploaded file lands in a publicly accessible directory and executes at the privilege level of the web server.

Two more terms from that paragraph:

  • CSRF token: a secret value a website puts into a form so it can tell that the submission really came from its own page and not from somewhere else. It is a guard against tricking a logged-in user's browser into sending a request. Here the point is that the attacker did not even need one.
  • Multipart form submission: the standard way a browser sends a form that includes files. The data is split into several labelled chunks called "parts", each with its own small set of headers describing it, and the whole thing is sent in one request.

Setup

The report gives no test lab, no account setup and no tooling list. The only version information it provides is the affected and fixed range:

Item Detail
Affected Elementor Pro 4.2.1 and earlier
Fixed Elementor Pro 4.2.2, released 19 August 2026
Authentication required None
Attack surface Forms widget File Upload field

"Attack surface" means the parts of a system an outsider can reach and try to abuse. Here it is the upload field on a public form. The report does not describe any configuration requirement beyond a form using the File Upload field. The report does not describe any other configuration requirement.

Finding it

The report frames the bug as a logic mismatch rather than a missing check. Elementor validates uploaded files in one loop and processes them in another, and the two loops disagree when a multipart upload contains an empty filename.

A loop is a piece of code that repeats the same steps over a list of items, one after another. Think of a bouncer checking a queue of guests one by one: that is a loop. Elementor has two such passes over the uploaded parts: one pass checks each file against a blocklist (a list of forbidden file types, such as .php), and a second pass actually saves the files to disk.

That disagreement is what the attacker abuses: the extension blocklist is bypassed entirely and the payload part is written to disk. An everyday comparison: a security guard checks the bag of the first person in line, but the porter carries the second person's bag into the building. The check happened, it just happened to the wrong thing.

Exploitation

Step 1: Submit two file parts under the same upload field

The attacker sends a single multipart form submission to a form containing the File Upload field. The submission carries two file parts under the same field name: the first with an empty filename, the second carrying a disguised PHP payload. A payload is the content the attacker wants to get onto the target, in this case the web shell program. "Disguised" means made to look like something harmless.

The report does not reproduce the raw request, so the exact field name, boundary, headers and payload bytes are not available here. (The boundary is the marker string that separates the parts of a multipart body so the receiving server can tell where one part ends and the next begins.)

Why do it this way? Because the whole trick depends on the two passes disagreeing about which part is which. Sending two parts under one field name, with the first one deliberately empty, is what creates that confusion.

Step 2: Bypass the extension blocklist

Because of the mismatch between the validation loop and the processing loop, the extension check does not apply to the part that is ultimately stored. The extension is the ending of a filename, such as .jpg or .php, and servers often use it to decide how to treat a file. The report states that this bypasses the extension blocklist entirely.

Why does this matter? Because the blocklist was the defence meant to stop exactly this kind of upload. It was present, but it was applied to the wrong part of the request, so it never saw the dangerous file.

Step 3: The shell lands in a web-accessible directory

The processed file is written into a publicly accessible uploads directory. From there it can be requested over HTTP and executes at the privilege level of the web server, giving the attacker remote code execution.

In plain words: the file is saved in a folder that the website serves to visitors, like a public noticeboard. The attacker then opens it in their browser like any other page. Because the server treats it as a program rather than a picture or document, it runs it, with the same permissions the web server itself has. "Privilege level" simply means how much the running program is allowed to do on the machine.

The report does not include a request, a response, a command or a proof-of-execution output for any of these steps.

Root cause

The mistake is a logic mismatch between Elementor's file validation loop and its file processing loop when handling an empty filename in a multipart upload. The two loops disagree when a multipart upload contains an empty filename, so the extension blocklist is bypassed entirely.

The report says the extension blocklist was bypassed entirely, without describing how the blocklist itself behaved. The report does not discuss any additional controls such as filename randomisation, execution restrictions in the uploads directory, or server-level rules. Those would be extra safety nets: renaming uploaded files unpredictably, telling the server never to run programs from the uploads folder, or blocking such requests at the web server level.

Impact

An unauthenticated attacker can upload a working PHP web shell and achieve full remote code execution on the site, running as the web server user. The report puts the affected population at an ecosystem of 10M+ installs and warns that unauthenticated, low-complexity file-upload-to-RCE bugs in widely deployed plugins are the kind of issue that gets automated into mass-scanning botnets within days of public disclosure.

A botnet is a large collection of compromised machines controlled together, and mass scanning means automatically probing huge numbers of websites for the flaw. "Low complexity" means the attack is easy to carry out, so it is easy to automate. The report singles out sites with job application forms, support portals or vendor onboarding pages using Elementor Forms as needing emergency patching.

Fix

Upgrade Elementor Pro to version 4.2.2, released 19 August 2026, which contains the fix. The report treats this as an emergency patch rather than a backlog item for anyone managing WordPress sites for clients. In other words: do it now, do not put it on the list for next month.

The report also points to a fuller technical breakdown covering the exact exploit mechanics step by step, indicators of compromise, WP-CLI and log-grep commands to check exposure and detect active compromise, and a prioritised detection and prevention checklist. An indicator of compromise is a trace left behind by an attack that you can look for. WP-CLI is a tool for managing WordPress from the command line, and log-grep means searching server log files for patterns. Those commands and indicators are not reproduced in this article; they are linked at:

Text
https://www.xpert4cyber.com/2026/08/elementor-pro-rce-vulnerability.html

That block is simply the web address of the fuller write-up. Nothing in it needs to be run; you would paste it into your browser's address bar.

Variants to test

The report does not propose variants. The following follow from the described mechanism and are worth trying on other targets, with the caveat that none of them is confirmed by the report.

  1. Duplicate file parts with an empty filename on other plugins that validate and then move uploads in separate passes. A positive result is a stored file whose extension was never checked, reachable over HTTP.
  2. Different orderings of the empty-filename part and the payload part. A positive result is the same mismatch, showing the bug is about index alignment rather than a specific ordering.
  3. Other multipart oddities that desynchronise validation from processing, such as missing filename parameters or unusual content types on one part. A positive result is a file written to the uploads directory that the blocklist should have rejected.
  4. Requesting the stored file directly to confirm execution. A positive result is the payload running as the web server user rather than being served as inert content.

"Index alignment" here means the two loops counting the parts in the same order and pairing them up correctly. "Desynchronise" means making the checking pass and the saving pass see different things. "Inert content" means a file that is just handed to the browser as data and never executed.

Glossary

  • Authentication: proving who you are, usually with a username and password.
  • Botnet: a large network of compromised machines controlled together to carry out attacks at scale.
  • Boundary: the marker string in a multipart request that separates one part from the next.
  • CSRF token: a secret value placed in a form so the site can confirm the submission came from its own page.
  • CVSS: a standard 0 to 10 score for the severity of a security flaw.
  • CVE: a public identifier given to a known security vulnerability so people can refer to it unambiguously.
  • Extension: the ending of a filename, such as .jpg or .php, often used to decide how a file is handled.
  • File Upload field: a form field that lets a visitor attach a file.
  • Forms widget: the Elementor Pro block that builds forms on a page.
  • Indicator of compromise: a trace left by an attack that can be searched for afterwards.
  • Inert content: a file served as plain data and never executed by the server.
  • Logic flaw: a mistake in how the steps of a program fit together, rather than a single missing check.
  • Loop: code that repeats the same steps over a list of items.
  • Multipart form submission: the standard format for sending a form that includes files, split into labelled parts.
  • Page builder: software that lets you design web pages visually instead of writing code.
  • Payload: the content an attacker wants to deliver to a target, here the web shell.
  • PHP: the programming language WordPress and most of its plugins are written in.
  • Plugin: an add-on installed into WordPress to add features.
  • Privilege level: how much a running program is permitted to do on a machine.
  • Remote code execution (RCE): making a remote server run code of the attacker's choosing.
  • Unauthenticated: done without proving any identity, so no account or password is needed.
  • Web server: the software that answers requests for a website and serves its pages and files.
  • Web shell: a small uploaded program that lets an attacker run commands on a server through a browser.
  • Widget: a ready-made block you drop onto a page in a page builder.
  • WordPress: the widely used software for building and running websites.
  • WP-CLI: a command-line tool for managing a WordPress installation.
  • Log-grep: searching server log files for a pattern of text.

More by xpert4cyber

View all

11 more disclosed reports, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.