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.
PHP2Shell and the PHP check: frequently asked questions
What is PHP2Shell?
PHP2Shell is the name for two critical vulnerabilities in PHP, CVE-2026-109618 and CVE-2026-109619. They can allow remote code execution and are rated 9.2 on CVSS v4.0. The fixes were released on 21 October 2026.
How can I check the PHP version of a website?
Enter the address above: the check reads the version from the X-Powered-By or Server header if the server reveals it. Most servers hide it. Then look it up yourself: in WordPress under Tools → Site Health → Info → Server, in your hosting panel under PHP settings, or ask your host for the exact version including the patch level.
How can I tell if a website uses PHP?
Typical signs are an X-Powered-By: PHP header, a PHPSESSID cookie, .php in addresses, or a PHP-based CMS such as WordPress, Joomla, Drupal or TYPO3. The check looks for all of these on the start page.
What does the PHP check actually do?
It loads the start page of the address you enter once, like a browser, and reads the response headers and the first part of the HTML. It looks for the PHP version (X-Powered-By, Server), a PHP session cookie and CMS hints such as WordPress. No other pages are requested and no attack or test payload is sent.
The check shows no version. Is my site safe?
Not necessarily. Many servers hide the PHP version on purpose. That is good practice, but it says nothing about whether the update is installed. Look up the version in your hosting panel or ask your host.
Which PHP versions contain the fix?
PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 (released 21 Oct 2026) and newer. 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.
Is there an interim measure until the update?
Only as a partial measure. This blocks the confirmed session paths of CVE-2026-109619, but not CVE-2026-109618. For that one php.net names separate measures, for example on memory_limit and post_max_size. Only the update helps completely. session.upload_progress.enabled = 0 belongs in php.ini, the PHP-FPM pool or the server configuration. Then restart all PHP workers. According to php.net, do not rely on ini_set(), and under FPM do not rely on a .user.ini file. An .htaccess line is only documented for PHP as an Apache module and is not one of the routes php.net names here. If you have no access to these files, ask your host.
What is CVE-2026-115560, and am I affected?
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.
What does it cost if you take care of it?
The first call is free and takes 45 minutes, online or in Graz. We look at your website together and then give you a fixed price for the update, the upgrade or the clean-up. Whether you hire us afterwards is up to you.
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