By Umutcan Emre Tezgel, owner of Coday in Wetzlar · updated on
Current
PHP2Shell: emergency PHP updates of 21 October 2026
Published on · Facts as of
Identifiers: CVE-2026-109618 (CVSS 4.0: 9.2) [1], CVE-2026-109619 (CVSS 4.0: 9.2) [2]
On 21 October 2026 the PHP project released emergency updates for two critical security flaws that became known as “PHP2Shell”. They can let attackers run code on a web server without logging in. [3] [4] [5]
The PHP project rates both flaws at 9.2 out of 10 (CVSS 4.0). [6] [1] [2]
The flaws are in PHP itself, not in WordPress, its plugins or the theme. According to the BSI, updating the application is therefore not enough; the PHP version on the server has to be updated. [7] [8] [4]
The flaws are fixed in PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35, and in packages into which a Linux distribution or a long-term support vendor has applied the fixes. PHP 8.1 and older no longer receive official updates from the PHP project; for 7.4, 8.0 and 8.1 the security team only published fixes to the source code, not new releases. [3]
PHP 8.2 receives security updates from the PHP project only until 31 December 2026. [9]
According to the BSI, all known PHP versions back to at least PHP 5 are affected. [10] [11]
The BSI rates the criticality as “3 / Orange”: action must be taken without delay. [7]
Security firms have observed attack attempts. As of 22 October 2026, the BSI knew of no successful attacks on a broad scale. [4] [5] [10]
According to the BSI, various websites in Germany were harder to reach on 21 October 2026 because some operators had disconnected their servers from the internet as a precaution. In Hesse, too, public authorities took websites offline as a precaution. [7] [12]
Addendum of : On 23 October 2026 the PHP project published a further notice about the upload progress setting. It considers the affected setup unlikely and recommends the setting session.upload_progress.enabled=0 until the next regular update. The PHP project has announced the full advisory for it (CVE-2026-115560) for the next regular release. [13]
Addendum of : On 26 October 2026 the US cybersecurity agency CISA added both flaws to its catalogue of Known Exploited Vulnerabilities. Under CISA’s rules, attempted exploitation and successful attacks on decoy servers (honeypots) also count; the listing therefore does not show that real systems were taken over. [14] [15]
If your website is outside Germany
At EU level, CERT-EU published its advisory 2026-018 “Critical Vulnerabilities in PHP” on 20 October 2026 and last updated it on 23 October 2026. It advises organisations to patch immediately; where that is not feasible, they should consider isolating internet-facing applications from public networks until a fix is applied and verified. [23]
CERT-EU also notes that many products use PHP as a backend technology and could be at risk too, even if they do not directly expose a PHP installation. To identify third-party software that embeds PHP, it recommends consulting the GitHub repository of the Dutch National Cyber Security Centre (NCSC-NL). [23]
Wherever your website is hosted, the first question to your hosting provider is the same: has PHP on your server been updated or patched since 21 October 2026?