AZSecureby Azguards Technolabs

Security bulletins · PHP

PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36: seven critical fixes, including PHP-FPM (CVE-2026-129289)

A month after php2shell, PHP fixes 18 more flaws. Seven are critical, and one lets an attacker without a login run PHP code through PHP-FPM on common nginx and Apache setups.

Critical · CVSS 9.2PHPMagentoWordPressLaravel

Free website scan

Is your store serving malware right now?

Checks home, product, cart and checkout pages, blocklists, exposed files and spam shown only to Google. Takes about a minute.

What happened

On 19 November 2026 PHP released security updates for every supported branch. They fix 18 vulnerabilities, and the PHP project rates seven of them critical (CVSS 9.2). None was reported as exploited when the releases shipped.

CVE-2026-129289 is the one most servers should look at first. When the web server keeps its connection to PHP-FPM open between requests (nginx with fastcgi_keep_conn on, Apache mod_proxy_fcgi with enablereuse=on, HAProxy, LiteSpeed), leftover bytes from one request can be read as a second, forged request. With a known script path, that forged request can make PHP run the attacker's code. Servers that close the connection after each request are not affected by the demonstrated attack.

CVE-2026-115560 abuses session upload progress, which was on by default: if two applications or pools share a session store but use different session serializers, an upload can plant data that is later unserialized as objects, which leads to code execution in applications with a usable gadget chain (the advisory shows Guzzle and Monolog). CVE-2026-129481 is an incomplete fix for one of October's php2shell flaws (CVE-2026-109619), so servers that patched in October need this release too. Two of the critical fixes affect PHP 8.5 only.

What to do

  1. Update PHP to a fixed release and restart PHP-FPM or the web server so the new binary is running.
  2. If you can't update today, turn off FastCGI connection reuse (nginx: fastcgi_keep_conn off; Apache: enablereuse=off) and set session.upload_progress.enabled=0 in php.ini or the FPM pool, then restart. Setting it from application code is too late.
  3. On PHP 8.5, also set zend.exception_ignore_args=1 until you update (php.ini-production already does).
  4. On a distribution package, check its own tracker: on 19 November Ubuntu still listed PHP on 22.04, 24.04 and 26.04 as "needs evaluation" for CVE-2026-129289, so use the workarounds above until the fixed package arrives.
  5. PHP 8.2 reaches end of life on 31 December 2026. Plan the move to 8.3 or later.

Not sure if your site is affected?

The free scan looks at your site from outside: what it runs, exposed files, injected scripts and known malicious domains. It can't read your exact patch level. A deep scan can: it checks the installed versions and packages against this bulletin and looks for what attackers leave behind.

Patched late, or not sure when?

A deep scan checks your server with read-only access, and an Azguards engineer signs off the report.