Skip to content
العربية Book a call

· 4 min read

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

PHP fixed 18 vulnerabilities on 19 November 2026, seven rated critical. Which configurations are exposed, what to patch first, and interim mitigations for GCC web teams.

Vulnerability management
Explainer · 25 secondsPHP's November 2026 release: 7 critical flaws in 25 seconds
Video transcript

Security brief · 19 Nov 2026
PHP's November release: 7 critical flaws. Patch this week.

What PHP fixed on 19 November
18: CVEs fixed across supported branches.
7: rated critical.
9.2: CVSS 4.0 score of each critical flaw (Max 10).
Source: php.net, Beazley Security, NetSPI

How CVE-2026-129289 works in PHP-FPM
Crafted request (One request, no login) → Web server (Reuses FastCGI connection) [keep_conn on] → PHP-FPM (Unread php://input body) → Smuggled request (Forged script and settings) → Code execution (Attacker runs PHP) [Critical]
Exposed only when FastCGI connections are reused

Do this week
✓ Find every server running PHP, including the forgotten ones
✓ Upgrade to 8.2.36 · 8.3.37 · 8.4.28 · 8.5.13
✓ Restart PHP-FPM and check the version the web server runs
✓ Plan off PHP 8.1: no fix, and 8.2 ends on 31 December

We build AI agents, secure them, and keep them running.
aaminai.ae/insights

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.

4.1.0

the PHP version the files-handler flaw dates back to

31 Dec

PHP 8.2 reaches end of life in 2026

0

fixes for PHP 8.1 and older

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.

Patch, then re-run the evaluations · Example data

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.

This article is general information, not legal or tax advice. Gulf rules change quickly; check the current text or ask a local adviser before acting.

FAQ

Questions this article answers

PHP 8.2.36, 8.3.37, 8.4.28 and 8.5.13, all released on 19 November 2026, plus PHP 8.6.0 released the same day. PHP 8.1 and older receive no official fix. Linux distributions and hosting providers may backport fixes without changing the upstream version number, so check your vendor's advisory.

As of 21 November 2026, security vendors including NetSPI, Beazley Security and others reported no confirmed exploitation in the wild, and the session flaws were not in CISA's Known Exploited Vulnerabilities catalog on 20 November. Sources disagree on whether public proof-of-concept code exists for CVE-2026-115560. Treat that as a reason to patch quickly, not to wait.

Most PHP applications run on an affected PHP version, so the answer is usually yes until you upgrade. Whether a given flaw is exploitable depends on configuration: session upload progress, the session serializer, the files session handler, FastCGI connection reuse and PHP 8.5-specific settings. Patching removes the need to work this out for every server.

Set session.upload_progress.enabled=0 in php.ini or the FPM pool configuration and restart workers, turn off FastCGI connection reuse (nginx fastcgi_keep_conn, Apache enablereuse), and on PHP 8.5 set zend.exception_ignore_args=1. These reduce exposure but do not cover every vulnerability in the release.

Check the PHP version reported by the web-facing worker, not just the command-line binary, because PHP-FPM and Apache modules keep running the old code until they restart. A phpinfo page restricted to administrators, or your scanner's authenticated check, will show the running version.

How we can help

Related reading

More insights

All insights

Contact

Let's have a call about your AI plans

Thirty minutes with the people who would do the work. Tell us what you want AI to do and what data it touches. We'll tell you what's realistic, what it would take, and how to keep it secure.

or write to us at [email protected]