PoC for CVE-2026-135202 — WP Connect Unauthenticated RCE via PHP Object Injection (CVSS 9.8)
<p align="center">
<img src="https://capsule-render.vercel.app/api?type=waving&color=0:0d1117,100:e94560&height=200§ion=header&text=CVE-2026-135202&fontSize=46&fontColor=ffffff&fontAlignY=38&desc=WP%20Connect%20Plugins%20%E2%80%94%20Unauthenticated%20RCE%20(CVSS%209.8)&descAlignY=58&descSize=15" />
</p>
<p align="center">
<img src="https://img.shields.io/badge/CVE-2026--135202-critical?style=for-the-badge&color=e94560" />
<img src="https://img.shields.io/badge/CVSS-9.8-critical?style=for-the-badge&color=ff0000" />
<img src="https://img.shields.io/badge/CWE-94-orange?style=for-the-badge" />
<img src="https://img.shields.io/badge/WordPress-Plugin-blue?style=for-the-badge&logo=wordpress" />
<img src="https://img.shields.io/badge/Auth-Not%20Required-red?style=for-the-badge" />
</p>
---
## Overview
**CVE-2026-135202** is a **CVSS 9.8 CRITICAL** unauthenticated Remote Code Execution vulnerability in the **WP Connect** plugin family (WooCommerce, CF7, Notion integrations). The `/wp-json/wp-connect/v1/sync` REST endpoint deserializes attacker-controlled data via PHP `unserialize()` with no authentication check, enabling PHP Object Injection that chains into RCE via WordPress core POP gadgets.
---
## Vulnerability Details
| Field | Value |
|-------|-------|
| CVE ID | CVE-2026-135202 |
| CVSS Score | **9.8 CRITICAL** |
| CWE | CWE-94 — Improper Control of Generation of Code |
| Affected | WP Connect for WooCommerce/CF7/Notion (core sync engine < 2.1.9) |
| Attack Vector | Network |
| Privileges Required | None |
| Root Cause | `unserialize(base64_decode($request['payload']))` on unauthenticated REST route |
---
## Attack Flow
```mermaid
flowchart TD
A[Unauthenticated Attacker] -->|POST /wp-json/wp-connect/v1/sync| B[sync_callback — no nonce/cap check]
B -->|unserialize base64 payload| C[PHP Object Injection — CWE-94]
C -->|POP chain: Requests_IRI __toString| D[file_put_contents — write webshell]
D -->|GET /wp-content/uploads/shell.ph