
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.
In this article
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.

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.

What happened — ten days in October
Is your website affected?
One number tells you: your PHP version. Find your version in the table below.
| Your PHP version | This flaw is closed from | Note |
|---|---|---|
8.5 | 8.5.12 | Supported the longest |
8.4 | 8.4.27 | |
8.3 | 8.3.36 | |
8.2 | 8.2.35 | Support ends on 31 December |
8.1 or older | — | Support has already ended, so no fixed version will be released |
What to do now — three steps

- Ask your hosting provider or web agency in one line. «Is our website's PHP version from after the 21 October security update (PHP2Shell)?»
- 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.
- 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?
Does a security plugin or a firewall stop it?
Are small business websites targeted too?
Sources
- PHP — Security announcement CVE-2026-109618 · 109619 (2026-10-21) php.net
- PHP — Note on the session upload progress feature (CVE-2026-115560 · temporary workaround) (2026-10-23) php.net
- Amazon threat intelligence — exploitation attempts observed before disclosure (2026-10-22) aws.amazon.com
- Dutch NCSC — PHP2Shell operational information (2026-10) github.com/NCSC-NL
- US CISA — added to the known exploited vulnerabilities catalog (2026-10-26) cisa.gov
- watchTowr — real-world attacks observed (2026-10-21) watchtowr.com