Summary
CVE-2026-103039 is a critical PHP Object Injection (insecure deserialization, CWE-502) vulnerability in the Gravity Forms WordPress plugin, affecting all versions up to and including 3.1.2. Unauthenticated remote attackers can inject PHP objects into post meta. The CVSS v3.1 base score is 9.8 (Critical).
Technical details
- Root cause: for a Post Custom Field whose input type is List, the plugin passes submitted values to WordPress’ unrestricted global
maybe_unserialize()instead of its hardened alternative. - Trigger conditions: a form that uses a Post Custom Field with the List input type.
- Attack vector: network, unauthenticated, no user interaction required.
- Impact: an attacker can inject PHP objects into post meta. Remote code execution is possible if a suitable gadget chain exists in other installed plugins or themes, or in WordPress itself.
Affected software
- Gravity Forms (WordPress plugin): all versions through 3.1.2
Severity
- CVSS v3.1 base score: 9.8 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Mitigation and recommended actions
- Immediate: upgrade Gravity Forms to a release that the vendor confirms fixes this issue. The CVE record available at the time of writing does not state a patched version, so check the official Gravity Forms changelog and treat 3.1.2 and earlier as vulnerable.
- Until patched: where possible, avoid or remove forms that use a Post Custom Field with the List input type, and restrict public access to affected forms.
- Review installed plugins and themes, and remove those that are unused, to reduce potential gadget-chain exposure.

