CVE-2026-84434: 
WordPress vulnerability analysis and mitigation

Overview

CVE-2026-84434 is a critical arbitrary file upload vulnerability in the Gravity Forms plugin for WordPress, affecting all versions up to and including 3.1.0.4. The flaw exists in the upload_file function and enables unauthenticated remote code execution on affected WordPress sites. It was published on September 19, 2026, with a patch made available the same day. The vulnerability carries a CVSS v3.1 base score of 9.8 (Critical) and an EPSS score of approximately 3.91% (GitHub Advisory, Wordfence).

Technical details

The root cause is a logic flaw (CWE-434: Unrestricted Upload of File with Dangerous Type) stemming from a mismatch between the field validation pipeline and the file persistence pipeline in Gravity Forms. When a File Upload field is configured with its Visibility set to 'Hidden', the extension validation step is bypassed; a rejected file's intact upload state is subsequently passed to upload_file() without re-validation, allowing executable files (e.g., PHP webshells) to be written to disk. Exploitation requires no authentication or user interaction — the only precondition is that the targeted WordPress site hosts a publicly accessible Gravity Forms form containing a hidden file upload field. A public Python PoC (poc.py) is available that automates both detection and exploitation via multipart POST requests to /wp-admin/admin-ajax.php (GitHub Advisory, PoC Repository).

Impact

Successful exploitation allows an unauthenticated attacker to upload and execute arbitrary PHP code on the web server, resulting in full remote code execution as the web server user (e.g., www-data, apache, or nginx). This grants high confidentiality, integrity, and availability impact — attackers can read sensitive WordPress configuration files (including database credentials), modify site content, install persistent backdoors, and use the compromised server as a pivot point for lateral movement into internal networks. The uploaded webshell is placed under /wp-content/uploads/gravity_forms/, a publicly accessible directory, making post-exploitation trivial (GitHub Advisory, Wordfence).

Exploitability

A functional, high-confidence Python proof-of-concept exploit (poc.py) was published on GitHub on September 19, 2026, within hours of the CVE's disclosure, supporting both scanning (--mode check) and active exploitation (--mode exploit) modes (PoC Repository). A Nuclei detection template was also committed to the ProjectDiscovery nuclei-templates repository, enabling automated scanning at scale. The vulnerability is automatable (no authentication or user interaction required), and Qualys has published a detection (ID 532626). As of the time of reporting, there is no confirmed evidence of in-the-wild exploitation or known threat actor attribution, and the CVE is not listed in the CISA KEV catalog. The EPSS score is 3.91% (GitHub Advisory).

Exploitation steps

  1. Reconnaissance: Use tools like Shodan, Censys, or the PoC's built-in detection mode to identify WordPress sites running Gravity Forms ≤ 3.1.0.4. Check for plugin presence by probing /wp-content/plugins/gravityforms/gravityforms.php or parsing version strings from asset query parameters (e.g., ?ver=3.1.0.4).
  2. Discover public forms: Crawl common paths (/contact/, /contact-us/, /apply/, /register/, /donate/, etc.) and extract Gravity Forms form IDs from HTML patterns such as id="gform_wrapper_{ID}" or gform.{ID}.
  3. Identify hidden file upload fields: Parse the form HTML to locate <input type="file"> elements within field blocks that carry visibility classes such as gfield_visibility_hidden or gform_hidden.
  4. Construct a valid form submission: Extract required visible fields and generate placeholder values (e.g., email@example.com for email fields, 5550100 for phone) to satisfy server-side validation for non-hidden fields.
  5. Craft and submit the malicious payload: Build a multipart POST request targeting /wp-admin/admin-ajax.php (or the form's page URL), attaching a PHP webshell (e.g., <?php system($_GET['cmd']); ?>) with a .php extension and application/x-php MIME type via the hidden file upload field parameter. The hidden field bypasses extension validation, and upload_file() persists the file without re-validation.
  6. Verify upload and execute code: Parse the server response for success indicators (gform_confirmation, 'is_valid':true) and extract the uploaded file URL matching the pattern /wp-content/uploads/gravity_forms/[path]. Fetch the URL to confirm execution of the embedded PHP marker, then use the webshell for arbitrary command execution (PoC Repository, GitHub Advisory).

Indicators of compromise

  • Network: Unusual multipart POST requests to /wp-admin/admin-ajax.php or form page URLs containing file uploads with .php, .phtml, .phar, or other executable extensions; outbound connections from the web server to unknown external IPs following form submissions.
  • File System: Unexpected PHP files (e.g., webshells) under /wp-content/uploads/gravity_forms/ directories; files with executable extensions that do not match expected media types (images, PDFs, etc.).
  • Logs: Web server access logs showing POST requests to Gravity Forms endpoints followed shortly by GET requests to /wp-content/uploads/gravity_forms/[path]/[filename].php; repeated form submissions from the same IP with varying file names or MIME types.
  • Process: Unusual child processes spawned by the web server process (e.g., apache2, nginx, php-fpm) such as /bin/bash, curl, wget, python, or nc; unexpected outbound network connections initiated by PHP worker processes (PoC Repository, GitHub Advisory).

Mitigation and workarounds

Update the Gravity Forms plugin to a version newer than 3.1.0.4 immediately, as a patch was made available on September 19, 2026 (Gravity Forms Changelog). If immediate patching is not possible, audit all Gravity Forms configurations and change any File Upload field Visibility from 'Hidden' to a non-hidden setting, or temporarily disable forms containing hidden file upload fields. As an additional layer of defense, deploy Web Application Firewall (WAF) rules to block multipart file uploads containing executable extensions (.php, .phtml, .phar, etc.) to Gravity Forms endpoints, and restrict direct web access to the /wp-content/uploads/gravity_forms/ directory via server configuration (e.g., .htaccess or Nginx location blocks denying PHP execution) (Wordfence).

Community reactions

Wordfence included CVE-2026-84434 in its weekly WordPress vulnerability report for the period of September 14–20, 2026, highlighting it as a critical finding (Wordfence Weekly Report). The vulnerability attracted notable community attention on Reddit's r/Wordpress, where a thread titled "Major Vulnerability 9.8 CVSS in Gravity Forms" generated discussion among WordPress administrators. Security researchers noted the rapid availability of a public PoC and Nuclei detection templates within 24 hours of disclosure. Coverage also appeared in Digital Forensics Magazine's news roundup and on platforms including BeyondMachines and ThreatAft, reflecting broad awareness in the security community (Reddit).

Additional resources


Source: This report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-97345HIGH7.5
  • sumup-payment-gateway-for-woocommerce
NoYesNov 26, 2026
CVE-2026-92251HIGH7.5
  • zarinpal-woocommerce-payment-gateway
NoYesNov 26, 2026
CVE-2026-85416HIGH7.2
  • lenix-elementor-leads-addon
NoYesNov 26, 2026
CVE-2026-102001MEDIUM6.4
  • wpforo
NoYesNov 26, 2026
CVE-2025-8209MEDIUM6.4
  • ultimate-bootstrap-elements-for-elementor
NoYesNov 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management