HackSpotby Amethyst Apps
How it worksWhat we checkPricingGuidesInsightsAbout
Log inCheck my website
HackSpot / Guides

What is PHP2Shell (CVE-2026-109618 and CVE-2026-109619)?

PHP2Shell is the name for two critical PHP flaws fixed on 21 October 2026. What they are, which versions are fixed, and what a small business should do.

By HackSpot team (Amethyst Apps) · October 22, 2026 · Updated October 23, 2026 · 2 min read

HackSpot guide: What is PHP2Shell (CVE-2026-109618 and CVE-2026-109619)?

Short answer: PHP2Shell is the name for two critical security flaws in PHP, CVE-2026-109618 and CVE-2026-109619, fixed by the PHP team on 21 October 2026. They can let an attacker run commands on a web server without logging in. If your website runs PHP, ask your host to confirm it's on PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 or later, or has been patched another way. Check your site free.

What the flaws do

PHP is the software behind a large share of websites, including most WordPress sites. The PHP project rates both flaws 9.2 out of 10. In plain terms, a specially crafted request can trick PHP into running an attacker's code before your website's own code even starts.

Who needs to act

  • Anyone whose website, shop or booking system runs on PHP. Your host or developer updates PHP, not you.
  • Anyone who relies on online suppliers. If a tool your business uses runs PHP and is slow to update, it may go offline or be attacked. Watch for scam emails asking you to "log in again".

What to do today

  1. Run a free HackSpot check to see whether your site shows signs of PHP and which version.
  2. Send your host the message from our post PHP2Shell: what small businesses need to do today.
  3. If you're on PHP 8.1 or older, plan an upgrade to a supported version. The PHP project published basic fixes for 7.4, 8.0 and 8.1, but those versions no longer get regular updates.

Questions people ask

Is my website definitely vulnerable if it shows an older PHP version?

No. Many hosts add fixes without changing the version number your site shows. That's why HackSpot says "looks unpatched, ask your host" rather than "vulnerable".

Does updating WordPress fix PHP2Shell?

No. WordPress runs on top of PHP. Your host has to update or patch PHP itself.

Has anyone been attacked using these flaws?

The PHP project announced the release a day early, on 20 October 2026, and the security firm watchTowr reports attempts to exploit both flaws. The UK's NCSC asked organisations to act immediately.

Sources

  • PHP security advisory, 21 October 2026 (php.net)
  • Critical security issue affecting PHP (NCSC)
  • PHP2Shell exploitation (watchTowr)

Check your website free

See what your website shows the world in about a minute: a plain-language report, who should fix each thing, and a message to send them.

Check my website

Free to check

See what your website shows the world.

Check my website free
HackSpotby Amethyst Apps

Plain-language security checks for your website and the suppliers your business depends on.

HackSpot

  • How it works
  • What we check
  • Free check
  • Pricing

Resources

  • Guides
  • Insights
  • Supplier status

Help

  • About
  • Security
  • Contact us

Amethyst Apps

  • All apps
  • IndexStream
  • Partners

© 2026 Amethyst Apps. Built in the UK.

2G, Ingram House, 227 Ingram Street, Glasgow, G1 1DA, United Kingdom

PrivacyTermsCookiesSecuritySitemapPartners
EnglishEspañolFrançaisDeutschItalianoPortuguêsNederlandsPolskiSvenska日本語
HackSpot