← Back to blog
Blog Detail

CVE-2026-84434: Critical Gravity Forms RCE with Public PoC — Patch Now

A critical arbitrary file upload flaw in Gravity Forms (CVE-2026-84434) lets unauthenticated attackers reach remote code execution through hidden upload fields. A public PoC exists and CISA added it to KEV, so internet-facing sites on versions up to 3.1.0.4 should be treated as exposed.

Trusteed Team
Trusteed Editorial
Written On
Oct 11, 2026
Category
Research
Read Time
9 min read
  • ['CVE-2026-84434'
  • 'Emergent'
  • 'RCE'
  • 'PoC'
  • 'Critical'
  • 'CTEM'
  • 'WordPress'
  • 'Gravity Forms']
CVE-2026-84434: Critical Gravity Forms RCE with Public PoC — Patch Now

CVE-2026-84434: Critical Gravity Forms RCE with Public PoC — Patch Now

TL;DR

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. Unauthenticated attackers can upload executable files through a File Upload field whose Visibility is set to "Hidden," leading to remote code execution (RCE). A public proof-of-concept (PoC) is available on GitHub, and CISA added the CVE to its Known Exploited Vulnerabilities (KEV) catalog on 2026-09-19. If you run an internet-facing WordPress site with Gravity Forms <= 3.1.0.4, assume you are exposed and patch immediately.

What this is

On September 19, 2026, a critical vulnerability in the Gravity Forms WordPress plugin was publicly disclosed and assigned CVE-2026-84434. The flaw resides in the plugin's upload_file function and stems from a mismatch between the field validation pipeline and the file persistence pipeline. When a File Upload field is configured with Visibility set to "Hidden," extension validation is bypassed, and a rejected file's intact upload state is later passed to upload_file() without re-validation. This allows an unauthenticated attacker to upload files that may be executable, resulting in remote code execution.

The vulnerability carries a CVSS 3.1 base score of 9.8 (CRITICAL) with the vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, reflecting a network-reachable, no-privilege, no-interaction issue with high confidentiality, integrity, and availability impact. A public PoC repository exists on GitHub, lowering the barrier for opportunistic exploitation. CISA added the CVE to KEV on 2026-09-19, confirming active exploitation in the wild. EPSS currently sits at approximately 0.0276 (85.6th percentile), indicating that while mass scanning is not yet dominant, targeted abuse is likely given the KEV listing and available PoC.

Why it matters

This is not a theoretical risk. The combination of a critical CVSS score, a public PoC, and a KEV listing means attackers are already exploiting this vulnerability. Gravity Forms is widely deployed on lead-generation, e-commerce, and marketing sites, making the pool of potentially exposed targets large. Because exploitation requires only that a publicly accessible form contains a hidden File Upload field, many sites may be vulnerable without realizing it. The impact is severe: full remote code execution under the web server's user account, leading to webshell persistence, data theft, lateral movement, and potential ransomware or defacement.

How it works

At its core, CVE-2026-84434 is a logic flaw classified as CWE-434 (Unrestricted Upload of File with Dangerous Type), compounded by insufficient input validation (CWE-20) and a state-management weakness where a rejected artifact is not cleared. Gravity Forms processes file uploads in two stages: validation (checking file extensions against an allow-list) and persistence (writing the file to disk). When a File Upload field has Visibility set to "Hidden," the field does not pass through the same extension checks as a visible field. Additionally, when a file is rejected during validation, the plugin does not fully discard the upload state; that intact state can later be handed to upload_file() without a second validation pass.

An attacker can submit a file with a dangerous extension (e.g., .php), have it rejected by one code path, and still have the underlying upload object reach the persistence function. The file is then written to a web-accessible directory, typically under wp-content/uploads/gravity_forms/. If the hosting environment allows execution of PHP files in that directory, the attacker achieves remote code execution.

The prerequisites are narrow but realistic: the target site must run a vulnerable Gravity Forms version, must expose a form containing a File Upload field with Hidden visibility, and that form must be reachable by unauthenticated users. No account, session, or user interaction is required.

All versions of Gravity Forms up to and including 3.1.0.4 are affected. The vulnerability is reachable by unauthenticated attackers on any publicly accessible form that includes a File Upload field with Visibility set to "Hidden." Sites that do not use hidden file upload fields are not exploitable, but given the plugin's popularity, many sites may inadvertently meet this condition.

Detection and response

The hypothesis to test is whether an internet-facing WordPress site runs Gravity Forms <= 3.1.0.4 and exposes a public form with a hidden File Upload field, and whether any upload directory already contains executable files.

Evidence that confirms or rejects it comes from four places. First, the exposed asset: inventory all WordPress installations running Gravity Forms, check the plugin version, and audit forms for hidden File Upload fields, paying special attention to internet-facing sites, as they are the primary targets. Second, the version and advisory match: confirm the installed version against the affected range and the published advisories. Third, file system evidence: presence of PHP files or other executable scripts in wp-content/uploads/gravity_forms/ or subdirectories, newly created files with web shell signatures (e.g., eval(, base64_decode(, system(, passthru(), and unexpected changes to wp-config.php, .htaccess, or plugin/theme files. Fourth, log and process evidence: web server access logs showing POST requests to Gravity Forms endpoints followed by GET requests to files in the uploads directory, especially requests returning HTTP 200 for script-like paths; WordPress debug or application logs containing validation-rejection messages immediately followed by successful persistence or upload-complete events for the same request; and unusual child processes spawned by the web server process (e.g., apache2, nginx, php-fpm) such as bash, curl, wget, or python with suspicious arguments.

Additional network evidence includes unexpected HTTP POST requests to WordPress form submission endpoints (e.g., wp-admin/admin-ajax.php or Gravity Forms REST endpoints) containing file upload parameters with executable file extensions (e.g., .php, .phtml, .php5, .phar, .shtml), and outbound connections from the web server to unknown external IPs following form submissions. Other signals include new administrative users created without a change ticket, and repeated 404/403 responses for script-like filenames in upload directories, which often indicate an attacker probing for a previously dropped webshell.

Dark Trusteed insight card titled &amp;#39;Hidden upload fields, one request from remote code execution&amp;#39;, tagged CTEM and CISA KEV for CVE-2026-84434. Four fact rows state exposure (Gravity Forms 3.1.0.4 or earlier on internet-facing WordPress, unauthenticated), vector (hidden upload field to executable file to RCE), exploit status (public PoC, trivial weaponisation), and action (patch, disable hidden upload fields, block executable uploads at the edge). Footer shows the Trusteed mark with &amp;#39;Trusteed Threat Research&amp;#39;.

Insight card for CVE-2026-84434: unauthenticated uploads through hidden Gravity Forms fields lead to remote code execution. Internet-facing WordPress sites on Gravity Forms 3.1.0.4 or earlier are exposed, a public proof-of-concept exists, CISA has added it to KEV, and the first move is to patch and hunt upload directories for web shells.

Defenders should treat any observed sequence matching the exploitation pattern as active exploitation and initiate incident response immediately. Proactive hunting can uncover exploitation attempts or successful compromises: query web server logs for POST requests to Gravity Forms endpoints with multipart bodies containing file extensions not in the site's allow-list, look for subsequent GET requests to files in upload directories, especially those returning HTTP 200, search the host for recently modified files in wp-content/uploads/ and scan for web shell signatures, monitor for outbound network connections from the web server to unfamiliar IPs, use EDR to detect unusual child processes spawned by the web server user, and review WordPress user accounts for unauthorized additions and changes to core files.

What to do

  1. Inventory: Identify all WordPress sites running Gravity Forms. Check plugin versions and form configurations.
  2. Prioritize: Patch internet-facing sites first, especially those with hidden File Upload fields on public forms.
  3. Upgrade: Update Gravity Forms to a version newer than 3.1.0.4. If a fixed version is not yet available, apply the workarounds below.
  4. Apply compensating controls if you cannot patch immediately: Disable or remove any File Upload fields whose Visibility is set to "Hidden" on publicly accessible forms, or restrict those forms to authenticated users; enforce server-side rules that block execution of scripts inside wp-content/uploads/ (e.g., php_admin_flag engine off or equivalent directives in the web server configuration); add a WAF rule that rejects multipart uploads with dangerous extensions to Gravity Forms endpoints; restrict filesystem permissions so the web server user cannot write outside expected upload directories, and monitor those directories for new files; rotate WordPress salts, database credentials, and any API keys stored on the host if you suspect exploitation, and review administrative accounts for unauthorized additions; and confirm that backups are current and restorable before making changes, so that remediation does not create new availability risk.
  5. Verify: After patching, confirm the plugin version and re-audit forms to ensure no hidden upload fields remain on public forms.
  6. Monitor: Continue monitoring for indicators of compromise for at least 30 days post-patch, as attackers may have established persistence.
  7. Incident Response: If compromise is suspected, isolate the affected host, preserve evidence, rotate credentials, and conduct a thorough investigation. Consider rebuilding the site from a known-good backup.

FAQ

Q: Is CVE-2026-84434 on CISA KEV? A: Yes, CISA added it to the Known Exploited Vulnerabilities catalog on 2026-09-19.

Q: What versions of Gravity Forms are affected? A: All versions up to and including 3.1.0.4.

Q: Can an unauthenticated attacker exploit this? A: Yes, if a publicly accessible form contains a File Upload field with Visibility set to "Hidden."

Q: Is there a public PoC? A: Yes, a public proof-of-concept repository exists on GitHub (murrez/CVE-2026-84434).

Q: What is the CVSS score? A: 9.8 (Critical) with vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Q: How can I mitigate if I cannot patch immediately? A: Disable hidden File Upload fields on public forms, block script execution in upload directories, and deploy WAF rules to reject dangerous file extensions.

Q: What are the signs of exploitation? A: Look for POST requests with executable file extensions to Gravity Forms endpoints, new PHP files in upload directories, and unusual child processes spawned by the web server.

Q: Does this affect all WordPress sites? A: No, only those running vulnerable Gravity Forms versions with a publicly accessible form containing a hidden File Upload field.

Q: What should I do if I suspect compromise? A: Isolate the host, preserve evidence, rotate credentials, and conduct a full incident response investigation. Consider rebuilding the site from a known-good backup.

Q: Where can I find more information? A: Refer to the Wordfence advisory, GitHub advisory, and CISA KEV catalog. Links are provided in the Sources section.

Sources

Join Our Newsletter

Trusteed keeps you informed: emerging risks, platform updates, and practical guides for faster defense.