CVE-2026-12997 Gravity Forms <= 2.10.4 - Unauthenticated Arbitrary File Read via 'gform_uploaded_files' Parameter

High 7.5 Published Updated

Unauthenticated attackers can read arbitrary server files via path traversal in Gravity Forms if a form is publicly accessible.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-12997?

CVE-2026-12997 is a high-severity path traversal vulnerability in Gravity Forms, published on 15 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Gravity Forms plugin for WordPress is vulnerable to Directory Traversal in all versions up to, and including, 2.10.4 via the 'gform_uploaded_files' parameter parameter. This makes it possible for unauthenticated attackers to read the contents of arbitrary files on the server, which can contain sensitive information. Exploitation requires the targeted form to not enforce login (so publicly accessible), which allows the unauthenticated attacker to reach the process_send_resume_link endpoint and supply an arbitrary recipient email address to receive the traversal-retrieved file as a notification attachment.

Weakness: CWE-22

Which versions are affected by CVE-2026-12997?

How do I fix CVE-2026-12997?

No fix has been published for CVE-2026-12997 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-12997 being exploited?

There is no known exploitation of CVE-2026-12997 in the wild and no public exploit code.

Sources

Also known as GHSA-r8c9-g283-4f2r.

Is CVE-2026-12997 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free