
If your website runs on WordPress, Laravel, Drupal or almost any custom PHP app, this week’s PHP security update needs your attention. On November 19, 2026 the PHP project shipped fixes for 18 vulnerabilities, seven of them rated critical. The headline bug, nicknamed phpAfterShell, gets around the fix for last month’s PHP2Shell flaws, which attackers actively exploited. Here is what happened, who is at risk and the exact steps to take today.
What is in the November 2026 PHP security update
According to Infosecurity Magazine, Field Effect and Precursor Security, the release includes:
- 18 vulnerabilities fixed across all supported PHP branches, with 7 rated critical.
- New patched versions: PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36.
- No fix for old branches: PHP 8.1 and earlier are end-of-life and will not receive patches.
- phpAfterShell (CVE-2026-126714): a critical flaw in PHP’s default file-based session handler, found by the security firm depthfirst.
What is phpAfterShell?
PHP stores user sessions in files by default. Researchers found that a session file is not cleared before it is rewritten, so an interrupted write can leave mixed data behind. When PHP later reads that data, an attacker may be able to inject objects or change values such as login and permission flags. Turning that into full remote code execution needs extra conditions, such as a suitable code path in the application or a second bug, but the risk is serious enough that PHP rated it critical.
Exploitation depends on file sessions (the default), the session upload progress feature being enabled (it was on by default before this fix) and precise timing. Sites that keep sessions in Redis or a database are not affected by this particular flaw.
Why it follows PHP2Shell
In October, PHP patched two flaws known as PHP2Shell (CVE-2026-109618 and CVE-2026-109619). Those bugs were used in real attacks: Check Point reported campaigns from October 30, and firewall appliances were targeted. Researchers say phpAfterShell bypasses the October fix, so servers patched last month are still exposed until they install this release.
Is my WordPress site affected by the PHP security update?
WordPress itself has not released a new version for this, because the flaws sit in PHP, the language WordPress runs on. Your exposure depends on the PHP version on your hosting server. Many managed hosts patch automatically, but shared hosts, VPS servers, Docker images and control panels often lag behind.
As of November 20, the security sources we reviewed reported no confirmed in-the-wild exploitation of the new flaws. Given how fast PHP2Shell was abused, that window may be short.
Why this matters for businesses in the USA and UAE
PHP powers a large share of the web, including most WordPress sites, online stores and booking systems used by small and mid-sized businesses. In the USA, a hacked site can mean customer data exposure, breach notification duties and lost sales. In the UAE and Dubai, where many firms run e-commerce and real estate lead sites on WordPress, a compromise can damage trust and Google rankings overnight. Search engines flag hacked sites quickly, and recovery can take weeks.
How to patch PHP vulnerabilities: step by step
- Check your PHP version. In WordPress, go to Tools, then Site Health, then Info, then Server. Or ask your host.
- Upgrade to a patched release: 8.5.13, 8.4.28, 8.3.37 or 8.2.36. If you are on PHP 8.1 or older, plan a move to a supported branch now.
- Restart PHP-FPM and workers after upgrading, and rebuild any Docker containers so they pick up the new PHP image.
- Check vendor backports. Linux distributions sometimes patch older version numbers, so confirm the fix in your vendor’s advisory rather than by version string alone.
- Disable session upload progress if you do not need it: set
session.upload_progress.enabled = 0. An explicit On setting in php.ini or a pool config will override the new safer default. - Review FastCGI reuse. Until patched, turn off connection reuse to PHP-FPM (
fastcgi_keep_conn offin NGINX). One critical flaw is only reachable when this is on. - Inventory every PHP install, including staging sites, old microsites, appliances and hosting control panels.
- Monitor logs for PHP-FPM worker crashes and unexpected processes, and keep fresh offsite backups.
Checklist for WordPress owners
- Update WordPress core, themes and plugins at the same time.
- Remove unused plugins and admin accounts.
- Put a web application firewall in front of the site.
- Confirm your host has applied the PHP patch, in writing.
Need hands-on help? TASCO’s cybersecurity services cover patching, hardening and monitoring, our cloud and DevOps team can update servers and containers safely, and our web development team can upgrade old PHP sites to supported versions. For more on keeping WordPress safe, read our guide to the WordPress 7.1.4 security update.
Frequently asked questions
Which PHP version fixes phpAfterShell?
PHP 8.5.13, 8.4.28, 8.3.37 and 8.2.36, released on November 19, 2026, fix phpAfterShell (CVE-2026-126714) and the other 17 vulnerabilities in this release.
Is phpAfterShell being exploited?
As of November 20, 2026, security researchers reported no confirmed attacks using the new flaws. The related PHP2Shell bugs from October were exploited, so patch quickly.
Do I need to update WordPress for the PHP security update?
The fix is in PHP, not WordPress, so you or your host must upgrade the server’s PHP version. It is still a good moment to update WordPress, themes and plugins too.
Get your PHP sites patched today
Not sure what PHP version your website runs, or worried about downtime during an upgrade? Message TASCO IT Solutions on WhatsApp at +971 58 661 3940 or email info@tascoit.com. We help businesses in the USA, the UAE and Pakistan patch, secure and monitor their sites.