Critical PHP2Shell RCE Flaws (CVE‑2026‑109618, CVE‑2026‑109619) Exploited in the Wild Against Apache mod_php
What It Is — Two critical remote‑code‑execution (RCE) vulnerabilities, catalogued as CVE‑2026‑109618 and CVE‑2026‑109619 and collectively dubbed PHP2Shell, have been confirmed in‑the‑wild. The flaws affect the Apache mod_php handler when running PHP 8.4.26. Researchers at Perplexity observed a honeypot being compromised: the attacker retrieved an 800 KiB decoded cookie dump, extracted a function address, and used it to launch a second‑stage payload that achieved full code execution on the host. The chain was demonstrated on a single‑worker mod_php configuration, which the researchers note is a “best‑case” scenario for the attacker; reliability on multi‑worker or differently built PHP instances has not been measured.
The exploitation was independently verified by Expel’s Marcus Hutchins, who has been tracking reports of PHP2Shell activity since early October. Hutchins called the Perplexity evidence “the highest‑quality confirmation of in‑the‑wild PHP2Shell exploitation” he has seen. Although the U.S. Cybersecurity and Infrastructure Security Agency (CISA) released a SIGMA detection rule for the exploit, it has not yet added the flaws to its KEV (Known Exploited Vulnerabilities) list.
The PHP security team issued emergency patches on October 21, a day after urging administrators to prepare for the updates. Prior to the patch release, proof‑of‑concept (PoC) exploits and CVE details had been leaked, but the PHP developers asserted that none were functional. Several security firms—including Cloudflare, Hadrian, watchTowr, Previdian, and Patchstack—detected exploitation attempts before public disclosure, yet they reported those attempts as unsuccessful.
Amazon Threat Intelligence researchers observed targeting of the PHP2Shell flaws four days before the patches went live. Their analysis, corroborated by Dataminr’s TRACE team, described the early activity as limited to scanning, fingerprinting, and use of non‑working exploits, with no confirmed compromise until the Perplexity honeypot breach.
In parallel, the PHP team disclosed a third, unpatched RCE vulnerability (CVE‑2026‑115560) that can be weaponised only under a rare combination of configuration and application code. As a temporary mitigation, administrators are advised to disable session upload progress tracking (session.upload_progress.enabled=0). This setting had already been recommended as a hardening measure before the PHP2Shell patches were released.
PHP remains one of the most widely deployed web‑application languages, powering roughly 70 % of all websites. VirusTotal estimates more than 5.1 million live PHP hosts, with about 3.8 million exposing at least one network port. The breadth of the ecosystem amplifies the potential blast radius of any unpatched flaw, underscoring the importance of rapid vulnerability‑management cycles.
Affected Products — Apache mod_php running PHP 8.4.26 (and any configuration that enables the vulnerable code path).
Why It Matters for Trust & Control Assurance — Demonstrates the need for continuous vulnerability‑management controls that provide timely evidence of patch deployment and configuration hardening. Capability focus: CONTROL_MAPPING.
Recommended Actions
- Verify your PHP version and Apache mod_php configuration; upgrade immediately to the patched 8.4.27 release or later.
- Apply the recommended mitigation (
session.upload_progress.enabled=0) on any systems that cannot be patched right away. - Deploy the CISA‑provided SIGMA rule (or equivalent) to detect exploitation attempts in your logs.
- Update your asset inventory to flag all PHP‑enabled services for continuous monitoring.
- Conduct a post‑patch validation scan to confirm the absence of the vulnerable code path.
- Document the remediation steps and retain log evidence for audit readiness.
Source: BleepingComputer article