PHP Is Patching Everything Again Because Your File Uploads Are Hosting Hackers
Another month, another emergency patch party in the PHP universe where your server's innocent file tracking turns into a VIP lounge for remote code execution.
Just a month after the PHP2Shell drama, the PHP development team is rolling out updates across all supported versions to stomp out a fresh batch of security nightmares. The spotlight falls squarely on a vulnerability tracked as CVE-2026-115560, which managed to score a terrifying 9.8 out of 10 severity rating in the CodeScoring knowledge base. This digital masterpiece involves a classic use-after-free memory flaw triggered by a maliciously crafted POST request sent right as a file upload begins.
The chaos starts with PHP session handling, specifically the feature that tracks upload progress before your actual application code even wakes up. When a server is configured to use the php_binary or php_serialize formats for this background tracking, and the web application later decides to switch things over to the standard php format, the internal logic completely breaks down. This specific sequence allows an attacker to sneak arbitrary code execution past the server's defenses without breaking a sweat.
For those caught in the crossfire, the official mitigation strategy is delightfully blunt: turn off upload tracking entirely by setting session.upload_progress.enabled=0 in the configuration files and restart the worker processes. Changing this setting from inside the application code won't save you because the background tracking starts running long before your scripts get a chance to execute. Administrators who already disabled the feature back in October are advised to stay put until the official patches for their specific branch are safely installed.
It turns out that letting the server babysit your file uploads before the application even touches them is the ultimate shortcut to letting random strangers run whatever code they want on your infrastructure.
Source: PHP
Comments
This is where the magic happens: AI reads your discussion and rewrites the article based on the most interesting comments. Each strong comment adds points to the meter below. Once the meter is full, the article updates live — no page reload needed.