MarkRelayJuggling email for all your products and sites? Managing it in one place is simpler.Unlimited domainsUnlimited mailboxesTeam access controlMCP + SkillsWebmail + Broadcast + API + Webhook

Am I vulnerable?

PHP2Shell website and version checker

Enter your website address for a public PHP check, or paste a PHP version below. Website checks use our server; pasted version checks stay in your browser.

Last reviewed 2026-10-28

23 October follow-up: CVE-2026-115560

The PHP notice describes a separate RCE risk: configuration uses php_binary or php_serialize, application code switches to php with ini_set() before session_start(), and upload progress is enabled. Keep session.upload_progress.enabled = 0 until the next regular bugfix release; if already disabled, keep it off. Applications that never switch serializers at runtime may keep it enabled. This is separate from the two PHP2Shell fixes.

Check your website

Enter a URL to see whether the site shows signs of PHP2Shell exposure.

Find PHP2Shell exposure without touching the target

The engine behind this checker, as TypeScript source. Run it in your own pipeline on as many sites as you need.

  • Ordinary GET requests only
  • No payloads or exploit attempts
  • Safe on production sites
$ npx tsx examples/check-website.ts shop.example.comhttps://shop.example.com/  verdict:      outdated  PHP versions: 8.1.2  PHP signal:   header X-Powered-By: PHP  hosting:      Hostinger [shared-hosting]  requests:     1 GET
  • Seven verdicts, with evidence

    One clear outcome per site, backed by every request and response.

  • Handles the hard cases

    Hidden versions (30+ PHP apps), distro backports, WAF challenges, non-PHP stacks.

  • Fits any pipeline

    Table, JSON or CSV. Node, Workers, Deno or Bun, through your own proxy.

  • Updates included

    Re-download the latest release, with new detectors, at no cost.

$99USD

One-time payment · no account needed

Secure payment by Stripe. After payment you can download the package from this page at any time, in the same browser.

What you get

  • Full TypeScript source, not obfuscated
  • Test suite with fixtures from real sites
  • README and runnable examples

Licence

  • Use it internally, on any number of sites
  • Run it for your clients, including as a hosted service
  • Do not resell, share or publish the source code
Problems with your purchase? Email hello@php2shell.uk
$99
  • Ordinary GET requests only
  • No exploit attempts, forms or uploads
  • Results are never published

We compare publicly reported versions with vulnerability advisories. Query strings are removed before checking, and the site will see normal access-log entries.

Know your PHP version? Check it below.

Paste a version, the output of php -v, or one version per line for a whole fleet. Runs entirely in your browser.

Try:

The CLI and the web server can run different PHP builds. Check the version your web server actually uses: php-fpm -v (or php-fpm8.3 -v), or phpinfo() served by that site. Version results assess CVE-2026-109618 and CVE-2026-109619 only. They cannot assess the configuration-dependent CVE-2026-115560; see the session configuration guide.

BranchVulnerableFixed in
8.5< 8.5.128.5.12
8.4< 8.4.278.4.27
8.3< 8.3.368.3.36
8.2< 8.2.358.2.35
8.1 · 8.0 · 7.4allSource backport only
5.4 – 7.3allNo fix

Collect versions to paste

The PHP that answers web requests is what matters. The CLI on the same box can be a different build.

shell
# One host: the binary that serves web traffic
php-fpm -v 2>/dev/null || php -v

# Many hosts over SSH — paste the output into the checker
for h in web1 web2 web3; do
  printf '%s ' "$h"; ssh "$h" "php -r 'echo PHP_VERSION, PHP_EOL;'"
done

# Exact Debian/Ubuntu package version (shows distro backports)
dpkg-query -W -f='${Package} ${Version}\n' 'php*-common'

# RHEL family
rpm -q php-common

What each result means

ResultMeaningWhat to do
VulnerableUpstream version below the first fixed release of its branch.Upgrade and restart. If it is an OS package, check the changelog first — it may already carry the backport.
Check vendorVersion string carries a distro suffix (ubuntu, deb, el, amzn, suse, fc).Match the full installed revision, OS release and repository to a vendor advisory covering both CVEs. A changelog without CVE IDs does not prove a missing fix; see the package verification guidance.
Vulnerable · EOLBranch 8.1 or older — no new PHP release.Migrate to 8.4/8.5. Stopgap: vendor backport, or PHP’s source backport for 7.4/8.0/8.1.
PatchedAt or above the first fixed release.Make sure every worker was restarted after the update.
Newer branchA branch newer than any covered by the advisory.Should include the fix; confirm in release notes.
UnsupportedOlder than 5.4 — outside the reported range.Not listed as affected, but long unsupported with other critical bugs. Migrate.

Why distro builds need a second look

Ubuntu’s 8.3.6-0ubuntu0.24.04.x or Debian’s 8.2.x-1~deb12uN keep the upstream number they shipped with and add security fixes on top. So a box can report “8.3.6” and still be patched. The reverse is also true: a high-looking number from an old image can be unpatched.

Packages from Ondřej Surý’s repository (deb.sury.org) follow upstream versions, so the checker treats them like official releases.

Next