Website & SecurityPHP security 2026 · 1 / 3

What is PHP2Shell? The October PHP security flaw and what it means for your website

Two PHP vulnerabilities disclosed on 20 October let outsiders run programs on a website's server without logging in. What it means, who is affected, what to do now.

AI Talk4 min read
At a glanceAs of November 3, 2026
Risk
Critical
9.2 out of 10
What
2 flaws in PHP itself
CVE-2026-109618 · 109619
Who
Websites running on PHP (including old versions 8.1 and earlier) — most WordPress sites
Fixed versions
8.2.35 · 8.3.36 · 8.4.27 · 8.5.12
What to do now
Ask your hosting provider for your PHP version → check it is at or above the fixed version
In this article
  1. What is PHP?
  2. Why it matters
  3. What happened
  4. Is your website affected?
  5. What to do now
  6. Frequently asked questions

What is PHP? — the kitchen behind your website

Think of your website as a restaurant. If the pages your visitors see are the dining room, PHP is the kitchen behind it, taking the orders and preparing the dishes. Every time a visitor opens a page, PHP prepares that page and sends it out. Almost every website built with WordPress runs on this kitchen.

How a website works — dining room, kitchen, storeroom
A visitor orders in the dining room, which is the screen, and the PHP kitchen takes ingredients from the data storeroom to prepare the page.

Why it matters — one order slip takes over the kitchen

This PHP security flaw works like this. If someone writes special text on an order slip, the kitchen mistakes that text for a «recipe» and simply follows it. No login and no password are needed. Because it all happens right at the front door, changing your password, however long, will not stop it.

In plain words
Remote code execution (RCE) — a stranger far away running their own programs on your server as they please. It describes a situation in which they could change the text on your website, send harmful files to your visitors, or take the customer details that came in through your contact form.
Two order slips
A normal order slip and one with a strange instruction hidden in it — the kitchen could not tell them apart.

What happened — ten days in October

17 October
Attempts to exploit this flaw were already observed before it was made public (Amazon threat intelligence team)
20 October
PHP announces an «urgent security update tomorrow». The same day, an attack tool leaks out first and becomes public — its name: «PHP2Shell»
21 October
PHP releases the fixed versions. Real attacks are confirmed the same day. PHP states that «configuration alone cannot fully prevent it; updating is the only fix»
23 October
Another flaw is disclosed that opens up with a rare combination of settings and programs — no fixed version yet, only a temporary workaround until the next regular update
26 October
The US cybersecurity agency (CISA) adds the two PHP2Shell holes to its list of «known exploited vulnerabilities»

Is your website affected?

One number tells you: your PHP version. Find your version in the table below.

Your PHP versionThis flaw is closed fromNote
8.58.5.12Supported the longest
8.48.4.27
8.38.3.36
8.28.2.35Support ends on 31 December
8.1 or older—Support has already ended, so no fixed version will be released
Check your website's PHP version now
Just enter your address and we check, free of charge, the PHP and WordPress versions and the open doors visible from outside.

What to do now — three steps

Between the day it became known and the day it was fixed
From the day a flaw becomes known to the day your server is fixed — this gap is the dangerous time.
  1. Ask your hosting provider or web agency in one line. «Is our website's PHP version from after the 21 October security update (PHP2Shell)?»
  2. If the answer is «we've updated», write down the date. The additional flaw disclosed on 23 October has no fixed version yet, so you also need to keep an eye on the next update.
  3. If you are on PHP 8.2, mark 31 December in your calendar. After that day, no fixed versions will be released, even if something like this happens again.

Frequently asked questions

I updated WordPress to the latest version. Am I safe?
That alone does not tell you. WordPress and PHP are updated separately. This flaw is not in WordPress but in PHP underneath it, so you need to check the PHP version at your hosting provider separately.
Does a security plugin or a firewall stop it?
It is hard to rely on that alone. PHP itself stated that «configuration alone cannot fully prevent it; updating is the only fix». A firewall can buy you time, but it cannot replace upgrading PHP.
Are small business websites targeted too?
Attack programs do not look at company size. It is not a person picking targets: programs go through internet addresses one after another, looking for servers that have not been updated. That is why even a small company should check its PHP version.

Sources

  1. PHP — Security announcement CVE-2026-109618 · 109619 (2026-10-21) php.net
  2. PHP — Note on the session upload progress feature (CVE-2026-115560 · temporary workaround) (2026-10-23) php.net
  3. Amazon threat intelligence — exploitation attempts observed before disclosure (2026-10-22) aws.amazon.com
  4. Dutch NCSC — PHP2Shell operational information (2026-10) github.com/NCSC-NL
  5. US CISA — added to the known exploited vulnerabilities catalog (2026-10-26) cisa.gov
  6. watchTowr — real-world attacks observed (2026-10-21) watchtowr.com