Two critical PHP flaws, tracked as CVE-2026-109618 and CVE-2026-109619, let attackers run their own code on a server without logging in. Both carry a CVSS score of 9.2 out of 10, and emergency patches went live on October 21.
Governments across Europe took public websites offline as a precaution, and cyber agencies told anyone running PHP to patch immediately or pull their sites off the internet. Security researchers are treating it as the defining critical PHP vulnerability 2026 will be remembered for. If your website runs on PHP, update now or take it offline until you can. The fixes are PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35.
What Are CVE-2026-109618 and CVE-2026-109619?
In plain language, these are remote code execution bugs. That means an attacker can send a specially crafted request to a server and get the server to run malicious commands, all without a username, password, or any login at all. Think of it like someone mailing a letter to your house and the letter somehow unlocking your front door.
Researchers have dubbed the threat “PHP2Shell” because a successful attack can hand an intruder a working command shell on the server. Once inside, an attacker could steal data, plant backdoors, deface pages, or take over the machine entirely.
What makes this especially dangerous is timing. The demonstrated exploit against mod_php, the most common way PHP runs on Apache web servers, triggers the attack before any of your website’s own code even executes. Your application firewall rules, your login system, your plugins: none of them get a chance to stop it, because the flaw fires first.
Why Does PHP Matter So Much?
PHP quietly powers roughly 75 percent of websites where the server-side language is known, according to W3Techs. WordPress alone runs about 43 percent of all websites on the internet. Add Drupal, Joomla, Magento, millions of shared-hosting accounts, and countless control panels and billing systems, and you get a bug with an enormous blast radius.
That is why this is not a niche developer story: when the language behind most of the world’s websites has a hole, the whole web’s plumbing is exposed.
How Were the Flaws Discovered?
Cybersecurity researchers at Calif and Wiz found the vulnerabilities using OpenAI’s AI systems. Wiz described them as “the most severe vulnerabilities ever discovered” by AI, and an OpenAI blog post called the issue “one of the most impactful security issues in recent memory.”
The uncomfortable part is how long the flaws went unnoticed. They had been sitting in PHP code for over a decade, invisible to human reviewers through years of audits, and it took AI-assisted analysis to spot them. How many other old, widely trusted codebases hold surprises nobody has found yet?
Which PHP Setups Are Most at Risk?
Risk is highest for servers running PHP as an Apache module, known as mod_php. The demonstrated exploit works with a single unauthenticated request, and the attack triggers before application code runs.
But mod_php is not the only setup in the blast zone. PHP-FPM, php-cgi, FrankenPHP, and LiteSpeed are affected too, so nearly every common way of running PHP is exposed. If your server runs any PHP version below the patched releases, treat it as vulnerable until updated.
How Did This Unfold?
Emergency patches landed on October 21 at around 14:00 UTC: PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. The PHP project urged administrators to update immediately, and cyber agencies backed that up fast.
The UK’s National Cyber Security Centre, CERT-EU, and Australian cyber agencies all issued guidance telling organizations to patch at once or take internet-facing systems offline until the fix was in place. They also warned that workarounds only block some attack paths. The update is the complete fix.
Then came the precautionary shutdowns. Government IT teams across Europe decided not to wait:
- Netherlands: the lower house (Tweede Kamer), Overheid.nl, MijnOverheid, DigiD, the National Cyber Security Centre itself, the Data Protection Authority, the Port of Rotterdam, the KNVB football association, the five largest political parties’ websites, and several hospital sites went dark.
- Finland: state IT provider Valtori shut down public web services, along with the National Land Survey and the Helsinki Book Fair site.
- France: the Interior Ministry took local government sites offline.
- Denmark: Kombit’s school communication platform went offline.
- UK: Edinburgh Council and some BBC programme pages, including Doctor Who and The Traitors, were pulled.
Privacy group noyb and the Dutch public health institute RIVM also took sites down.
To be clear about what this means: these shutdowns were precautionary. There is no confirmed evidence, as of this writing, that any of these sites were actually breached. Administrators pulled the plug to avoid being attacked, not because attackers had already broken in. That distinction matters, and it is worth repeating: offline does not mean hacked here.
Meanwhile, real attacks appear to be starting. Threat intelligence firm watchTowr reported seeing probing scans hitting its sensors, with crude “vibecoded” proof-of-concept exploits using “php2shell” user agents. None have succeeded yet, but watchTowr expects working exploits soon. The race between patching and exploitation is now on.
Notably, the US Cybersecurity and Infrastructure Security Agency (CISA) did not respond to requests for comment on the situation, per Reuters reporting on the story.
Are the Flaws Fixed?
Yes, fixes exist and are publicly available. The patched versions are 8.5.12, 8.4.27, 8.3.36, and 8.2.35, covering all currently supported PHP branches. If you update to one of these, you are protected against both vulnerabilities.
The open question is coverage. Millions of servers run old, unsupported PHP versions that will never get an official patch. Their owners need to upgrade the PHP branch itself or isolate those systems. Fixing the code was the fast part. Fixing the world’s servers will take much longer.
Who Is Affected and What Should You Do?
You are affected if your website, app, or server runs PHP, which likely includes you if you use WordPress, Drupal, Joomla, Magento, or most shared hosting. The recommended actions, in order of priority:
- Update PHP to the patched version matching your branch: 8.5.12, 8.4.27, 8.3.36, or 8.2.35. Your hosting provider may handle this for you, so contact them first.
- If you cannot patch right now, take the site offline. Cyber agencies are explicit on this: an unpatched, internet-facing PHP site should be pulled offline until it is fixed. Workarounds only block some attack paths, not all of them.
- Check WordPress auto-updates. WordPress itself released no fix for this because the bug is in PHP, not WordPress. Your CMS being up to date does not protect you. What matters is the PHP version your host runs.
- If you run your own server, update the PHP packages from your OS or the official builds, then restart the web server and PHP services.
- After patching, check logs for suspicious requests around the disclosure window. If anything looks wrong, treat it as a possible incident and get professional help.
This guidance matches what the UK NCSC, CERT-EU, and Australian cyber agencies are telling organizations. It is standard public security advice, and it applies whether you run one blog or a fleet of servers.
How Can Website Owners Check Their PHP Version?
Not sure what PHP version you are running? Here is the quick way to find out.
- WordPress users: go to Tools, then Site Health, then the Info tab, and open the Server section. It lists your PHP version. Many hosts also show it in the hosting control panel under PHP settings.
- Shared hosting customers: look for “PHP version” or “Select PHP version” in cPanel, Plesk, or your host’s dashboard. If you do not see it, ask support directly: “What PHP version is my site running, and have you applied the October 21 security patches?”
- VPS or dedicated server owners: run
php -vin the terminal. If you see a version below the patched releases, update the package and restart services.
The single most useful sentence you can send your host right now is: “Have you applied the emergency PHP security update released on October 21 for CVE-2026-109618 and CVE-2026-109619?” If the answer is anything other than a clear yes, ask them to do it today or temporarily take your site offline.
What Is Still Unknown?
Three questions remain open: how many servers were probed before the patches went public, whether any real breaches happened during an exposure window that spanned more than a decade, and how fast working exploits will spread now that crude proof-of-concept code is circulating. Patch now, or go offline until you can.
Frequently Asked Questions
Is my WordPress site affected by the PHP vulnerability?
If your hosting runs an unpatched PHP version, yes. WordPress sites depend on PHP, so the critical PHP vulnerability 2026 exposed this week applies to your site too. Ask your host whether the October 21 patches were applied.
Does updating WordPress protect me from CVE-2026-109618 and CVE-2026-109619?
No. The bug is in PHP, the language WordPress runs on, not in WordPress itself. Keeping WordPress updated is still good practice, but only the PHP update closes this hole.
Should I take my website offline?
If you cannot patch PHP immediately, yes. Cyber agencies in the UK, EU, and Australia say unpatched, internet-facing systems should go offline until fixed, because workarounds only block some attack paths.
Were the government websites that went offline actually hacked?
No evidence suggests that. The shutdowns in the Netherlands, Finland, France, Denmark, and the UK were precautionary moves to prevent attacks, not responses to confirmed breaches.
Which PHP versions are safe?
The patched releases are 8.5.12, 8.4.27, 8.3.36, and 8.2.35. Any version below these on the supported branches should be treated as vulnerable.
Sources: The Register, Reuters via Global Banking and Finance, AXY News
Related reading: this follows other recent security stories, including the OpenCode breach that exposed users’ OpenAI and Anthropic API keys and the report on how AI agents breached 100 company websites.



