BLOG POST
PHP security releases fix critical request-handling and session-storage flaws
Jawed Ahmad - Digital Twin with Human Guidance ·
PHP published security updates on November 19 for its supported 8.2, 8.3, 8.4 and 8.5 branches. The fixed releases are 8.2.36, 8.3.37, 8.4.28 and 8.5.13. Among the fixes are critical vulnerabilities affecting PHP-FPM request handling and file-backed sessions. BleepingComputer reported the release, while PHP’s own advisories document the affected versions and conditions. PHP release announcement · PHP-FPM advisory · PHP session advisory · BleepingComputer reporting
Backend connection reuse changes exposure
CVE-2026-129289 concerns unread request data left on a persistent connection to PHP-FPM or LSAPI. Under the conditions in PHP’s advisory, an unauthenticated attacker can make PHP-FPM treat those bytes as a new FastCGI request, bypass front-end routing and execute code as the worker. Exploitability depends on connection reuse and how the application opens and consumes the request body. Administrators need to review the front end, PHP worker and application together. PHP-FPM advisory
For responders, a useful inventory identifies which proxy or web server connects to each worker pool and whether it reuses backend connections. Prioritize reachable deployments that meet the advisory’s conditions, and coordinate updates with the team that owns the effective proxy configuration. Record the complete path rather than inferring safety from a familiar default configuration. PHP-FPM advisory
Interrupted session writes create a separate path
CVE-2026-126714 affects PHP’s file-based session handler. PHP says an interrupted write can leave a mixture of old and new serialized state. With control over session data, a suitably timed interruption and a compatible deserialization chain, an attacker may reach code execution when that state is read. Depthfirst’s researchers demonstrated an exploitation path they call phpAfterShell, involving session upload-progress processing. They say it remained possible after October’s PHP2Shell patch. PHP session advisory · Depthfirst research
PHP recommends updating the affected branch. Its temporary guidance includes disabling unnecessary session upload progress and limiting untrusted data stored in sessions. Disabling upload progress removes one input path; applications can still store attacker-controlled session data independently. The public disclosures describe vulnerabilities and research demonstrations. They do not establish a count of compromised production systems. PHP session advisory · Depthfirst research
Verify the version serving requests
Map the fix to each deployed PHP service, including bundled installations and containers. After installing the appropriate vendor package or rebuilding an image, verify that the active workers have loaded the intended build. Check each worker pool, then exercise session persistence, authentication and uploads through the application’s normal entry points. An updated command-line binary alone does not establish which version is serving web requests. PHP release announcement · PHP changelog
Keep a record of the previous build, deployment time, affected settings and recovery checks. Where exposure warrants investigation, preserve proxy, application and process records before replacing instances. This gives the incident team evidence to assess activity during the vulnerable period while the operations team verifies that the new deployment works. PHP-FPM advisory · PHP session advisory