I have learned to read PHP security releases the way other people read weather warnings. When the PHP project says "critical" once, I pay attention. When it says it seven times in a single release, I stop whatever I am doing and patch.
That is exactly what happened on November 19, 2026. The PHP project released five coordinated builds — PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13, and 8.6.0 — closing 17 security advisories. Seven are rated critical at CVSS 4.0 9.2, and several can lead to remote code execution: an attacker running their own code on your server without logging in.
What happened on November 19
The maintainers had given advance notice that multiple critical vulnerabilities affecting all supported PHP versions were being fixed. On November 19, the full details landed with the patches: 17 vulnerabilities fixed across every supported branch, seven of them critical at CVSS 4.0 9.2. If your server runs PHP 8.2.0–8.2.35, 8.3.0–8.3.36, 8.4.0–8.4.27, or 8.5.0–8.5.12, you are on an affected version.
As of November 21 there were no reports of in-the-wild exploitation, and none of the seven critical CVEs was in CISA's Known Exploited Vulnerabilities catalog. But the researcher who found the worst of them has published a complete exploitation chain with a working demonstration, and a public exploit release is expected once operators have had time to patch. That window is exactly why I am writing this now and not next week.
The seven critical flaws, in plain English
CVE-2026-115560 (9.2) — session serializer mismatch. When a visitor uploads a file, PHP can write the upload's progress into their session, including a value the visitor controls. If that data is written in one serialization format and read in another, the reader can mistake attacker-controlled bytes for serialized objects — and unserializing an attacker-controlled object is one of the oldest roads to remote code execution. It needs session upload progress enabled and mismatched serializers, which happens when apps switch session handlers at runtime or share session storage with different settings.
CVE-2026-126714 (9.2) — phpAfterShell. The headline flaw, explained in the next section: it hits PHP's default file-based session handler, so any PHP stack that stores sessions in files is in scope. An unauthenticated attacker corrupts a session file on disk, and a later request deserializes attacker-chosen objects — chained with a memory bug, that becomes remote code execution.
CVE-2026-129289 (9.2) — PHP-FPM request smuggling. PHP-FPM is how most modern WordPress hosting runs PHP. An inconsistent interpretation of HTTP requests can let an unauthenticated attacker forge a backend request and execute attacker-controlled PHP code as the worker, with no other user interaction and no non-default configuration. It needs a front end that reuses FastCGI connections, a common production setup.
CVE-2026-129182 (9.2), CVE-2026-129474 (9.2), CVE-2026-129481 (9.2), CVE-2026-129496 (9.2) — four use-after-free flaws. A use-after-free is a memory-safety bug where the program keeps using memory after it has been freed, letting an attacker corrupt memory and potentially execute code. CVE-2026-129182 and CVE-2026-129474 affect PHP 8.5 and later; CVE-2026-129481 can break session cleanup and crash a reused worker; CVE-2026-129496 can let an unauthenticated attacker crash workers or execute arbitrary code with the worker's privileges. There is also an eighth flaw, CVE-2026-129291, rated 8.8, from the same family. Seven separate critical paths to taking over a PHP worker shipped in a single day.
phpAfterShell: the one that worries me most
PHP's default way of storing sessions is files on disk. When your site calls session_start(), PHP reads a session file and unserializes it. The file handler does not replace the session file atomically: it writes the new data over the existing file and then shrinks it. If that write is interrupted at a useful point, the start of the new session data can end up spliced onto the tail of the old data — and by manipulating serialized length fields, the leftover bytes re-parse as live session entries, including objects.
So an unauthenticated attacker can corrupt a session file on disk, and the next session_start() unserializes attacker-chosen objects. Chained with a memory-corruption bug in a PHP-native class, that becomes remote code execution running as the web worker, typically www-data.
Three things make this especially nasty. First, the flaw lives in PHP itself, not in any application, so any PHP stack that keeps sessions in files — the PHP default — is in scope until PHP is upgraded. WordPress core does not use PHP sessions, but many plugins do. Second, this is a direct descendant of PHP2Shell, the October 2026 flaw tracked as CVE-2026-109618 and CVE-2026-109619. The October patch restricted which objects could be created during the upload-progress callback but left the session-file write behavior untouched — servers patched on October 21 for PHP2Shell are still vulnerable to phpAfterShell. Third, PHP powers roughly 68 percent of websites with a known server-side language, according to W3Techs. When a flaw touches the default configuration of a language that runs two-thirds of the web, "patch now" is arithmetic, not drama.
Why this matters for WordPress and Elementor sites
I build with Elementor, so let me be clear: Elementor is not the problem here, and neither is WordPress core. The problem sits one layer below them, in the engine both run on — which is precisely what makes it dangerous, because it is the layer most site owners never look at.
Your hosting runs a PHP version. WordPress, your theme, and your plugins all execute inside that PHP worker. If an attacker gets code execution in the worker, they are inside your site's runtime: they can read wp-config.php and your database credentials, dump user data, install backdoors, redirect visitors, or use your server to attack others. A security plugin may catch some of it after the fact, but it runs inside the same compromised worker, so it is not a reliable last line of defense.
Most WordPress sites are on shared or managed hosting where the PHP version is chosen for you, and many hosts lag behind on patching. I have seen client sites still running PHP 8.1 or even 8.0 in 2026, versions that no longer receive security fixes at all. If your host will not move you to a supported, patched PHP version, that is a hosting problem to solve this week, not next quarter.
How to check your PHP version right now
It takes about thirty seconds. In your WordPress dashboard, go to Tools, then Site Health, then the Info tab, and expand the Server section. If you see 8.2.36, 8.3.37, 8.4.28, 8.5.13, or 8.6.0 or newer, you already have the November 19 fixes. Anything lower in the 8.2–8.5 branches is affected; 8.1 or older no longer gets security updates at all. You can also check your hosting panel — in cPanel look for "Select PHP Version" or "MultiPHP Manager". Verify it yourself even on managed hosting.
The checklist I ran on my own sites tonight
1. Check the PHP version on every site. I went through Site Health on each site. Two were already patched by the host. One was on 8.3.36 — one patch behind, and therefore affected.
2. Update PHP to a patched release. On the site that was behind, I updated to 8.3.37 through the hosting panel and re-checked Site Health to confirm. If your host has not made the patched version available, open a support ticket and ask for it by name: "Please move my account to PHP 8.3.37 or newer — the November 19 security release fixes seven critical CVEs including CVE-2026-126714."
3. If you cannot patch immediately, apply the workarounds. For CVE-2026-115560, set session.upload_progress.enabled to 0 in php.ini or .user.ini. For CVE-2026-129289, disable FastCGI connection reuse on your front end if you control it. Mitigations, not fixes.
4. Take a fresh backup before and after. A PHP minor-version update should be safe, but "should be" is not a backup strategy. I back up before changing the PHP version and again after confirming the site still works, so a plugin that breaks on the new version can be rolled back in minutes.
5. Test the site after the update. Click through the homepage, a blog post, the contact form, and checkout if you run a store. Five minutes of clicking beats discovering a broken checkout from a customer.
6. Look for anything odd. Check for new admin users, unfamiliar files in wp-content/uploads, and scheduled posts you did not create. There is no evidence of exploitation yet, but a quick review costs nothing after any critical disclosure.
7. Deal with end-of-life PHP. If any site is on PHP 8.1 or older, schedule the upgrade to a supported branch this week.
What if your host will not update?
Some budget shared hosts are slow to offer new PHP builds. If yours cannot give you a patched version within days, ask to be moved to a server or plan that has it, switch hosts, or at minimum apply the workarounds above — disable session upload progress, review which plugins use PHP sessions, and make sure your backups are current and stored off the server.
A host that leaves you on a vulnerable PHP build for weeks after a critical release has told you something important about how it handles security. Believe it the first time.
My honest take
I have written about a lot of security scares, and many turned out less dangerous than the headlines suggested. This one is not in that category. Seven critical flaws, all scoring 9.2, across every supported PHP version, with a demonstrated exploitation chain and a public exploit expected — that is the real thing.
The risk is that nobody checks. PHP is infrastructure, and infrastructure is invisible until it breaks. Check tonight — it is the highest-value security task you will do this month.
Conclusion
On November 19, 2026, PHP patched 17 flaws including seven critical remote-code-execution vulnerabilities, headlined by phpAfterShell — a flaw in the default session handler that can let an unauthenticated attacker run code on your server. Every supported PHP branch was affected, and even servers patched for October's PHP2Shell flaw are still vulnerable. There is no sign of in-the-wild exploitation yet, but a full exploitation chain is public and a public exploit is expected. Check your PHP version in Site Health tonight, update to 8.2.36, 8.3.37, 8.4.28, 8.5.13, or 8.6.0, and if you cannot patch yet, disable session upload progress as a stopgap. Then back up and test your site.
FAQ
Does this affect my WordPress site even if I keep WordPress and my plugins updated?
Yes. The flaw is in PHP itself, the engine WordPress runs on — not in WordPress core or a plugin — so WordPress updates alone do not fix it.
How do I check which PHP version my site uses?
In your WordPress dashboard, go to Tools > Site Health > Info > Server. You need 8.2.36, 8.3.37, 8.4.28, 8.5.13, or 8.6.0 or newer to have the November 19 fixes.
What is phpAfterShell (CVE-2026-126714)?
A flaw in PHP's default file-based session handler. An interrupted session-file write can splice new session data onto old data, letting an unauthenticated attacker inject objects that PHP later unserializes — chained with a memory bug, that becomes remote code execution.
I patched PHP in October for PHP2Shell. Am I safe?
Not from this flaw. The October patch restricted object creation during the upload-progress callback but left the session-file write behavior untouched, so phpAfterShell still affects servers patched for PHP2Shell. You need the November 19 release too.
What if my host has not released the patched PHP version yet?
Ask for it by name in a support ticket — PHP 8.2.36, 8.3.37, 8.4.28, 8.5.13, or 8.6.0. While you wait, set session.upload_progress.enabled to 0 as a mitigation and make sure your backups are current.
Is there any sign these flaws are being exploited in the wild?
As of November 21, no. But a complete exploitation chain has been publicly described, so treat exploitation as a matter of time, not possibility.
