On this page · 10 sections
Summary. On 19 November 2026 PHP shipped 8.5.13, 8.4.28, 8.3.37 and 8.2.36, a security release it had pre-announced on 18 November as CRITICAL, alongside the general availability of PHP 8.6.0. The 8.5.13 changelog lists 17 PHP security advisories, and seven of them are rated critical at CVSS v4.0 9.2. The best known is phpAfterShell, CVE-2026-126714, a flaw in the default file-based session handler that Google Cloud and Cloudflare both singled out. The release lands four weeks after PHP2Shell (CVE-2026-109618 and CVE-2026-109619, 21 October), and two of the new criticals are incomplete fixes for that earlier work. Cloudflare updated its PHP remote code execution WAF rule on 19 November, and Google Cloud published bulletin GCP-2026-090 on 20 November, updated on 23 November. None of the seven was in CISA's Known Exploited Vulnerabilities catalogue as of version 2026.11.25. Our verdict: patch PHP-FPM hosts that reuse FastCGI connections and every PHP 8.5 host first, set session.upload_progress.enabled=0 everywhere today, and treat PHP 8.6.0 as a planned upgrade, not the patch. PHP 8.2 has five weeks of security support left.
About this article. This is for engineering leads, hosting teams and agencies that run WordPress, Laravel or other PHP applications on PHP-FPM, Apache or managed cloud runtimes. On 26 November 2026 we checked every version, CVE, score and date here against the php.net release archive, changelog and supported-versions page, the PHP project's GitHub security advisories, the CVE record, CISA's KEV feed, Cloudflare's WAF changelog, Google Cloud's security bulletin feed, and the Ubuntu and Debian security trackers. This is technical guidance, not legal advice, and no vendor paid for inclusion. Researched with AI assistance and checked against the primary sources listed in the references.
What PHP shipped on 18 and 19 November
On 18 November the PHP security team announced releases for 19 November between 14:00 and 14:30 UTC, said they were part of the regular four-week cycle, rated the highest severity CRITICAL, and added that the critical issues need either non-default configuration or uncommon setups. The releases arrived on schedule, and the GitHub advisories were published between 14:05 and 14:09 UTC.
The fixed versions are:
- PHP 8.5.13. All 17 advisories, including two that exist only in 8.5.
- PHP 8.4.28. 14 advisories.
- PHP 8.3.37. 13 advisories.
- PHP 8.2.36. 12 advisories.
- PHP 8.6.0. The new major release, which also carries these fixes in its changelog.
PHP also updated its bundled uriparser library for a separate dependency flaw, CVE-2026-48841, which is why some trackers count 18 entries. The CVE record for phpAfterShell was published on 19 November with a CVSS v4.0 base score of 9.2.
The seven critical flaws
Every critical advisory carries the same 9.2 score, so the score will not tell you where to start. The exposure condition will.
| CVE | Short name | Branches affected | What has to be true |
|---|---|---|---|
| CVE-2026-126714 | phpAfterShell, interrupted session file write | 8.2 to 8.5 | Default files handler, attacker-influenced session data, an interrupted write, a gadget chain |
| CVE-2026-115560 | Session serialiser mismatch | 8.2 to 8.5 | Upload progress on, php_binary or php_serialize writer, php reader on the same store, a gadget chain |
| CVE-2026-129289 | PHP-FPM request smuggling | 8.2 to 8.5 | Front end reuses FastCGI connections, app opens php://input without reading it all |
| CVE-2026-129496 | Timezone cache use-after-free | 8.2 to 8.5 | Startup diagnostic written to a PHP error log file, early request diagnostic in a fresh worker |
| CVE-2026-129481 | Session shutdown use-after-free | 8.3 to 8.5 | Fatal error in a callback during session cleanup, same worker reused |
| CVE-2026-129474 | Magic method backtrace use-after-free | 8.5 only | fatal_error_backtraces on, zend.exception_ignore_args off, a reachable __call or __callStatic |
| CVE-2026-129182 | Fatal error backtrace repopulated after shutdown | 8.5 only | Specific per-directory INI overrides and an early diagnostic in a later request |
phpAfterShell (CVE-2026-126714)
The files session handler writes new data over the existing session file without clearing it first. If that write is interrupted, the file can hold the start of the new session and the tail of the old one, and bytes that were part of a harmless string can be read back as serialised objects. With a suitable gadget chain in the application, that becomes code execution as the PHP worker. PHP traces the code back to PHP 4.1.0 and says the issue is not limited to session upload progress, although upload progress is one way a remote client can influence session contents. Google Cloud's bulletin calls this phpAfterShell and lists PHP 7.2 and 8.1 as affected but unpatched upstream, because both are end of life.
Session serialiser mismatch (CVE-2026-115560)
This is the flaw PHP warned about on 23 October, when it told users to set session.upload_progress.enabled=0 until the next regular release. Upload progress can write attacker-supplied data in one serialisation format, and a later reader using the php format can treat part of a key as an object. The report reproduced command execution with a Guzzle gadget on 8.2.35, 8.3.36, 8.4.27 and 8.5.12, and with a Monolog gadget. The mismatch does not need a runtime ini_set() call: two applications, pools or cron jobs with different fixed settings that share a session directory are enough.
The fix changes a default. Patched releases disable session upload progress by default and reject runtime changes to session settings while it is enabled. An explicit session.upload_progress.enabled=1 anywhere in your configuration overrides that new default.
PHP-FPM request smuggling (CVE-2026-129289)
This one needs no unusual PHP setting, which is why we rank it first for FPM hosts. If the application opens php://input and does not read it to the end, unread body bytes stay on the backend connection. When the front end keeps that connection open, PHP-FPM can parse the leftover bytes as a second FastCGI request that the web server never routed or authorised. That forged request controls parameters such as SCRIPT_FILENAME, REMOTE_ADDR and PHP_ADMIN_VALUE, and can run attacker-controlled PHP as the worker. The affected front ends are nginx with fastcgi_keep_conn on, Apache mod_proxy_fcgi with enablereuse=on, HAProxy FastCGI with retained connections, and LSAPI. Standard nginx and Apache setups that close the connection after each request are not affected by the demonstrated attack.
The other four
The timezone cache flaw has existed since PHP 5.3.18 and needs a startup warning, such as an invalid date.timezone or a deprecated session setting, written through PHP's own error_log file path. The session shutdown flaw is an incomplete fix for PHP2Shell's CVE-2026-109619; PHP 8.2 lacks the affected field. The two 8.5-only flaws involve the fatal error backtraces that PHP 8.5 enables by default. The magic method advisory names Laravel facades and Magento's guest shipping estimate as code paths that reach __call or __callStatic, and says a full exploit against a complete Laravel or Magento installation has not been shown.
The high and medium flaws worth a look
Ten more advisories are rated high or medium. Five deserve attention on ordinary web hosts.
| CVE | Issue | Severity | Who should care |
|---|---|---|---|
| CVE-2026-129291 | PHP-FPM epoll use-after-free to root | High, 8.8 | Pools with catch_workers_output on, including official PHP-FPM Docker images |
| CVE-2026-128064 | Mixed-case HTTPS or FTPS URL sent in plaintext | High, 8.2 | Apps that fetch URLs with file_get_contents() or fopen() |
| CVE-2026-127960 | Folded HTTP response headers burn CPU | High, 8.7 | Apps that fetch attacker-influenced URLs through stream wrappers |
| CVE-2026-128090 | PHAR OpenSSL signature downgrade | High, 7.7 | Teams that ship or run OpenSSL-signed phar files |
| CVE-2026-129292 | PHP-FPM status page cross-site scripting | Medium, 5.3 | Anyone exposing the FPM full status page to operators in a browser |
The FPM epoll flaw needs code execution inside a worker first, but it turns that into root when the FPM master runs as root, so it pairs badly with any of the remote criticals. PHP notes that the official PHP-FPM Docker images enable worker output capture, while the stock FPM default is off. The remaining medium items cover PHP-CGI path handling, DOM serialisation, two SOAP bugs and the new 8.5 URI class.
Patch order for real hosts
Every supported branch has a fix, so the order is about exposure, not availability. This is how we would sequence a mixed estate.
- Internet-facing PHP-FPM that reuses FastCGI connections. Search nginx configs for fastcgi_keep_conn on and Apache configs for enablereuse=on. These hosts are exposed to CVE-2026-129289 without any unusual PHP setting, so patch them first or turn reuse off today.
- Every PHP 8.5 host. PHP 8.5 carries all seven criticals, two of them only there, and fatal error backtraces are on by default.
- Hosts with shared session storage. Shared hosting, several apps or FPM pools on one session directory, and any explicit session.upload_progress.enabled=1 setting raise the risk from CVE-2026-115560 and phpAfterShell.
- Containers built from official PHP-FPM images. Rebuild them, because they enable the worker output capture that CVE-2026-129291 needs.
- Everything else on 8.2, 8.3 and 8.4. Patch in the next normal window, and put 8.2 hosts on the upgrade list now.
PHP 8.2 reaches the end of security support on 31 December 2026, and PHP 8.1 and older get no upstream fix for any of this. If an 8.2 host is still running in January, the next critical release will not cover it. Our PHP 8.3 end-of-life guide maps the hops from 8.2 and 8.3 to 8.5.
WordPress hosts
WordPress itself has no PHP 8.6 support yet: the core compatibility table lists PHP 7.4 to 8.5 for WordPress 7.0 and 7.1. So the patch for a WordPress site is the point release on its current branch. For WordPress fleets, check whether any plugin starts native PHP sessions, look for session.upload_progress overrides in php.ini, pool files and .user.ini, and confirm which PHP-FPM pool serves which site. Our guide to choosing a WordPress development company covers the plugin-risk checks worth asking a partner about.
Laravel hosts
Laravel 13 lists PHP 8.3 to 8.5, and Laravel 12, which gets security fixes until 24 February 2027, lists 8.2 to 8.5. Neither lists PHP 8.6, so patch within the branch. Laravel apps on PHP 8.5 should treat CVE-2026-129474 as relevant because facades use __callStatic, and should set zend.exception_ignore_args=1, as the production php.ini already does. Apps that keep sessions in Redis or a database through the framework rather than PHP's files handler avoid phpAfterShell's file-write path, though the PHP update is still the fix. For framework timelines, see our Laravel 12 end-of-life guide.
Stopgaps while you schedule the update
These cut exposure but none of them replaces the patch. Set them in php.ini, the FPM pool file or the server configuration, then restart the FPM master and every worker. An ini_set() call in application code runs too late for the upload progress setting.
; php.ini or FPM pool (php_admin_value[...] form in pool files)
session.upload_progress.enabled = 0
; PHP 8.5 hosts
zend.exception_ignore_args = 1
fatal_error_backtraces = 0
# nginx: leave FastCGI keep-alive off (the default)
fastcgi_keep_conn off;
# Apache mod_proxy_fcgi: do not set enablereuse=on
| Flaw | Stopgap PHP or Google Cloud names | What it does not cover |
|---|---|---|
| CVE-2026-115560 | session.upload_progress.enabled=0 in every config that can write the store | Separate apps that still mix serialisers |
| CVE-2026-126714 | Upload progress off, less untrusted data in sessions, an atomic store such as Redis | Apps that store large user input in file sessions |
| CVE-2026-129289 | Turn off FastCGI connection reuse on the front end | Nothing, if reuse is truly off |
| CVE-2026-129474 | zend.exception_ignore_args=1 or fatal_error_backtraces=0 | display_errors=0 is not a fix |
| CVE-2026-129496 | Fix startup warnings, log PHP errors to syslog | Changing cookie or request settings |
| CVE-2026-129481 | Avoid fatal errors in session cleanup; pm.max_requests=1 at a speed cost | Disabling upload progress |
| CVE-2026-129291 | catch_workers_output off; run the FPM master without root | It limits damage, it does not fix the bug |
The sources for this table are the PHP advisories and Google Cloud's bulletin. Note that session.upload_progress.enabled=0 was already the October advice; if you applied it then, keep it. Our PHP2Shell fix guide explains how to confirm what every FPM worker actually loaded, which matters again here.
What Cloudflare and Google Cloud changed
Cloudflare. Its 19 November emergency WAF release updated the existing PHP remote code execution rule in both the Free and Managed Rulesets, set to Block, so it now covers CVE-2026-109618, CVE-2026-109619, CVE-2026-115560 and CVE-2026-126714. It added new Managed Ruleset detections for CVE-2026-129289 and two SOAP flaws in Log mode, because of false-positive risk; you have to switch them to Block yourself after reviewing matches. The entry was amended on 20 November to correct a CVE typo, and Cloudflare's 20 November release covered Ruby and WordPress, not PHP. A WAF rule sees the HTTP request, so it is a compensating control at best for flaws that depend on worker state or file writes.
Google Cloud. GCP-2026-090, published 20 November and updated 23 November, names App Engine standard and flexible, Cloud Run and Cloud Run functions. Services with automatic base image updates, and App Engine standard on PHP 8.2 to 8.5, get patched runtimes automatically. App Engine flexible, Cloud Run jobs and worker pools, Cloud Functions first generation and anything pinned to a patch string must be rebuilt and redeployed. Self-managed containers can move to the upstream releases straight away.
Linux distributions. Distro packages backport fixes and keep older version strings, so php -v can look old on a patched server. Ubuntu fixed phpAfterShell in php8.1 8.1.2-1ubuntu2.29 on 22.04, php8.3 8.3.6-0ubuntu0.24.04.14 on 24.04 and php8.5 8.5.4-0ubuntu1.6 on 26.04. Debian's security suites carry 8.2.36-1~deb12u1 for bookworm and 8.4.28-1~deb13u1 for trixie. Check the package version against your distro's tracker, not the upstream number.
# Debian or Ubuntu: installed PHP package versions
dpkg -l | grep -E '^ii +php[0-9.]+-(fpm|cli|common) '
# FPM binary version and its php.ini value (pool overrides are not shown here)
php-fpm8.3 -i | grep -E 'session.upload_progress.enabled|PHP Version'
Should you jump to PHP 8.6.0?
Not as your patch. PHP 8.6.0 went GA on 19 November with partial function application, default values for readonly properties, the Io\Poll API, clamp(), a \Time\Duration class and a SortDirection enum, and its changelog includes the same security fixes. It gets active support until 31 December 2028 and security fixes until 31 December 2030.
| Option | Support ends | Fixes the 19 November CVEs | Risk this month |
|---|---|---|---|
| Patch within 8.2 (8.2.36) | 31 Dec 2026 | Yes | Branch ends in five weeks |
| Patch within 8.3 (8.3.37) | 31 Dec 2027 | Yes | Low |
| Patch within 8.4 (8.4.28) | 31 Dec 2028 | Yes | Low |
| Patch within 8.5 (8.5.13) | 31 Dec 2029 | Yes | Low; also the branch with the most criticals |
| Move to 8.6.0 | 31 Dec 2030 | Yes | WordPress and Laravel do not list it yet; x.0 behaviour changes |
The support dates come from php.net, and the framework positions from WordPress and Laravel's own tables. PHP 8.6 also changes behaviour that tests can miss: by-reference foreach after array compaction, ?? and empty() on magic properties, trim() now stripping form feeds, and new ValueError exceptions in functions such as array_filter(), pathinfo() and number_format(). Patch inside your branch this week, then plan 8.6 for a quarter when your framework and extensions list it.
India-specific considerations
On shared cPanel or Plesk hosting, common for smaller Indian business and agency sites, several PHP versions and many sites can share one machine and sometimes one session directory, which is the setup CVE-2026-115560 describes. Ask the host which PHP builds they run and when they applied 8.2.36 to 8.5.13 or the distro equivalent, and do not accept a php -v answer alone. Keep a dated record of what you changed, because you may need it if session data turns out to have been exposed. Teams still on 8.1 or 7.x through older hosting plans have no upstream fix at all.
How eCorpIT can help
eCorpIT is a Gurugram-based technology organisation, founded in 2021, assessed at CMMI Level 5 and MSME certified, with senior-led engineering teams working across AWS, Microsoft and Google platforms. Our cybersecurity services team can audit your PHP-FPM, nginx and session settings against these advisories, patch hosts in exposure order and plan the 8.2 and 8.6 upgrades. Talk to us at /contact-us/.
Last updated: 26 November 2026.