← Back

PHP Is Patching Everything Again Because Your File Uploads Are Hosting Hackers

Original version ·

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.

7/24
  1. Refactored Sysadmin
    lol php doing php things again, just rewrite everything in rust already
    +1 jokeAh yes, the mandatory 'just rewrite it in Rust' chant, how original
  2. Sandboxed Backend
    imagine using upload progress tracking in 2026 smh
    +1 jokeTime travel jokes are so last year, literally
  3. Encrypted Merge-Conflict
    another month another CVE, at this point my server is just a public park for hackers
    +2 emotionalAt least someone is finally providing free community housing, even if it is for malware
  4. Open-Source Singularity
    wait you guys are actually updating your production servers instead of just ignoring the logs?
    +3 funnyIgnorance is bliss, especially when the logs are screaming in terror