Last updated: October 27, 2026. This is a fast-moving situation, so details may change as security agencies and vendors publish new guidance.
If you own a website, especially a WordPress site, you may have seen headlines about a serious PHP security flaw this week. The vulnerabilities, nicknamed PHP2Shell, affect PHP itself, the programming language that powers a huge share of the web. Security agencies in the US and Canada are urging organizations to patch immediately.
This guide explains in plain language what happened, why it matters, what it means for website owners, and what you should do. It also explains how HVanTech approaches security, including an honest note about what no hosting company can promise.
On October 21, 2026, the PHP project released emergency security updates for two critical vulnerabilities in the PHP core, tracked as CVE-2026-109618 and CVE-2026-109619. Both are rated 9.2 out of 10 (Critical) on the CVSS v4.0 scale.
In simple terms, these flaws could allow an attacker to run their own code on a vulnerable web server without needing to log in. This is known as unauthenticated remote code execution (RCE), and it is among the most serious kinds of vulnerability there is.
According to published analyses, the two flaws involve how PHP handles certain error conditions and memory:
Security researchers reported that details became public before the official fixes were released, which shortened the time defenders had to prepare.
Yes. On October 26, 2026, the US Cybersecurity and Infrastructure Security Agency (CISA) added both vulnerabilities to its Known Exploited Vulnerabilities (KEV) catalog, which means there is evidence of real-world attacks. The Canadian Centre for Cyber Security has also published an alert about these vulnerabilities.
One security vendor reported that it identified more than 22 million internet-exposed instances that could potentially be affected, which gives a sense of the scale.
The fixes were released in these versions:
| PHP branch | Fixed in version |
|---|---|
| PHP 8.5 | 8.5.12 |
| PHP 8.4 | 8.4.27 |
| PHP 8.3 | 8.3.36 |
| PHP 8.2 | 8.2.35 |
PHP 8.1 and older are end-of-life and do not receive official fixes from the PHP project. If a website still runs on one of those versions, upgrading to a supported version is not optional, it is the only real solution.
According to CISA, the flaws affect PHP installations serving web requests, including common setups such as Apache with mod_php, PHP-FPM, php-cgi, FrankenPHP, and LiteSpeed. The PHP project has also said there are no complete workarounds, and that updating is the only safe choice.
WordPress, WooCommerce, Joomla, Drupal, and countless custom websites run on PHP. An important point many people miss: this is a flaw in PHP itself, not in WordPress. That means:
A successful attack on an unpatched server could potentially lead to:
For a small business, the biggest damage is often not technical but reputational: customers losing trust, and search engines flagging your site.
1. Find out who manages your PHP.
2. Check your PHP version. In WordPress, go to Tools, then Site Health, then the Info tab, then Server to see your current PHP version. Your hosting control panel may also show it.
3. Move off end-of-life PHP. If you are on PHP 8.1 or older, plan an upgrade immediately. Test your site first, because older themes and plugins may not support newer PHP versions.
4. Keep everything else updated. This flaw is a server-level issue, but attackers often chain multiple weaknesses. Keep WordPress core, themes, and plugins current and remove anything you no longer use.
5. Make sure you have recent backups. Backups stored off the server give you a clean recovery point if something goes wrong.
6. Watch for warning signs. Unexpected redirects, new admin users you did not create, unfamiliar files, sudden traffic spikes, or security warnings in Google Search Console deserve immediate attention.
7. Do not rely on temporary tweaks. Some partial configuration changes have been discussed by researchers, but they are not a substitute for installing the patched PHP version.
At HVanTech, we treat security advisories like this one as a priority. Our approach is built on a few principles:
If your website is hosted with HVanTech and you are unsure which PHP version your site uses, or your site relies on an older version, contact us and we will help you check and upgrade it.
It is important to say this clearly: no hosting company, bank, or technology provider can guarantee 100% security. New vulnerabilities are discovered regularly, including in widely trusted software like PHP. Sometimes details leak before fixes are ready, as happened here. Attackers are also constantly looking for weaknesses.
What a responsible provider can do is reduce risk and respond quickly. That means:
Security is an ongoing process, not a one-time achievement. The work of security specialists is to identify problems early and respond fast, and that is exactly the standard we hold ourselves to.
PHP2Shell is a reminder that even the foundations of the web can contain serious flaws, and that the speed of your response matters. If you manage your own server, patch now. If you rely on a hosting provider, ask them directly whether the fixed PHP versions are installed. And if your site is on an outdated PHP version, treat the upgrade as urgent.
If you have questions about your website’s security or PHP version, or you would like a professional review of your hosting setup, HVanTech is here to help. Book a free consultation and we will look at your site with you. You can also explore our Canadian WordPress hosting plans and website maintenance support.
What is the PHP2Shell vulnerability? PHP2Shell is the nickname for two critical PHP flaws, CVE-2026-109618 and CVE-2026-109619, that can allow remote code execution on a vulnerable server without authentication.
Is the PHP2Shell vulnerability being actively exploited? Yes. CISA added both vulnerabilities to its Known Exploited Vulnerabilities catalog on October 26, 2026, indicating real-world exploitation.
Which PHP versions fix the vulnerability? The fixed releases are PHP 8.5.12, 8.4.27, 8.3.36, and 8.2.35. PHP 8.1 and older are end-of-life and receive no official fixes.
Does updating WordPress fix this vulnerability? No. The flaw is in PHP itself, so the fix must be applied on the server by updating PHP to a patched version.
How do I check which PHP version my website uses? In WordPress, go to Tools, Site Health, Info, then Server. You can also check your hosting control panel or ask your hosting provider.
Is my website at risk if it is hosted with a hosting company? It depends on whether your provider has installed the fixed PHP versions. Ask your host directly and confirm that your site is running a patched, supported version.
Can any hosting company guarantee 100% security? No. No provider can promise absolute security. The best approach is continuous monitoring, rapid patching, layered defences, and reliable backups.
What should I do if my site runs on PHP 8.1 or older? Plan an upgrade to a supported PHP version right away, and test your theme and plugins for compatibility first.