
Cloud Vulnerability DB
A community-led vulnerabilities database
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).
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).
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).
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).
/wp-content/plugins/gravityforms/gravityforms.php or parsing version strings from asset query parameters (e.g., ?ver=3.1.0.4)./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}.<input type="file"> elements within field blocks that carry visibility classes such as gfield_visibility_hidden or gform_hidden.email@example.com for email fields, 5550100 for phone) to satisfy server-side validation for non-hidden fields./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.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)./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./wp-content/uploads/gravity_forms/ directories; files with executable extensions that do not match expected media types (images, PDFs, etc.)./wp-content/uploads/gravity_forms/[path]/[filename].php; repeated form submissions from the same IP with varying file names or MIME types.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).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).
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).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."