Home › Intelligence › Brief
VULNERABILITY BRIEF🔴 Critical Vulnerability

Critical PHP2Shell RCE (CVE‑2026‑109618/109619) Exposes Windows & macOS PHP Installations

PHP2Shell (CVE‑2026‑109618 and CVE‑2026‑109619) grants unauthenticated remote code execution on PHP servers that run on Windows or macOS. The fix is automatic on Linux but requires manual upgrade on the other platforms, creating a compliance gap for vulnerability management.

LiveThreat™ Intelligence · 📅 November 15, 2026· 📰 blog.qualys.com
🔴
Severity
Critical
VU
Type
Vulnerability
🎯
Confidence
High
🏢
Affected
2 sector(s)
✅
Actions
3 recommended
📰
Source
blog.qualys.com

Critical PHP2Shell Remote Code Execution (CVE‑2026‑109618 & CVE‑2026‑109619) Affects Windows & macOS PHP Installations

What It Is — PHP2Shell is a chain of two newly disclosed vulnerabilities (CVE‑2026‑109618 and CVE‑2026‑109619) that together permit an unauthenticated attacker to achieve remote code execution (RCE) on any PHP interpreter that is reachable over the network and runs with default configuration. The flaw lives in the way PHP’s CGI/FastCGI handler parses specially‑crafted HTTP requests; by sending a malicious query string the attacker can force the interpreter to execute arbitrary operating‑system commands.

Both CVEs were reported to the PHP development team in August 2026 and received a CVSS v3.1 base score of 9.8 (Critical). The PHP project issued patched releases for the 8.2‑branch and later (8.2.15, 8.3.2, etc.). Linux distributions quickly incorporated the fixes into their package repositories, allowing administrators to apply the update with a single apt/yum operation.

On Windows and macOS the situation is different. Neither Microsoft nor Apple ship PHP as a native component, so most organizations install PHP manually (e.g., via zip archives, Homebrew on macOS, or Chocolatey on Windows). The upstream fix is therefore an in‑place binary replacement that historically required a manual download, verification of the checksum, and a restart of the web server. This manual process is error‑prone and often delayed, leaving many production systems exposed months after the public disclosure.

Qualys identified the operational gap and released PHP2Shell‑Upgrade scripts that automate the entire remediation workflow on Windows and macOS. The scripts can run with the Qualys Cloud Agent (leveraging the agent’s inventory and execution framework) or stand‑alone on any host with PowerShell (Windows) or Bash (macOS). They perform the following steps:

  • Detect the installed PHP version and its location.
  • Download the appropriate patched binary from the official PHP mirrors, verifying the GPG signature.
  • Replace the existing binaries while preserving configuration files.
  • Restart the web‑server service (IIS, Apache, Nginx, etc.) and validate the new version.

The scripts also generate a JSON evidence file that records the pre‑ and post‑upgrade version, checksum verification results, and timestamps. This artifact can be fed directly into a compliance evidence repository or a continuous‑monitoring dashboard.

Affected Products — Any on‑premises PHP interpreter running on Windows 10/11, Windows Server 2016‑2022, macOS 12‑14, or any custom‑installed PHP binary that has not been upgraded to the patched releases listed above. The vulnerability does not affect PHP installations that are already running a version newer than the patched releases, nor does it impact Linux distributions that have applied the vendor‑provided package updates.

Why It Matters for Trust & Control Assurance — The PHP2Shell chain tests the Vulnerability Management control objective: “Maintain up‑to‑date software and remediate known weaknesses within defined timeframes.” Failure to patch Windows/macOS PHP installations leaves a critical RCE vector open, undermining audit evidence of a robust patch‑management process.

Recommended Actions —

  • Inventory all Windows and macOS hosts that run PHP. Use a configuration‑management tool or Qualys Cloud Agent to produce a definitive list.
  • Verify the current PHP version on each host. Any version prior to the patched releases (8.2.15, 8.3.2, etc.) is vulnerable.
  • Deploy the Qualys PHP2Shell‑Upgrade scripts—choose the agent‑enabled version for environments already using Qualys, or the stand‑alone version for isolated systems.
  • Validate the upgrade by confirming the binary checksum, checking the reported version, and ensuring the web server restarts cleanly.
  • Capture the generated JSON evidence and store it in your audit‑ready evidence repository (e.g., Verisq Trust Center).
  • Monitor for any exploitation attempts by enabling web‑application firewall (WAF) rules that block the malicious request pattern identified in the CVE advisory.

Source: Qualys Blog – PHP2Shell Windows/macOS Upgrade Scripts

📰 Original Source
https://blog.qualys.com/product-tech/2026/11/04/php2shell-windows-macos-car-upgrade-scripts ↗

This LiveThreat Intelligence Brief is an independent analysis. Read the original reporting at the link above.

From the Verisq platform · Trust Operations

Misconfigurations are control gaps in disguise.

Verisq AI Trust Operations turns findings like this into mapped controls with continuous evidence, keeping your audit readiness current instead of point-in-time.

Map your controls with Verisq AI Trust Operations →