Advanced Pre-Auth RCE Exploit for PHP session.upload_progress (CVE-2026-109618 & 109619) by Farhad Hosen.
Author: Farhad Hosen
This tool is provided for educational purposes and authorized penetration testing only. The author (Farhad Hosen) is not responsible for any misuse or damage caused by this program. Using this tool against targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state, and federal laws.
PHP2Shell is an advanced pre-authentication Remote Code Execution (RCE) exploit targeting the PHP session.upload_progress mechanism. It exploits two critical vulnerabilities:
The script features ASLR bypass, heap address leaks, and a multi-stage memory corruption chain to achieve command execution.
zif_system address, forge_blob) based on the specific target build.Clone the repository and run the exploit:
git clone https://github.com/FarhadHosen101/PHP2Shell-CVE-2026-109619.git
cd PHP2Shell-CVE-2026-109619
python3 php2shell_advanced.py -t http://TARGET_IP/index.php -c "id"