Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-103039 — Python PoC for CVE-2026-103039, an unauthenticated PHP object injection in Gravity Forms <= 3.1.2 leading to RCE, with version detection, form/field discovery, and payload submission. | Kitploit
Tools/GitHubGitHub/noxcrypt-x/cve-2026-103039
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration Testing
GitHubnoxcrypt-x/cve-2026-103039

CVE-2026-103039

Python PoC for CVE-2026-103039, an unauthenticated PHP object injection in Gravity Forms <= 3.1.2 leading to RCE, with version detection, form/field discovery, and payload submission.

View Repository
223 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    905
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    881
  • 3

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    673
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    454
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    402
  • 6

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    397

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2026-103039 — Gravity Forms PHP Object Injection

Unauthenticated PHP object injection leading to remote code execution (RCE)

Author: NØXCRYPT · @noxcrypt-x

Disclaimer: This repository is provided for security research and authorized testing only. Do not use it against systems you do not own or have explicit permission to test. The author is not responsible for any misuse.

Repository contents: PoC script and documentation only. The optional PHP payload generator (gen_payload.php) is intentionally not included.

ProductGravity Forms (WordPress plugin)
Affected versionsAll versions up to 3.1.2
Fixed in3.1.3
ClassCWE-502 — Deserialization of Untrusted Data
CVSS 3.19.8 Critical — AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
IdentifiersCVE-2026-103039
VectorPost Custom Field (List input type) with content template enabled

1. Summary

GFFormsModel::create_post() passes the submitted value of a Post Custom Field (List input type, content template enabled) to WordPress' unrestricted global maybe_unserialize() instead of Gravity Forms' hardened GFCommon::maybe_unserialize(), which sets allowed_classes => false.

This allows an unauthenticated attacker to inject PHP objects into post meta. No gadget chain ships in the plugin itself. RCE requires one of the following:

  • A POP chain provided by another plugin or theme installed on the target, or
  • The _wp_page_template meta-key vector on a WordPress version where validate_file() accepts non-scalars (pre-fix), combined with a readable PEAR installation and register_argc_argv enabled.

2. Root Cause

Gravity Forms uses two different deserialization helpers:

  • GFCommon::maybe_unserialize() — hardened, with allowed_classes => false
  • WordPress global maybe_unserialize() — unrestricted

For the affected field type, the submitted value reaches the unrestricted helper. A serialized PHP object submitted as a List field value is therefore stored and later deserialized as a live object.

The vulnerable configuration is:

  • A Gravity Forms form containing a Post Custom Field
  • Input type set to List
  • Create Content Template enabled
  • The field mapped to a meta key such as _wp_page_template for the page-template vector

3. PoC

File: CVE-2026-103039.py (Python 3, requires only requests).

pip install -r requirements.txt

The script includes a built-in terminal banner and author credit:

  CVE-2026-103039 — Gravity Forms PHP Object Injection
  Unauthenticated RCE via Post Custom Field (List type)
  Programmer : NØXCRYPT
  Handle     : noxcrypt-x

Version detection

python CVE-2026-103039.py -u https://target --detect

Discover forms and fields

python CVE-2026-103039.py -u https://target --list-forms
python CVE-2026-103039.py -u https://target --auto-detect

Submit a payload

python CVE-2026-103039.py -u https://target \
  --form-id 1 --field-id 2 \
  --payload "O:13:\"WP_HTML_Token\":..." \
  --form-page https://target/contact/

Scan all fields of a form

python CVE-2026-103039.py -u https://target --form-id 1 --scan-fields

Mass scan

python CVE-2026-103039.py -l targets.txt --detect --threads 20 -o results.json

Main options

OptionDescription
-u, --urlSingle target URL
-l, --listFile with target URLs
--detectVersion detection only
--form-idGravity Forms form ID
--field-idPost Custom Field field ID (List type)
--form-pageURL of the page containing the form
--payloadSerialized PHP payload string
--payload-fileRead payload from file
--cmdCommand for the wp_html_token payload
--oobOut-of-band callback value
--cookieAuthenticated cookie
--insecureDisable TLS verification
--timeoutHTTP timeout in seconds
--output, -oSave results to JSON
--threadsConcurrent workers for target lists
--auto-detectAuto-detect form and field IDs
--list-formsDiscover and print forms/fields only
--scan-fieldsTry the payload against every field
--verify / --no-verifyEnable or disable RCE verification
--trigger-urlURL to fetch to trigger the gadget chain

Payload generation

Payload generation requires a PHP binary and WordPress source. The helper gen_payload.php is not included in this repository. Supply a serialized payload using --payload or --payload-file. If you have your own compatible generator, point the script to it with --gen-payload --gen-script /path/to/gen_payload.php.


4. Verification Status

The script was reviewed against its own source and the documented vulnerability. It supports version detection, form/field discovery, submission, field scanning, multi-target threading, and post-submission RCE verification.

End-to-end RCE depends on a usable gadget chain from the target's plugins or theme, or on the _wp_page_template vector on a vulnerable WordPress version. No live target was used for validation in this repository.


5. Remediation

  1. Update Gravity Forms to 3.1.3 or later.
  2. Avoid Post Custom Fields with the List input type and content templates enabled unless strictly required.
  3. Audit existing forms for Post Custom Fields mapped to sensitive meta keys such as _wp_page_template.
  4. Keep WordPress core, plugins, and themes updated to reduce available gadget chains.
  5. Restrict object deserialization in custom code by using allowed_classes => false where appropriate.

6. References

  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-103039
  • Gravity Forms: https://www.gravityforms.com/
  • WordPress maybe_unserialize(): https://developer.wordpress.org/reference/functions/maybe_unserialize/
Download Tool