PHP 8.4.26 pure-HTTP ASLR bypass RCE exploit released with full repro repo

cyb3rops · x · 2026-10-21

A GitHub repo (php2shell-bypass-aslr-exp) demonstrates remote code execution against PHP 8.4.26 with Apache prefork and modphp under strict constraints: fully remote, HTTP-only, no sessionstart() on the target page, and no PHP written to the target. A single exploit.py chains the bug into RCE; the current version requires displayerrors=1, while a pure-HTTP heap leak already works with displayerrors off. The repo ships copy-paste commands from zero to RCE using the official php:8.4.26-apache image plus Docker config mounts, along with research notes on ASLR paths and heap leaks. Commenters call it not click-and-run, but a solid starting point for ASLR bypass research.

Original post →

More from Safety

Safety channel →