What is PHP2Shell, and am I affected?
PHP2Shell is two critical PHP vulnerabilities (CVE-2026-109618, CVE-2026-109619), fixed on 21 October 2026. Any website running PHP without the fix is affected. PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 or newer contain the fixes. A rare special case (CVE-2026-115560) is still open, see below. This check shows what your server reports publicly: a useful hint, not proof.
As of 4 November 2026, checked at php.net
On 21 Oct 2026 the PHP project fixed two vulnerabilities (CVE-2026-109618 and CVE-2026-109619) that allow remote code execution. The PHP security team rates them CVSS v4.0 9.2. According to php.net, all PHP installations serving web requests are at risk, including PHP-FPM, mod_php, php-cgi, FrankenPHP and LiteSpeed, with the highest risk for mod_php.
Which PHP versions contain the fix?
PHP 8.5
from 8.5.12
PHP 8.4
from 8.4.27
PHP 8.3
from 8.3.36
PHP 8.2
from 8.2.35
PHP 8.1 and older: no more updates from the PHP project
The PHP project no longer ships updates for PHP 8.1 and older. Some Linux distributions and LTS vendors provide their own fixes, and the PHP security team published minimal patches for 7.4, 8.0 and 8.1 for anyone compiling PHP themselves. For a normal website that means: ask your host whether such a fix is installed, and plan the move.
PHP 8.2 only gets security updates until 31 December 2026. If you are moving now, it is better to plan for PHP 8.3 or newer straight away.
Update of 23 Oct 2026: CVE-2026-115560
php.net reported one more case. It can only occur if an application sets session.serialize_handler to php_binary or php_serialize in its configuration, switches it to php at runtime with ini_set(), and session upload progress is enabled. php.net considers this combination unlikely.
According to Security Affairs, the releases of 21 Oct 2026 do not close this case. php.net is handling it in the regular release cycle and plans a full advisory with the next release. As of 4 November 2026 that release has not appeared; 8.5.12, 8.4.27, 8.3.36 and 8.2.35 are still current. php.net has not yet named affected versions or a rating.
According to php.net, applications that never change the handler at runtime can keep the feature enabled. If you are not sure and do not need an upload progress display, set session.upload_progress.enabled = 0 until the next release.
How to find the PHP version of your website
WordPress
Tools → Site Health → Info → Server. The line “PHP version” shows the exact number.
Hosting panel
Plesk, cPanel or DirectAdmin: open “PHP settings”. Some hosts also show it in the plan overview.
Ask your host
Ask for the exact version including the patch level, e.g. 8.3.36 — “8.3” alone is not enough.
Found the number? Enter it in the result of the check above and you get the verdict straight away.
What should I do now?
- 1.Find out the PHP version (hosting panel or your host).
- 2.Update to a fixed version — usually your host does this.
- 3.Until then, as a partial measure: set session.upload_progress.enabled = 0 in php.ini, the PHP-FPM pool or the server configuration, or ask your host to do it.
- 4.Check for suspicious files and unknown admin accounts.
- 5.On WordPress: update plugins and renew UpdraftCentral keys if you use it. Patchstack reports attackers using such keys to plant backdoors.
Full guide and urgent PHP help →Article: PHP2Shell, what to do now →Beyond PHP: NIS2 and cybersecurity for SMEs →
No time for PHP updates? We take care of it.
We confirm the real PHP version with your host, apply the update or plan the upgrade from an old version, test theme and plugins and check for suspicious files. Fixed price after the free first call of 45 minutes. Based in Graz, Austria, also working remotely.
Sources
- php.net: security advisory of 21 Oct 2026
- php.net: informational advisory of 23 Oct 2026 (CVE-2026-115560)
- PHP project: advisory GHSA-w8hw-w9fx-j79w (CVE-2026-109618)
- PHP project: advisory GHSA-6wmf-4rv5-p3rp (CVE-2026-109619)
- php.net: session settings in the manual
- php.net: supported PHP versions
- Tenable: PHP2Shell FAQ (attack reports)
- Patchstack: PHP major vulnerability alert (UpdraftCentral)
- Security Affairs: report on CVE-2026-115560
- Help Net Security: PHP2Shell vulnerabilities patched