Skip to content
The Teardown, homeFree check

Is your website affected by PHP2Shell?

PHP2Shell is a critical security flaw in PHP, the programming language WordPress and many other websites run on. It was disclosed and patched on October 21, 2026, and the first attempts to exploit it have already been reported.

Free, no signup. Your PHP2Shell result shows near the top of your report.

Last updated · Sources

We only read your public page.

By scanning you agree to our Terms and Privacy Policy.

What is PHP2Shell?

PHP is the programming language that builds a website's pages on its server. PHP2Shell is the name for two flaws in PHP itself that let an attacker run their own code on that server, or read data from its memory, without logging in. In plain terms, a stranger could take over the server your site runs on.

Wiz, the security company that published the research, demonstrated it by taking over WordPress, Drupal and Joomla sites without logging in. SecurityWeek reports that security firms including watchTowr, Hadrian, Patchstack and Cloudflare have already seen the first attempts to exploit it.

Official names
CVE-2026-109618, CVE-2026-109619
Severity
Critical: 9.2 out of 10 (CVSS)
Disclosed and patched
October 21, 2026
PHP versions affected
Back to 5.4, until updated to a patched release
Being exploited
First attempts reported in the wild

Who’s affected

Any website that runs on PHP, until its server's PHP is updated to a patched version. That includes most WordPress sites, along with sites built on Joomla, Drupal and MediaWiki. Wiz estimates PHP powers about 70% of websites.

Updating WordPress, Joomla or Drupal doesn't fix it, because the flaw is in PHP itself. PHP has to be updated on the server, which is usually your hosting company's job if they run it for you. If your site doesn't run on PHP at all, PHP2Shell doesn't apply to it.

What our free check looks at

Only what your site shows publicly, the same things any visitor’s browser receives. It’s a quick, non-intrusive look, not a full security audit.

  • Your PHP version, if your server shows it

    Many servers name their PHP version in the details they send with every page. If it's older than the patched release for its line, or 8.1 or older, your report marks it as a critical risk. If it's patched, it's listed as a check that passed.

  • Signs your site runs on PHP

    WordPress, Joomla or Drupal, a PHP session cookie, or links to .php pages on your own site. If we see these but the version is hidden, we can't tell whether it's patched, so your report asks you to confirm with your host.

  • What we can't see

    A version your server hides. Nobody outside can tell whether a hidden version is patched, including us, so your host is the one to confirm it. We never try the attack, log in or probe your server.

Check your website

Patched versions

PHP2Shell is fixed in these releases, and in newer ones on the same line.

PHP releases patched against PHP2Shell
Your PHP versionPatched in
8.58.5.12 or newer
8.48.4.27 or newer
8.38.3.36 or newer
8.28.2.35 or newer
8.1 and olderNo official fixUpgrade to 8.2.35 or newer

PHP 7.4, 8.0 and 8.1 only got minimal backports of the fix, so treat them as unpatched unless your host confirms otherwise. Some hosts patch PHP without changing its version number, so if yours looks older than this list, ask them.

What to ask your host or web designer

If someone else hosts or looks after your site, send them this. They can see your PHP version even when visitors can’t.

Hi, has our server's PHP been updated to a version patched for PHP2Shell (CVE-2026-109618 / CVE-2026-109619)? Patched releases are 8.2.35, 8.3.36, 8.4.27 and 8.5.12. If we're on PHP 8.1 or older, can we upgrade?

Need it fixed? BIAT, the team behind The Teardown, can patch or rebuild your site.

Common questions

How do I know if my website is affected by PHP2Shell?
Your site is at risk if it runs on PHP and its server hasn't been updated to a patched version: 8.2.35, 8.3.36, 8.4.27 or 8.5.12, or newer on the same line. Our free check reads your PHP version if your server shows it. If it's hidden, your host can tell you which version you're on.
Does PHP2Shell affect WordPress sites?
WordPress runs on PHP, so a WordPress site is at risk if its server's PHP isn't patched. Wiz demonstrated taking over WordPress, Drupal and Joomla sites without logging in. Updating WordPress or its plugins doesn't fix it: PHP itself has to be updated on the server.
How do I fix PHP2Shell?
Update PHP on your server to 8.2.35, 8.3.36, 8.4.27 or 8.5.12, or a newer release on the same line. PHP 8.1 and older has no official fix, so upgrade to 8.2.35 or newer. If a hosting company runs your server, ask them to do it or to confirm it's done.
Can your check tell for sure whether my site is affected?
Only when your server shows its PHP version. When it's hidden, nobody outside can tell whether it's patched, including us. Then we tell you whether your site shows signs of running on PHP, and your host can confirm the version. We never try the attack or probe your server.
Is the check really free?
Yes. The scan is free with no signup, and your PHP2Shell result shows near the top of your report, along with your website's score and its biggest problems. The full report with every fix is $19, with no subscription.

Sources

Last updated

  • Wiz

    The research: what PHP2Shell is and the versions it affects

    wiz.io
  • SecurityWeek

    The patches, and the first attempts to exploit it

    securityweek.com

Check your website for PHP2Shell.

Free, no signup. Your result shows near the top of your report, with your website's score and its biggest problems.

We only read your public page.

By scanning you agree to our Terms and Privacy Policy.