Skip to content
Welcome, thoughtbot's Giant Robots listeners!Start here
Cybersecurity: Threats and Defences
20NOV

PHP2Shell: no fix for PHP 8.1 and older

3 min read
01:01UTC

The PHP project shipped fixes on 21 October for two flaws that let anyone run commands on a web server, scored 9.2. Versions 8.1 and older get nothing, and a Detectify researcher puts roughly half of PHP websites there.

TechnologyAssessed
Key takeaway

Sites on PHP 8.1 or older must upgrade a whole version to close PHP2Shell.

The PHP project, which maintains the scripting language behind much of the web, shipped versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35 on 21 October. They fix CVE-2026-109618 and CVE-2026-109619, which let anyone on the internet run their own commands on an affected web server, no login needed, and score 9.2 out of 10⁠1. "There are no complete mitigations, updating is the only safe choice," each release note says. PHP 8.1 and older get no fix, and the 8.2 notes say that branch reaches end of life on 31 December.

Joviane Jardim of Swedish security firm Detectify told The Record that roughly half of PHP websites run 8.1 or older, for which the only fix is a full version upgrade⁠2. The project pre-announced the release on 20 October, about 18 hours ahead, and hundreds of sites went dark before a fix existed. France's data-protection regulator (CNIL), Nintendo, the OBS Project (makers of the free OBS Studio streaming software) and Berlin's Charité hospital took services offline.

Warnings came from the EU institutions' response team (CERT-EU), Germany's Federal Office for Information Security (BSI), Britain's National Cyber Security Centre (NCSC), the Dutch NCSC, CERT-FR and agencies in Japan and Australia. Jake Knott of security research firm WatchTowr Labs reported exploitation attempts in the wild, none yet successful.

CISA's short federal patch deadlines assume a patch exists, but for a site on 8.1 there is nothing to install: the work is a migration, with every application that depends on the old version tested again.

Deep Analysis

In plain English

PHP is a programming language that quietly runs a large share of websites. Its makers found two flaws that let anyone on the internet take over a web server running it, and released fixes on 21 October. They warned a day early, and some organisations, including Nintendo and a Berlin hospital, took their sites offline to be safe. Sites on PHP 8.1 or older get no fix, so their owners must move to a newer version.

Deep Analysis
Root Causes

PHP sits underneath content management systems, shops and hosting control panels. The application, not the language, decides which PHP versions it supports, which ties many sites to old branches long after upstream support ends.

Shared hosting compounds the problem. The host controls the PHP version, the site owner controls the application, and an upgrade needs both. PHP 8.2 losing support on 31 December widens the unpatched tail before the 8.1 tail has shrunk.

What could happen next?
  • Risk

    Sites on PHP 8.1 or older have no upstream fix, leaving a large unpatchable population once working exploits circulate.

    Short term · Assessed
  • Consequence

    PHP 8.2 reaches end of life on 31 December, so another branch joins the unsupported tail within weeks of this fix.

    Medium term · Assessed
  • Precedent

    A short pre-announcement led organisations to take services offline before a patch existed, a cost future open-source disclosures will weigh.

    Medium term · Suggested
First Reported In

Update #15 · Fridge hack spoils food in seven countries

PHP Group· 22 Oct 2026
Read original →
Causes and effects
This Event
PHP2Shell: no fix for PHP 8.1 and older
For sites on unsupported PHP the only fix for a remotely exploitable 9.2-rated flaw is a full version upgrade, which no deadline can compress.
Different Perspectives
JPCERT/CC
JPCERT/CC
Japan's JPCERT/CC warned on the Brotli flaw CVE-2026-111497 on 26 October, a day before CISA listed it with a 14-day deadline. For the shared-code flaws in this window, Japan's alert came first.
Canadian Centre for Cyber Security
Canadian Centre for Cyber Security
Canada's Cyber Centre joined CISA on 17 November in urging immediate patching of Java4Shell, a Java flaw that could allow code execution without login. The joint alert does not say the flaw is exploited.
Polish government
Polish government
Digital affairs minister Krzysztof Gawkowski said the Central IT Centre was unaffected after Poland took ePUAP offline as a precaution, and the ABW security agency joined the investigation. Warsaw has named no attacker.
DK Techin (KakaoWork)
DK Techin (KakaoWork)
DK Techin reported the 9 November KakaoWork breach to Korea's Personal Information Protection Commission and KISA, blocked the access path and began an audit, according to The CyberDelegate. It has not disclosed how many people were affected.
Patients and staff at Greiz-Ronneburg hospital
Patients and staff at Greiz-Ronneburg hospital
Emergency patients in Greiz were routed through the Gera control centre after the hospital stopped admissions on 15 November. Chief emergency physician Matthias Vogel said the medical devices still worked but the data links failed.
Autoridade Portuária de Santos and Tesouro Nacional
Autoridade Portuária de Santos and Tesouro Nacional
Santos port authority said attackers demanded money to restore its systems and that it is restoring from backups for a Polícia Federal report. Brazil's Treasury said its 4 November intrusion touched about 30,000 registrations and 4,000 Pix keys, with no financial loss.

Written with AI from Lowdown's published reporting. Not individually reviewed by an editor. Editorial standards.