Critical Severity CVE-2026-129289
Published: Nov 22, 2026

[GitHub] CVE-2026-129289-PoC-Exploit

Rce
Type
N/A
CVSS Score
1
Views
Anonymous
Author

Description

CVE-2026-129289 (CVSS 9.2) PHP-FPM FastCGI Record Smuggling Red/Blue team toolkit. Multipart HTTP exploit, DNS/HTTPS exfil, SOCKS/Tor proxy support, and header-based version checks, plus direct socket RCE, webshell planting, reverse shells, safe FPM probes, and JSON reporting. Built for authorized security testing.

![CVEPoC](assets/thetoolkit.png)

# CVE-2026-129289 - PHP-FPM FastCGI Record Smuggling Toolkit

[![Python 3.8+](https://img.shields.io/badge/python-3.8+-blue.svg)](https://www.python.org/downloads/)
[![CVSS](https://img.shields.io/badge/CVSS-9.2%20Critical-red)](https://nvd.nist.gov/vuln-metrics/cvss/v4-calculator)
[![Toolkit](https://img.shields.io/badge/type-toolkit-blueviolet)](https://github.com/tc4dy/CVE-2026-129289-PHP-FPM-Smuggling)
[![PHP](https://img.shields.io/badge/PHP-8.2%20%7C%208.3%20%7C%208.4%20%7C%208.5-orange)](https://www.php.net/)

![CVEPoC](assets/129289.png)

> **Ethical Use Only - Authorized Security Testing**
>
> This repository provides tools for **authorized security professionals, blue teams, and penetration testers** only.
>
> Unauthorized access to computer systems is illegal under **CFAA (US), Computer Misuse Act (UK), TCK 243/244 (Turkey), and similar laws worldwide**.

---

## Vulnerability Overview

**CVE-2026-129289** is a critical HTTP Request Smuggling vulnerability (CWE-444) in PHP-FPM.

The root cause is a request lifecycle defect: when an application opens the `php://input` stream but does not read it to completion, PHP-FPM does not discard the unread body bytes during request shutdown.

When the front-end web server (nginx, Apache, HAProxy) reuses the same FastCGI connection for a subsequent request (via `fastcgi_keep_conn on` or `enablereuse=on`), PHP-FPM interprets the leftover bytes as the beginning of a new FastCGI request.

The attacker can embed a fully controlled FastCGI parameter block within the smuggled bytes, setting `SCRIPT_FILENAME`, `REMOTE_ADDR`, and critically `PHP_ADMIN_VALUE`.

By injecting `allow_url_include=1` and `auto_prepend_file=php://input` into `PHP_ADMIN_VALUE`, the attacker causes PHP-FPM to treat the original HTTP request body as PHP code, potentially achieving unauthenticated remote code execution.

The upstream fix was committed in PHP 8.2.36, 8.3.37, 8.4.28, and 8.5.13. The vulnerability has exis

Community Rating
0

Login to rate this exploit

Quick Actions