Repository navigation
v0.1.0: PHP2Shell checker
First public release. Built the week PHP2Shell (CVE-2026-109618 and CVE-2026-109619) was disclosed.
php-vuln-check finds PHP installs exposed to PHP2Shell on servers, Docker images, Kubernetes and CI, without sending exploit traffic.
scan: PHP CLI, FPM, CGI, LiteSpeed and Apache mod_php on a host. Version, SAPI, owning package, Debian and RPM changelog backport evidence, and a restart warning when running processes still use a replaced PHP file.images: Dockerfiles, compose files, Kubernetes manifests, running containers (--docker) and every pod in a cluster (--kubectl).fleet: runscanon many hosts over SSH, nothing installed there.url: the version a site advertises (never PATCHED: a banner proves nothing).- Text, JSON, CSV and SARIF output. GitHub Action for CI gating and code scanning.
Tested on real PHP packages in Debian 12 and 13, Ubuntu 20.04 to 24.04, AlmaLinux 8 and 9, Rocky 9, Fedora, Amazon Linux, Alpine and the official PHP images, and the unit tests run on Python 3.6 to 3.13. It was reviewed independently for security before release, and the findings were fixed (see CHANGELOG).
Download php_vuln_check.py below (single file, no dependencies) and check it against SHA256SUMS, or pipx install git+https://github.com/jake-bowser/php-vuln-check.
New tool: please report anything it gets wrong, especially on RHEL-family systems and third-party PHP repositories.