Qualys CAR Framework Enhances PHP2Shell Remediation Across Platforms with Centralized Management
November 4, 2026
The Qualys CAR framework enables safe, scalable remediation of PHP2Shell across Windows and macOS via upgrade or mitigation, all managed from a centralized console.
FAQ emphasizes staying within the current minor PHP series (no jumping from 8.2 to 8.4), handling end-of-life scenarios, agentless operation, and Windows verification details.
On Linux, patches come through distribution packages, while Windows and macOS lack vendor patching, necessitating in-place PHP upgrades or mitigations.
For Windows, the upgrade process discovers every PHP installation, detects the exact build flavor, downloads and verifies the official build with SHA256, stops relevant services, backs up PHP, replaces binaries while preserving php.ini and extensions, restarts services, and rolls back if post-upgrade checks fail.
Agent-based remediation with CAR runs scripts on hosts via the Cloud Agent, requiring maintenance windows due to service restarts; results appear in ETM and CAR.
Upgrade principles dictate upgrading only within the installed minor series (e.g., 8.2.x to the latest 8.2.x) and mitigating on end-of-life series when upgrades aren’t possible, with a PHP2Shell mitigation script as a fallback.
PHP2Shell (CVE-2026-109618 and CVE-2026-109619) allows unauthenticated remote code execution on exposed PHP servers, with fixed versions released by PHP.
Qualys TruRisk Eliminate's Custom Assessment and Remediation (CAR) can deploy upgrade scripts for Windows and macOS to the latest patch within the current minor series, or apply a mitigation script if an upgrade isn’t feasible.
Agentless remediation is possible: CAR can operate through an authenticated Qualys scanner (Perimeter Devices) for scanner-based hosts, enabling remediation without an agent.
macOS upgrades are performed via Homebrew, run as the Homebrew owner, using the correct formula (php or [email protected]), preserving the minor-series integrity, with php-fpm restarted if needed and origin mismatches (MacPorts, MAMP, manual builds) reported.
Job outputs show before/after PHP versions per host, while Windows logs detail all PHP installations, build flavors, SHA256 verification, and service actions.
Summary based on 1 source
Get a daily email with more Tech stories
Source

Qualys, Inc. • Nov 4, 2026
PHP2Shell on Windows and macOS: Automating the PHP Upgrade, With or Without an Agent