On Wednesday, October 21, 2026, government websites across Europe, Canada, Australia and Japan suddenly stopped loading. Businesses pulled pages offline too. The cause was not a power cut or a massive cyberattack. It was two critical security flaws in PHP, the programming language behind roughly 70% of websites whose server-side technology can be identified.
If you have never heard of PHP, you are not alone. Yet nearly every day you probably use a site built on it. This guide explains what is PHP, what the PHP2Shell flaws are, why governments and companies took their sites offline, and what website owners should do right now.
Quick Answer: Why Are Websites Going Offline?
Two critical vulnerabilities in PHP, tracked as CVE-2026-109618 and CVE-2026-109619 and nicknamed PHP2Shell, let an attacker run their own code on a vulnerable web server without logging in. Details leaked online a day before the planned fix, and some reports said attackers were already probing sites. Security agencies, including the US National Security Agency, told organizations to patch immediately or take vulnerable systems offline. Many chose to go offline first and patch second, which is why so many sites went dark at once.
The fix is available. PHP released patched versions on October 21, 2026; downloads are on the official php.net site.
What Is PHP?
PHP (originally “Personal Home Page”, now a recursive acronym for “PHP: Hypertext Preprocessor”) is a free, open-source server-side scripting language. It was created by Rasmus Lerdorf in the mid-1990s and is now maintained by a global community and the PHP Foundation.
Server-side means the code runs on the web server, not in your browser. When you open a page, PHP can pull information from a database, check your login, build the page and send the finished result to you.
What is PHP used for?
- Content management systems (CMS): WordPress, Drupal, Joomla and many others
- Online stores: Magento, WooCommerce and countless custom shops
- Large reference sites: Wikipedia’s software, MediaWiki, is written in PHP
- Web applications: frameworks such as Laravel and Symfony
- Hosting control panels: tools like cPanel and Plesk
- Government portals, hospitals, schools and newsrooms that run on any of the above
Why is PHP so widespread?
PHP is free, easy to learn, works on cheap hosting and has a huge library of ready-made tools. Over three decades that made it the default choice for everything from personal blogs to national government services. That popularity is exactly why a flaw in PHP itself matters so much.
What Is PHP2Shell? The Vulnerabilities Explained
PHP2Shell is the informal name for two flaws in the PHP core, the interpreter that runs PHP code:
| Detail | CVE-2026-109618 | CVE-2026-109619 |
| Type | Remote code execution (RCE) | Remote code execution (RCE) |
| Login needed? | No | No |
| Severity | Critical (9.2 on CVSS 4.0) | Critical (9.2 on CVSS 4.0) |
| Fixed in | PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35 | PHP 8.5.12, 8.4.27, 8.3.36, 8.2.35 |
In plain language: remote code execution means an outsider can make your server run commands of their choosing. From there an attacker can steal data, deface pages, plant hidden backdoors or use the server to attack others. The U.S. National Vulnerability Database scored the issues even higher, at 9.8 on the older CVSS 3.1 scale.
Security firm Wiz, one of the teams that found the flaws, described them as among the most severe ever discovered in PHP. The bug class involves memory corruption, and researchers reported that it affects PHP setups that serve web requests, including PHP-FPM, Apache with mod_php, php-cgi, FrankenPHP and LiteSpeed.
Found with the help of AI
Multiple reports say the flaws were found with AI assistance, with researchers at Calif and Wiz and a team at OpenAI reportedly arriving at the same bug independently. One report describes the underlying weakness as roughly 14 years old. Treat the exact details as reported rather than officially confirmed, but the broader point stands: AI is speeding up how quickly serious bugs are found, by defenders and, potentially, attackers. For more on this theme, read our analysis of why AI safety is becoming an infrastructure problem.
Timeline: How the PHP Shutdown Unfolded
- Tuesday, October 20: PHP’s developers warned of two critical flaws and urged users to be ready to update. Technical details then leaked online, a day before the planned fix.
- Wednesday, October 21 (early): Government agencies and companies began taking sites offline as a precaution. Cloudflare’s CTO reported early attack attempts against PHP sites while temporary firewall rules rolled out.
- Wednesday, October 21, 14:00 UTC: PHP released emergency updates 8.5.12, 8.4.27, 8.3.36 and 8.2.35 along with security advisories.
- Following days: Hosting providers, Linux distributions and control panels such as Plesk shipped patched packages, and sites began returning online.
Which Governments and Organizations Went Offline?
According to reports from Reuters, CBC, CNBC and others, the disruption was global:
- Netherlands:nl, MijnOverheid, DigiD, the Port of Rotterdam, hospital sites and the National Cyber Security Centre’s public websites were affected.
- France: Local government administrative sites, including one for Paris police, were taken offline at the request of the national cybersecurity agency.
- Finland: State IT provider Valtori took public government network services offline.
- Canada: Several federal websites and provincial sites, including Newfoundland and Labrador’s, were temporarily taken down. Minister Evan Solomon called it a precautionary measure.
- Australia: The Australian Signals Directorate’s cyber.gov.au and the Australian Bureau of Statistics were among the sites affected.
- Belgium, Germany, Denmark, the Czech Republic and Japan: Various government services and sites were pulled offline or restricted. Japan’s prime minister urged businesses to act immediately.
- Wikipedia: Reported offline in some regions during the scramble.
Cybersecurity agencies in the UK, Europe, Australia and Japan also issued urgent update warnings.
Why Take a Website Offline Instead of Just Patching?
This is the question most people ask, and the answer is about timing and scale.
- The patch was not ready when the details leaked. Taking a site offline was the only way to be sure no one could exploit it in the gap.
- Attackers move fast. Security experts have noted that the time between a flaw becoming public and active exploitation keeps shrinking, now measured in hours.
- Governments run hundreds of sites. Different contractors, frameworks and PHP versions make a quick, safe patch of everything difficult. Switching a site off closes the risk completely.
- The risk is data and trust. A compromised public service can leak citizen data or become a platform for further attacks.
- Agency guidance said so. The NSA advised organizations that could not patch immediately to pull systems offline until fixed.
Cybersecurity experts note that the shutdowns were a sign the response system worked, not that it failed. Belgium’s cybersecurity centre said it had recorded no attacks on Belgian sites, and the reports reviewed did not confirm a successful compromise of the government sites that went offline. Reports on in-the-wild exploitation varied, with some security firms noting attempts and others saying they had not yet seen it before patches landed.
Who Is Affected? Is My Website at Risk?
If your site runs on PHP, it is potentially affected. That includes:
- WordPress, Drupal, Joomla, Magento and other PHP-based CMS platforms
- Custom PHP applications and Laravel or Symfony projects
- Hosting panels such as cPanel and Plesk, plus appliances with embedded PHP
- Docker images built on official PHP images
Important: updating WordPress, plugins or themes alone does not fix this. The flaws sit in the PHP interpreter on the server, so the PHP version itself must be updated.
Do not confuse PHP2Shell with WP2Shell
In July 2026 a separate exploit chain nicknamed WP2Shell hit WordPress core, fixed in WordPress 6.9.5 and 7.0.2. It is a different problem. If you run WordPress you should be patched against both: WordPress updated and PHP updated.
How to Fix the PHP Vulnerability (Step by Step)
1. Check your PHP version
Run php –version on your server or look in your hosting control panel.
2. Update to a patched release
| PHP branch | Status | Patched version |
| 8.5 | Active support | 8.5.12 |
| 8.4 | Active support | 8.4.27 |
| 8.3 | Security fixes only | 8.3.36 |
| 8.2 | Security fixes only | 8.2.35 |
| 8.1 and older | End of life | No official fix |
3. Use your vendor’s packages
Linux distributions, hosting providers and control panels such as Plesk received patches ahead of the public release. Check with your provider, and restart PHP-FPM, Apache or your web server after updating so the new version is actually loaded.
4. Rebuild containers
If you use Docker, pull and rebuild images based on the patched PHP tags (for example 8.4.27) instead of relying on old cached layers.
5. Treat end-of-life PHP as an emergency
PHP 8.1 and older no longer get fixes from the PHP project. Some Linux vendors and long-term-support providers offer backported patches, so ask them. If you cannot get one, isolate the site or take it offline until you migrate. One security firm estimated hundreds of thousands of internet-facing hosts still advertise an unsupported PHP version.
6. Temporary mitigations (not a substitute for patching)
If you truly cannot update immediately, advisories describe settings that reduce exposure for one of the flaws, such as setting session.upload_progress.enabled=0 and, on PHP 8.5, fatal_error_backtraces=0, then restarting workers. These block known paths only. Patching is the only complete fix.
7. Check for signs of compromise
Look for unexpected PHP files (especially in upload folders), new admin accounts, modified core files and odd outbound traffic. Rotate passwords and keys if anything looks suspicious, and review server logs from October 20 onward.
What This Means for Businesses and Everyday Users
For businesses: Build a patch-or-isolate plan before the next emergency. Keep an inventory of what PHP versions each site runs, set up automatic security updates where safe, and put a web application firewall in front of public sites as an extra layer. Security planning belongs inside any digital transformation strategy, and resilient operations are part of the business growth trends leaders are weighing in 2026.
For everyday users: You do not need to do anything to your own devices. If a site you rely on is temporarily down, that is likely a safety measure. Be cautious of phishing emails claiming to be from affected services during the disruption, and avoid logging in through links in unexpected messages.
The Bigger Picture
PHP2Shell shows three trends. First, shared infrastructure creates shared risk: one flaw in one language can reach a huge share of the web. Second, the gap between disclosure and attack is closing, so slow patching is no longer an acceptable habit. Third, AI is changing vulnerability discovery, which means more critical bugs may surface faster. Going offline used to be viewed as failure; in a case like this it can be the responsible choice.
Frequently Asked Questions
What is PHP in simple words?
PHP is a free programming language that runs on web servers and builds web pages dynamically. It powers WordPress and a huge portion of the internet.
Is PHP dead or unsafe?
No. PHP is actively developed and modern versions are well supported. The risk comes from unpatched or end-of-life versions, which is true of any software.
What is PHP2Shell?
The nickname for two critical PHP flaws, CVE-2026-109618 and CVE-2026-109619, that allow remote code execution without authentication.
Why did government websites go offline?
Agencies took sites down as a precaution because details leaked before the fix was ready and attackers could move within hours.
Were the government websites hacked?
The reports reviewed did not confirm successful breaches of the sites taken offline. Some security firms reported attack attempts against PHP sites more broadly.
Which PHP versions are fixed?
PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP 8.1 and older receive no official fix from the PHP project.
Is my WordPress site affected?
Yes, if the server runs an unpatched PHP version. Updating WordPress alone will not fix it; update PHP on the server or ask your host.
Are the websites back online?
Many have returned as patches rolled out, but timing varies by organization. Check each site’s official channels.
How do I check my PHP version?
Run php –version in the terminal, or check your hosting dashboard or a phpinfo() page (remove it afterward).
Should I worry as a regular internet user?
Not about your own devices. Stay alert to phishing and expect some services to be briefly unavailable.
Key Takeaways
- PHP runs about 70% of websites with a detectable server-side language.
- PHP2Shell is two critical remote code execution flaws, CVE-2026-109618 and CVE-2026-109619.
- Patches shipped on October 21, 2026: 8.5.12, 8.4.27, 8.3.36 and 8.2.35.
- Governments and businesses went offline to close the risk window, not necessarily because they were hacked.
- Update PHP itself, not just your CMS, and treat PHP 8.1 or older as urgent.
Related Reading on GlobeVox Leaders
- AI Agents Are Acting on Their Own: Why AI Safety Is Becoming an Infrastructure Problem
- Digital Transformation Strategy: The Executive Blueprint for Building Future-Ready Businesses
- Business Growth Trends: 10 Powerful Strategies Shaping Success in 2026
- 10 Industries Set to Grow Fastest Over the Next Five Years (2026-2031)
- UPI Charges: What Small Businesses in India Need to Know
- More analysis in The GlobeVox Journal and the latest GlobeVox Leaders Magazine