# CVE-2026-12997: Gravity Forms Directory Traversal in gform_uploaded_files parameter

Source: https://junglewise.ai/threats/cve-2026-12997-gravity-forms-directory-traversal-in-gform-uploaded-files  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-15. Updated: 2026-07-15  
License: CC BY 4.0 with a link back

CVE-2026-12997 · Severity: high · CVSS 7.5 · Published 2026-07-15

Gravity Forms is a popular WordPress plugin used to create custom web forms for lead generation and payments. A security flaw allows unauthorized individuals to access and download sensitive files directly from the web server. This could lead to the exposure of configuration files, customer data, or other private information if a form is publicly accessible.

Technologies: [Rocketgenius Gravity Forms](https://junglewise.ai/threats/technologies/gravity-forms). Vendors: [Rocketgenius](https://junglewise.ai/threats/vendors/rocketgenius).

## Quick answers

**Is CVE-2026-12997 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-12997 being exploited in the wild.

**How severe is CVE-2026-12997?** High severity, with a CVSS score of 7.5, published 15 July 2026.

**Which products and versions are affected?** Rocketgenius Gravity Forms up to, and including, 2.10.4.

**Is there a fix for CVE-2026-12997?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-12997 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-12997?** Check whether you run Rocketgenius Gravity Forms at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A directory traversal vulnerability exists in Gravity Forms up to version 2.10.4 due to insufficient validation of the 'gform_uploaded_files' parameter. An unauthenticated attacker can exploit this by interacting with the 'process_send_resume_link' endpoint on a publicly accessible form. By supplying a crafted path in the vulnerable parameter and a recipient email address, the attacker can trigger the system to send an email notification with the requested server file attached. This allows for the exfiltration of sensitive files such as wp-config.php or other system data.

## Affected products

- Gravity Forms Gravity Forms up to, and including, 2.10.4

## Timeline

- 2026-07-15: disclosed
- 2026-07-15: advisory

## References

- [https://www.gravityforms.com/](https://www.gravityforms.com/)
- [https://www.wordfence.com/threat-intel/vulnerabilities/id/5c03c07f-8f41-47c2-bc95-d92a623f5f7c?source=cve](https://www.wordfence.com/threat-intel/vulnerabilities/id/5c03c07f-8f41-47c2-bc95-d92a623f5f7c?source=cve)

## Related threats

- [Gravity Forms plugin Stored Cross-Site Scripting in List Field](https://junglewise.ai/threats/cve-2026-97645-the-gravity-forms-plugin-for-wordpress-is-vulnerable-to-stored)
- [Gravity Forms plugin stored cross-site scripting in field values](https://junglewise.ai/threats/cve-2026-90437-the-gravity-forms-plugin-for-wordpress-is-vulnerable-to-stored)
- [Gravity Forms PHP Object Injection in Post Custom Field](https://junglewise.ai/threats/cve-2026-103039-the-gravity-forms-plugin-for-wordpress-is-vulnerable-to-php)
- [Gravity Forms PHP object injection vulnerability](https://junglewise.ai/threats/cve-2026-97296-deserialization-of-untrusted-data-vulnerability-in-rocketgenius)
- [Gravity Forms arbitrary file upload via multi-file chunk state](https://junglewise.ai/threats/cve-2026-19513-gravity-forms-arbitrary-file-upload-via-multi-file-chunk-state)
