Gravity Forms
Gravity Forms <= 3.1.2 - Unauthenticated PHP Object Injection via Post Custom Field
The Gravity Forms plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.1.2 via a Post Custom Field whose input type is List. This is due to GFFormsModel::create_post() passing the submitted value to WordPress' unrestricted global maybe_unserialize() rather than the plugin's own hardened GFCommon::maybe_unserialize(), which was added in 3.1.1 and passes allowed_classes => false precisely to prevent object instantiation. Where the field has a content template enabled, the submitted row reaches that call verbatim. This makes it possible for unauthenticated attackers to inject a PHP object into post meta. No PHP Object Injection gadget chain is present in the plugin itself; however, if a gadget chain is present via an additional plugin or theme, it could allow the attacker to perform actions such as remote code execution. Where the custom field is mapped to the protected _wp_page_template meta key, WordPress itself supplies the chain: validate_file() accepts non-scalars, WP_Theme::__toString() then resolves an attacker-controlled path, and on hosts with a readable PEAR install and register_argc_argv enabled this yields remote code execution.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- <= 3.1.2
Mitigation
The record names no fix. Check the vendor advisory below.
Timeline
Days relative to CVE publicationFirst public PoC 1.4 days after publication; not in CISA KEV. First PoC: noxcrypt-x/CVE-2026-103039 (created 31 Oct 2026, found by us: 14 Nov 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| noxcrypt-x/CVE-2026-103039 | 31 Oct 2026 +1.4 d | 14 Nov 2026 | 2 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoGET /res.php
- Query
key=action=getid=json=1- Seen in
- 1 repo: noxcrypt-x/CVE-2026-103039
- Evidence
- noxcrypt-x/CVE-2026-103039/CVE-2026-103039.py:637
POST /in.php
- Body markers
key=method=base64body=json=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: noxcrypt-x/CVE-2026-103039
- Evidence
- noxcrypt-x/CVE-2026-103039/CVE-2026-103039.py:624
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/res\.php\?(?:.*&)?key=.*action=get.*id=.*json=1
(?i)^/in\.php(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-103039 Gravity Forms Gravity Forms exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/res.php"; http.uri; content:"key="; http.uri; content:"action=get"; http.uri; content:"id="; http.uri; content:"json=1"; reference:url,poc.griffinguard.io/cve/CVE-2026-103039; classtype:web-application-attack; sid:9836920; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-103039 Gravity Forms Gravity Forms exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/in.php"; http.request_body; content:"key="; http.request_body; content:"method=base64"; http.request_body; content:"body="; http.request_body; content:"json="; reference:url,poc.griffinguard.io/cve/CVE-2026-103039; classtype:web-application-attack; sid:9893329; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Gravity Forms Gravity Forms exploit attempt (CVE-2026-103039)
id: gg-pocmon-cve-2026-103039-9836920
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-103039. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-103039
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/res.php'
cs-uri-query|contains|all:
- 'key='
- 'action=get'
- 'id='
- 'json=1'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.103039
title: Gravity Forms Gravity Forms exploit attempt (CVE-2026-103039)
id: gg-pocmon-cve-2026-103039-9893329
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-103039. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-103039
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/in.php'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.103039