Dev.to Security πŸ” Cybersecurity πŸ‘ 0 πŸ“– 4 min read

PHP's November 2026 security release: 7 critical flaws and what Gulf teams should patch first

Originally published on the Aamin AI blog. PHP still runs a large share of the web, including many of the WordPress, Laravel and Magento sites behind Gulf hospitals, real estate groups, retailers and government supplier

Originally published on the Aamin AI blog.

PHP still runs a large share of the web, including many of the WordPress, Laravel and Magento sites behind Gulf hospitals, real estate groups, retailers and government suppliers. On 19 November 2026 the PHP project shipped security releases for every supported branch, fixing 18 CVEs. Seven are rated critical.

This is not a "patch when convenient" release. Here is what changed, which servers are actually exposed, and what to do this week.

What was released

PHP published 8.2.36, 8.3.37, 8.4.28 and 8.5.13 as security releases, alongside the PHP 8.6.0 feature release, which carries the same fixes. Across the batch there are 18 CVE identifiers in 17 advisories, one of them for the bundled uriparser library (NetSPI; Beazley Security).

All seven critical issues score 9.2 under CVSS 4.0. The three to understand first:

CVE Component What it is When you are exposed
CVE-2026-115560 Session extension Upload-progress data written with one serializer and read back with another, enabling object injection Session upload progress enabled, and the same session store read by code using a different serializer (for example different apps, pools or CLI jobs sharing a store)
CVE-2026-126714 ("phpAfterShell") Session extension, default files handler An interrupted write leaves a session file that mixes new and old data, which is then deserialized The default files handler, attacker influence over session data, and a gadget chain in the application's libraries
CVE-2026-129289 PHP-FPM Request smuggling through an unread request body The front end reuses FastCGI connections (nginx fastcgi_keep_conn on, Apache enablereuse=on, HAProxy keeping backend connections) and the app opens php://input without reading it fully

The session flaws matter because sessions are everywhere and the vulnerable code paths are old: the files-handler race in CVE-2026-126714 has been present since PHP 4.1.0, according to the PHP advisory. Turning either into code execution needs a usable gadget chain, but popular libraries supply those. The PHP advisory for CVE-2026-115560 demonstrates command execution using gadgets in Guzzle and Monolog (GHSA-658j), both of which sit in a large share of Composer projects.

The other four critical issues are memory-safety bugs in the engine, session shutdown and the date extension. Two affect only PHP 8.5, and several need specific error-handling settings (Beazley Security).

Is anyone exploiting it?

Not confirmed, as of the latest sources. NetSPI reported on 20 November that the two session CVEs were not in CISA's Known Exploited Vulnerabilities catalog and that no exploitation had been seen. Beazley and others said the same up to 21 November. Sources disagree on whether working public proof-of-concept code exists for CVE-2026-115560.

The history is the reason not to wait. PHP's October release fixed two other flaws, dubbed PHP2Shell, which Palo Alto Networks' Unit 42 later reported as actively exploited and which Beazley says CISA added to its catalog in October. The gap between disclosure and exploitation keeps shrinking.

What to do this week

1. Inventory. List every server, container image and managed host running PHP, including the ones nobody thinks about: the marketing WordPress site, the supplier portal, the old intranet. Shadow web apps are where breaches start.

2. Upgrade and restart. Move to 8.2.36, 8.3.37, 8.4.28, 8.5.13 or 8.6.0, or your distribution's patched build. Then restart PHP-FPM, Apache and any long-running workers. NetSPI's guidance is to verify the version reported by the web-facing worker, not the CLI binary.

3. Plan the PHP 8.1 problem. PHP 8.1 and older get no fix, and PHP 8.2 reaches end of life on 31 December 2026. If you still run them, this release is the business case for the upgrade project.

4. Apply interim mitigations where patching is delayed. From the PHP advisories and the vendor write-ups:

  • Set session.upload_progress.enabled=0 in php.ini or the FPM pool, not through ini_set(), then restart.
  • Use one session.serialize_handler for everything that shares a session store, or separate the stores.
  • Turn off FastCGI connection reuse in nginx and Apache, and configure HAProxy to close backend connections after each request.
  • On PHP 8.5, set zend.exception_ignore_args=1.
  • Keep FPM listeners off untrusted networks.

None of these cover every issue in the release. They buy time; they don't replace the upgrade.

5. Look for signs of trouble. Treat internet-facing servers that ran unpatched as possibly compromised. Review logs for unusual worker crashes, fatal errors and unexpected child processes.

Why this matters for regulated Gulf businesses

Most GCC cyber frameworks expect timely patching and regular testing. Banks in Bahrain must pen test at least twice a year under CBB rules; Saudi critical systems fall under NCA's Critical Systems Cybersecurity Controls; DFSA firms in DIFC test internet-facing systems annually. An unpatched critical PHP flaw on a customer portal is exactly the finding those tests are designed to catch, and the finding an incident investigator will ask about.

The harder lesson is process. A team that can answer "which of our servers run PHP 8.1?" within an hour is in a good position. A team that needs a week to find out has a visibility problem that the next CVE will exploit too.

How Aamin AI helps

We run penetration tests on web applications, APIs and the infrastructure behind them across the UAE and the GCC, including configuration review of PHP-FPM, web servers and session handling, with a retest once fixes are in. If you want a second pair of eyes on your exposure to this release, get in touch.

The full article, with an FAQ, is on aaminai.ae.

πŸ“° Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.