Is your website affected by PHP2Shell?

Researchers have discovered two critical flaws in the PHP programming language. These flaws, nicknamed PHP2Shell, make websites vulnerable to hacking.

  • Around 70% of websites run on PHP, including every WordPress site.
  • PHP has released a fix, but not every site will get it automatically.
  • Older websites may need a more complex upgrade to be protected.

Sources: W3Techs, usage statistics of PHP, 22 October 2026, PHP security advisory, 21 October 2026

Information last updated

What the authorities are saying

  • “Due to the critical severity of the issues, site owners are encouraged to immediately update their installations of PHP. ... Versions of PHP prior to 8.2 no longer receive security updates from the PHP project.”

    WordPress.orgCritical PHP Security Release, 21 October 2026

  • “Patches have been released to address two critical vulnerabilities affecting PHP, a widely used technology that underpins many websites and web applications.”

    Australian Signals Directorate (ASD's ACSC)Alert "Critical vulnerabilities in PHP", 21 October 2026

  • “These vulnerabilities (CVE-2026-109618 and CVE-2026-109619) could allow malicious cyber actors to remotely execute code in PHP core, potentially compromising sensitive data and networks.”

    FBI Cyber DivisionPost on X, 21 October 2026

  • “PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix two critical vulnerabilities that can allow unauthenticated remote code execution. All PHP users are strongly encouraged to update immediately. ... PHP 8.1 and older no longer receive updates from the PHP project.”

    PHPSecurity advisory, 21 October 2026

  • “CISA strongly urges organizations to immediately patch the recently disclosed critical vulnerabilities in PHP, CVE-2026-109618 and CVE-2026-109619. ... Organizations that cannot update immediately, or that continue to use PHP 8.1 or earlier unsupported versions, should take PHP-based systems offline until they can be patched or updated.”

    CISA (United States)Alert, 21 October 2026

  • “Organisations using any version of PHP are affected and all organisations are highly encouraged to update to the latest fixed version.”

    National Cyber Security Centre (United Kingdom)Critical security issue affecting PHP, 21 October 2026

Check your website for free

Scan your website to see whether it's likely exposed to PHP2Shell and what to do about it. The scan is free, made by Pryora, an Australian web development agency. Results are an estimate, not a guarantee.

The scan is an ordinary visit to your homepage, like any other visitor's. It won't harm your site.

What's happening

PHP2Shell is the nickname for two critical security flaws in PHP, the software behind many websites, including every WordPress site. They can let an attacker run their own code on a web server without logging in. PHP released fixes on 21 October 2026.

Sources: PHP security advisory, 21 October 2026, CVE-2026-109618 (PHP's advisory on GitHub), CVE-2026-109619 (PHP's advisory on GitHub), BSI (German federal cyber security agency) warning, in German, WordPress requirements

For new sites

Most websites built after 2023 can be protected with a simple server update. On most hosting, your hosting provider applies it, and many will do so automatically. If you run your own server, you'll need to apply it yourself. The fixed versions are PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12.

Sources: PHP security advisory, 21 October 2026, mySites.guru on who controls PHP on shared hosting

For older sites

PHP 8.1 and older no longer receive updates, so sites running them are particularly at risk. If your website was built before 2023 and hasn't been maintained since, it may need a more complex upgrade to stay secure.

Sources: PHP security advisory, 21 October 2026, PHP end-of-life versions, WordPress.org PHP version statistics

What government cyber security agencies are saying

The Australian Signals Directorate (ASD) has told organisations and individuals using PHP to follow PHP's official guidance and apply security patches. In the US, CISA advises updating immediately and taking systems offline if they can't be updated straight away or still run PHP 8.1 or older.

Sources: ABC News on ASD's statement, 22 October 2026, CISA alert, 21 October 2026

What about PHP 8.2?

PHP 8.2 has a fixed release, but its security support ends on 31 December 2026. If your site runs on 8.2, plan a move to a newer version before then.

Source: PHP supported versions

Frequently asked questions

What is PHP2Shell?

PHP2Shell is the nickname for two critical security flaws in PHP, the software behind many websites, including every WordPress site. Their official names are CVE-2026-109618 and CVE-2026-109619.

They can let an attacker run their own code on a web server without logging in. PHP released fixes on 21 October 2026.

Sources: PHP security advisory, 21 October 2026, CVE-2026-109618 (PHP's advisory on GitHub), CVE-2026-109619 (PHP's advisory on GitHub), BSI (German federal cyber security agency) warning, in German

My site uses WordPress. Am I affected?

Every WordPress site runs on PHP, so it depends on which PHP version your server runs and whether your hosting provider has updated it. The flaws are in PHP itself, so updating WordPress or its plugins doesn't fix them.

WordPress.org says no WordPress update is required or planned for these flaws. PHP2Shell is also different from wp2shell, a separate WordPress flaw from July 2026.

Sources: WordPress requirements, PHP security advisory, 21 October 2026, WordPress.org, Critical PHP Security Release, 21 October 2026, Rapid7 on wp2shell (CVE-2026-63030)

What's the difference between my hosting provider and my website manager?

Your hosting provider is the company whose servers run your website. On shared and managed hosting, they control PHP and update it.

Your website manager is the person or agency who looks after your site's content, theme and plugins. For PHP2Shell, the fix is usually your hosting provider's job, or your server administrator's if you run your own server.

Source: mySites.guru on who controls PHP on shared hosting

How do I find my PHP version?

The most reliable way is to ask your hosting provider.

If you can log in to WordPress, Tools, then Site Health, then the Info tab's Server section shows details of your server's PHP setup.

Source: WordPress Site Health screen

Why can't older sites just click "update"?

PHP 8.1 and older no longer get updates from the PHP project, so there's no fixed version on those branches to update to.

Older versions of WordPress and other website software often don't support newer PHP, so the site itself may need upgrading first. Some Linux distributions and long-term support vendors offer their own fixes for older PHP, so it's worth asking your hosting provider.

Sources: PHP security advisory, 21 October 2026, PHP end-of-life versions, WordPress PHP compatibility by version

Should I take my site offline?

If you run your own server, possibly. CISA, the US cyber security agency, advises taking systems offline if PHP can't be updated straight away or runs PHP 8.1 or older. WordPress.org also says to consider it for PHP 8.1 and older.

If a hosting provider runs your server, ask them first. WordPress.org notes they may already be updating PHP and adding firewall rules on their side.

Sources: WordPress.org, Critical PHP Security Release, 21 October 2026, CISA alert, 21 October 2026

Does the scan harm my site?

No. The scan loads your homepage and a couple of public pages your site already publishes, just as an ordinary visitor's browser would.

It never sends attack-like requests and never tries to log in.

How accurate is it?

It's an estimate based only on what your website publicly reveals, such as software versions and server details.

Many servers hide their PHP version, and some show an old version number even after a fix has been applied. That's why results say "appears" or "likely". Treat yours as a starting point for a conversation with your hosting provider.

Sources: Mallory's count of servers that show or hide their PHP version, PHP security advisory, 21 October 2026

What happens to the address I scan?

We don't keep a history of scans or link them to you. We count only anonymous totals, such as how many scans had each result.

To read your homepage, we send the address to Firecrawl, a web scraping service, and keep the scan's results for a few hours so repeat scans are quick.

Source: Firecrawl

Sources