Skip to content
PatchBriefing

Search PatchBriefing

Type at least two characters. Results update as you type.

Search CVEs, products, packages and article titles.

Nothing found. Identifiers such as CVE and GHSA can be searched in both languages.

Subscribe

Critical · 9.8 WordPress CVE-2026-103039

Gravity Forms for WordPress: PHP Object Injection via List-Type Post Custom Field (CVE-2026-103039)

Gravity Forms for WordPress, versions up to and including 3.1.2, is vulnerable to unauthenticated PHP Object Injection through a Post Custom Field configured with the List input type. A fixed version has not been confirmed in the available data.

By PatchBriefing · ·

Produced automatically from official sources with the help of AI. How we work →

Synthesized by AI from 2 sources · updated 1 week ago

AI summary

A vulnerability has been identified in the Gravity Forms plugin for WordPress that allows unauthenticated attackers to inject a PHP object through a form field. The issue, tracked as CVE-2026-103039, carries a CVSS score of 9.8 and affects all plugin versions up to and including 3.1.2. This briefing explains the technical cause, the conditions required for exploitation, and what site owners should know.

What happened

A PHP Object Injection vulnerability has been identified in the Gravity Forms plugin for WordPress, affecting all versions up to and including 3.1.2. The vulnerability can be triggered through a Post Custom Field whose input type is set to List, and does not require authentication to exploit.

Technical cause

The vulnerability stems from how the plugin's GFFormsModel::create_post() function handles submitted field data. Instead of passing the value to the plugin's own hardened GFCommon::maybe_unserialize() function — which was introduced in version 3.1.1 and explicitly sets allowed_classes => false to prevent object instantiation — the submitted value is passed to WordPress' unrestricted global maybe_unserialize() function. When a List-type Post Custom Field has a content template enabled, the submitted row data reaches this unsafe call unmodified, allowing a PHP object to be injected into post meta. The plugin itself does not contain a gadget chain that would let an attacker turn this object injection into further impact on its own. However, if an additional plugin or theme installed on the same site provides a usable gadget chain, the vulnerability could be leveraged for actions such as remote code execution. A specific exploitation path has also been described where the custom field is mapped to the protected _wp_page_template meta key: WordPress core's validate_file() function accepts non-scalar input, and WP_Theme::__toString() subsequently resolves an attacker-controlled path. On hosts where a readable PEAR installation is present and the register_argc_argv setting is enabled, this combination can result in remote code execution.

Why this matters

This vulnerability can be exploited by unauthenticated attackers and requires no user interaction, which places it among the higher-risk categories of web application flaws. While the plugin itself does not ship a gadget chain, the presence of commonly used components — other plugins, themes, or specific server configurations such as a readable PEAR installation with register_argc_argv enabled — can escalate the impact from object injection to remote code execution. Given that Gravity Forms is widely deployed, the population of potentially affected sites is large, though actual exploitability depends heavily on each site's specific plugin, theme, and server configuration.

Affected versions

All versions of Gravity Forms up to and including 3.1.2 are affected. The plugin's own protective mechanism, GFCommon::maybe_unserialize() with allowed_classes => false, was introduced in version 3.1.1 but is not consistently applied to this code path, so earlier versions remain vulnerable as well.

Fixes and mitigation

The available source data references a fix associated with version 3.1.3, but this has not been independently confirmed as released and verified in the fact package, and is marked as not confirmed available. Site owners should treat this information as provisional and verify directly with the plugin vendor whether an update addressing CVE-2026-103039 has been published before relying on it as a complete mitigation.

Recommended action

Site owners running Gravity Forms should check with the plugin vendor for the latest available version and apply any update that addresses CVE-2026-103039 as soon as one is confirmed. In the interim, consider reviewing forms for Post Custom Fields using the List input type with a content template enabled, and evaluate whether this functionality can be disabled or restricted until a confirmed fix is applied. Sites should also review installed plugins and themes for components that could provide a PHP Object Injection gadget chain, and check server configuration for a readable PEAR installation combined with register_argc_argv, as this combination increases the severity of potential exploitation.

PatchBriefing score

9.8 / 10 · Critical

Official CVSS: 9.8

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS 0.0091 (58 percentile)

Why this score

The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.

Affected versions

Gravity Forms < 3.1.3
vulnerable
≥ 3.1.3
patched

Reported fixes

The available source data references a fix associated with version 3.1.3, but this has not been independently confirmed as released and verified in the fact package, and is marked as not confirmed available. Site owners should treat this information as provisional and verify directly with the plugin vendor whether an update addressing CVE-2026-103039 has been published before relying on it as a complete mitigation.

How this was built

2 source records were collected, matched and used to prepare the report above.

  • WPVulnerability database
  • NVD (NIST) database
Unified report
Gravity Forms for WordPress: PHP Object Injection via List-Type Post Custom Field (CVE-2026-103039)
1 article · 2 sources cited
Revision history
  1. Published
  2. Generated
  3. Published
  4. Generated
  5. Published
  6. Early Warning
The Morning Brief

Relevant changes for the stacks you follow.

Choose your stacks, topics and optional WordPress plugins. At 07:00 CET, matching advisories and releases from the reporting period are grouped into one email.

✓ Choose stacks and topics✓ Change preferences anytime✓ One grouped email