Two loops, one blocklist bypass: Elementor Pro's upload field becomes unauthenticated RCE
CVE-2026-32475 carries a CVSS of 9.0 and needs nothing more than a published form with a file upload field. Patchstack says version 4.2.2 fixes it.
The Watch · Security desk
What happened
- Researchers disclosed a critical flaw in the Elementor Pro WordPress plugin, tracked as CVE-2026-32475, with a CVSS score of 9.0 out of 10.0, described as unrestricted upload of a file with a dangerous type and capable of leading to remote code execution.
- Patchstack said the flaw lives in the Forms module's File Upload field, where the extension check and the file-move step run in two separate loops with different handling of empty file entries.
- Patchstack: "By submitting two file parts for the same field, an unauthenticated attacker skips the extension blocklist entirely and writes a PHP file into a public directory."
- The vulnerability impacts all versions of Elementor Pro prior to and including version 4.2.1.
- The issue was reported to Elementor Pro on July 16, 2026, and a patch, version 4.2.2, was released on August 19.
Why it matters
Patchstack has disclosed CVE-2026-32475, a critical flaw in the Elementor Pro WordPress plugin rated 9.0 out of 10.0 on CVSS and classed as unrestricted upload of a file with a dangerous type [3]. Every version up to and including 4.2.1 is affected, and the fix landed in 4.2.2 on August 19 after the report went to Elementor on July 16, 2026 [4][5].
The mechanism is a validation-and-action split, not a missing check. According to Patchstack, the extension check and the file-move step in the Forms module's File Upload field run in two separate loops that handle empty file entries differently [1]. "By submitting two file parts for the same field, an unauthenticated attacker skips the extension blocklist entirely and writes a PHP file into a public directory," the company said [2]. The write lands at wp-content/uploads/elementor/forms/ under a name produced by PHP's uniqid() function, with a .php extension [6]. No login, no privilege, no user interaction on the victim side.
The precondition is the part that should decide your patch window. Patchstack says the only requirement is that the site has at least one published Elementor page with a Form widget containing a File Upload field [15]. It called that "an extremely common, everyday configuration," citing job-application forms, attach-a-photo/ID/receipt forms and support-ticket attachments, and noted that the field's "Required" toggle defaults to off, so no hardened or unusual setting is needed [16]. The source material does not put a number on installs, so treat exposure as a question about your own page inventory rather than a headline figure: if marketing shipped a careers form, you are in scope. Tin Pham, also known as TF1T, is credited with the find under the Patchstack Bug Bounty Program [8].
It arrives on top of a core-level problem. A little over a week earlier [13], WordPress shipped 7.0.4 for CVE-2026-65640, CVSS 8.8, remote code execution via a malicious Postscript file uploaded by an Author-level user or higher, affecting core 4.7 through 7.0 [9]. That one needs two things to be true: Imagick and Ghostscript in use on the server, and an attacker holding the upload_files capability [10]. Patchstack says the update changes how WordPress hands uploaded media to ImageMagick and closes the path from an ordinary-looking image upload to code execution [11], and argues the privilege bar is low on multi-author publications, membership sites and client sites with contributors or loose registration [12].
Thirty-four days passed between report and patch on the Elementor issue [14], which is the window in which someone else could have found the same two loops.
What to watch: whether exploitation shows up against the uploads/elementor/forms path, and whether either bug feeds StopAndProtect, the operation Patchstack ties to thousands of compromised WordPress sites repurposed for malware delivery, command-and-control and storage of stolen data [17]. The stated hygiene remains unglamorous: patch, scan for unauthorised modifications serving unexpected redirects or pop-ups, and audit for unknown accounts and plugins [7].
Clarity's read
What the record supports and how the coverage leans. The claims behind it follow.
Reality
- Evidence70
- Adoption
- Not scored
- Hype gap+25
- Incentives55
- Confidence68
Perspective Coverage
4 publishers- Builder
- Builder 34%
- Operator
- Operator 59%
- Investor
- Investor 7%
Claim ledger
Ranked by verification strength, evidence, and original report placement.
- [1]
Patchstack said the flaw lives in the Forms module's File Upload field, where the extension check and the file-move step run in two separate loops with different handling of empty file entries.
- [2]
Patchstack: "By submitting two file parts for the same field, an unauthenticated attacker skips the extension blocklist entirely and writes a PHP file into a public directory."
- [3]
Researchers disclosed a critical flaw in the Elementor Pro WordPress plugin, tracked as CVE-2026-32475, with a CVSS score of 9.0 out of 10.0, described as unrestricted upload of a file with a dangerous type and capable of leading to remote code execution.
- [4]
The vulnerability impacts all versions of Elementor Pro prior to and including version 4.2.1.
- [5]
The issue was reported to Elementor Pro on July 16, 2026, and a patch, version 4.2.2, was released on August 19.
- [6]
The uploaded file is written as "wp-content/uploads/elementor/forms/<uniqid>.php", where <uniqid> is the output of PHP's uniqid() function.
- [7]
WordPress users are advised to keep websites and plugins up to date, scan for unauthorized modifications that serve unexpected redirects or pop-ups, and audit for unknown accounts and plugins.
- [8]
Security researcher Tin Pham (aka TF1T) is credited with discovering and reporting the flaw under the Patchstack Bug Bounty Program.
- [9]
WordPress released 7.0.4 to address a high-severity issue, CVE-2026-65640 with a CVSS score of 8.8, enabling remote code execution via malicious Postscript file upload by an Author-level user or higher, affecting WordPress core versions 4.7 up to 7.0.
- [10]
For the WordPress core attack to succeed, two conditions must be satisfied: Imagick and Ghostscript in use on the server, since the issue is in Ghostscript's handling of certain embedded files, and a malicious user with the upload_files capability.
- [11]
Patchstack said the update "changes how WordPress hands your uploaded media to ImageMagick, and it closes a path that could let a logged-in author turn an ordinary-looking image upload into code execution on your server".
- [12]
Patchstack said that if you run a multi-author publication, a membership site, a client site with contributors, or anything with open or loosely managed registration, the privilege bar is a lot lower than it sounds, and an Author uploading a booby-trapped 'image' is a genuinely realistic threat.
- [13]
The Elementor Pro disclosure comes a little over a week after WordPress released 7.0.4.
- [14]
Thirty-four days elapsed between the July 16, 2026 report to Elementor Pro and the August 19 release of version 4.2.2.
- [15]
Patchstack said the only precondition for an attack is that the target site has at least one published Elementor page containing a Form widget with a File Upload field.
- [16]
Patchstack said the configuration is "an extremely common, everyday configuration", citing job-application forms, 'attach a photo/ID/receipt' forms and support-ticket attachments, and noted the field's 'Required' toggle being off is its default state, so no hardened or unusual setting is needed.
- [17]
The findings coincide with the discovery of a large-scale operation dubbed StopAndProtect that is turning thousands of compromised WordPress websites into distributed infrastructure for malware delivery, command-and-control communications and storage of stolen data.
Sources
4 independent publishers whose own reporting we read for this story.
- bleepingcomputer.comCritical Elementor Pro bug exposes WordPress sites to RCE attacks
1 article · August 20, 2026
- orca.securityCritical Elementor Pro File Upload Flaw Enables Unauthenticated Remote Code Execution on WordPress Sites
1 article · August 20, 2026
- scworld.comCritical vulnerability in Elementor Pro allows unauthenticated file upload and RCE
1 article · August 20, 2026
- thehackernews.comElementor Pro Flaw Could Let Unauthenticated Attackers Upload PHP and Execute Code
2 articles · August 20, 2026
Topics and entities
Topics
- Remote Code Execution Surfaces
- File Upload Vulnerabilities
- WordPress Plugin Security