is_pwnable
(PHP2Shell · CVE-2026-109618, CVE-2026-109619) — Find out if anyone on the internet can run code on a PHP server
Return Values
- PWNABLE
- This PHP version is affected by PHP2Shell and the fix is not in it. Anyone on the internet could run code on this server. Update now.
- PWNABLE (end of life)
- This PHP branch is end-of-life and affected. There is no fixed release for it: move to PHP 8.3 or 8.4.
- UNKNOWN
- This site runs PHP but hides its version, so we can't tell. Unknown is never safe: check from inside with php -v.
- PATCHED
- The version shown already includes the PHP2Shell fix. Nice. Keep it updated.
- NO PHP SEEN
- Nothing in this site's public response points to PHP. That's a good sign, not a guarantee: a backend can still run PHP behind it.
Fix it in one command
Pick where your PHP lives. Target: PHP 8.3.36 (branch 8.3) or newer.
sudo apt update && sudo apt install --only-upgrade 'php8.3*'sudo systemctl restart php8.3-fpm 2>/dev/null; sudo systemctl restart apache2 nginx 2>/dev/nullPackages from the ondrej/sury repos get the numbered release. Distro packages may backport the fix instead.
Changelog
| Branch | Description |
|---|---|
| 8.5 | Fixed in 8.5.12. Earlier 8.5.x releases are affected. |
| 8.4 | Fixed in 8.4.27. Earlier 8.4.x releases are affected. |
| 8.3 | Fixed in 8.3.36. Earlier 8.3.x releases are affected. |
| 8.2 | Fixed in 8.2.35. Earlier 8.2.x releases are affected. |
| ≤ 8.1 | End of life and affected. No fixed release: upgrade to 8.3 or 8.4. |