**php -v cannot prove your website is patched against PHP2Shell. The PHP in your terminal may differ from the runtime serving web requests, and vendors can fix vulnerabilities without changing the upstream version number.12 Identify the PHP build serving each site, match its exact package to a vendor security advisory, and confirm that all affected PHP workers were restarted after the update.**
Am I affected? Your PHP2Shell patch status is unverified if your site serves untrusted HTTP requests through PHP and you cannot confirm fixes for both CVE-2026-109618 and CVE-2026-109619 in the running build. The first fixed upstream versions are PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12. A verified vendor backport can also count, including on older branches. A PHP installation used only from the command line, with no untrusted web-request exposure, is outside the remote attack conditions described by PHP. Status checked: 5 November 2026.12
PHP2Shell is the name for two critical vulnerabilities in the PHP Runtime, the engine that executes PHP applications. Each has a Common Vulnerabilities and Exposures (CVE) identifier. The complete PHP2Shell and Node2Shell guide covers the defects themselves. This article covers how to establish whether your installation has actually received the fixes.