Skip to main content
All incident reports
Incident report

PHP2Shell follow-up: phpAfterShell among seven critical PHP flaws patched

PHP has patched seven critical remote code execution flaws, including a session-file bug that researchers call phpAfterShell; Wiz says October's PHP2Shell mitigations do not cover every new vector. Siemens products affected by the October flaws still include models with no fix.

· First published · Last updated

The short version

  • The flaws. CVE-2026-109618 and CVE-2026-109619 are critical, unauthenticated remote code execution (RCE) flaws in the core PHP language runtime, together called PHP2Shell. The PHP project and security researchers disclosed them on 21 October 2026.
  • Where they landed. Siemens ProductCERT advisories republished by CISA on 12 November list RUGGEDCOM APE1808, which runs Palo Alto Networks PAN-OS, and a range of building automation and energy products as affected. Several of those products have no fix available.
  • New patches. On 19 November PHP released 8.6.0 and 8.5.13 with fixes for seven critical RCE flaws and 10 high and medium-severity issues. Wiz rates the seven critical flaws at CVSS 9.2 and names CVE-2026-126714 phpAfterShell.
  • Exploitation. SecurityWeek describes CVE-2026-109619 as now widely exploited. Wiz says it has not observed exploitation of the November flaws and that none is mentioned in public reporting. No source gives the scale of exploitation or names the attackers.
  • Exposure advice. CISA recommends keeping control-system devices off the internet, behind firewalls and away from business networks. Wiz advises upgrading PHP and restarting the PHP-FPM master service or web server so the patched binaries are loaded.

Timeline

DateEvent
21 OctoberThe PHP project and security researchers disclose two critical, unauthenticated RCE flaws in the PHP runtime, CVE-2026-109618 and CVE-2026-109619, known as PHP2Shell.
OctoberCVE-2026-115560, a flaw in PHP's session upload progress feature, is publicly disclosed two days after the PHP2Shell patches, according to SecurityWeek.
23 OctoberSiemens ProductCERT publishes the initial version of its advisory on RUGGEDCOM APE1808.
28 OctoberSiemens revises the RUGGEDCOM advisory to add PAN-OS to the remediation.
12 NovemberCISA republishes the Siemens ProductCERT advisories covering RUGGEDCOM APE1808 and the affected building automation and energy products.
19 NovemberPHP releases 8.6.0 and 8.5.13 with fixes for seven critical RCE flaws and 10 high and medium-severity issues.
19 NovemberWiz publishes its analysis naming CVE-2026-126714 phpAfterShell and reports no observed exploitation of the new flaws.

The October flaws and the Siemens advisories

The PHP project and security researchers disclosed CVE-2026-109618 and CVE-2026-109619, two unauthenticated remote code execution flaws in the core PHP runtime, on 21 October 2026 under the name PHP2Shell. Siemens ProductCERT advisories republished by CISA on 12 November list RUGGEDCOM APE1808, which runs Palo Alto Networks PAN-OS, and building automation and energy products including AMIS TS, Energy Engage and the Spectrum Power line. Several carry no fix; Energy Engage V2.0SP9 has none planned. Siemens says its assessment is ongoing.

For RUGGEDCOM APE1808 the remediation is to move to a current PAN-OS release obtained through customer support; Siemens added PAN-OS to that advisory on 28 October. Other fixes are product-specific: Energy Engage V3.1SP1 moves to PHP V8.1.34 release 6, and Local Monitoring bt-monitoring-vm to V20261103. CISA recommends limiting network access to control-system devices, placing them behind firewalls away from business networks, and using a maintained VPN for remote access.

The November patches

On 19 November PHP released 8.6.0 and 8.5.13, fixing seven critical RCE flaws and 10 high and medium-severity issues; patches for most also landed in 8.4.28, 8.3.37 and 8.2.36. Wiz counts 17 vulnerabilities across the supported 8.2 to 8.5 branches and rates the seven critical ones at CVSS 9.2.

The flaw Wiz calls phpAfterShell, CVE-2026-126714, sits in PHP's default file-based session handler and was reported by depthfirst. An interrupted session-file write can leave malformed data that is deserialised on the next request, giving code execution where the application contains a usable gadget chain. CVE-2026-129289 is a request smuggling bug in PHP-FPM, the process manager that runs PHP behind web servers such as Nginx and Apache. Two further flaws, CVE-2026-129481 and CVE-2026-129182, extend CVE-2026-109619; PHP says 8.2 is not affected by the first.

Wiz says most of the other critical flaws need non-default settings, such as mixed session serialisers or exception arguments left enabled, so default installations are insulated from many of them. PHP 8.1 and earlier receive no fix; Wiz notes that 8.2 is in security-only support until December 2026.

Exploitation and exposure

SecurityWeek describes CVE-2026-109619 as now widely exploited. Wiz says it has not observed exploitation of the November flaws and that none is mentioned in public reporting. No source gives the scale of exploitation of the October flaws or names the attackers.

Wiz estimates that PHP underpins about 70% of websites built with known server-side languages. CISA's guidance for the Siemens products remains to keep control-system devices off the internet, segment them from business networks and use a maintained VPN where remote access is required.

What is not known yet

  • Who is exploiting CVE-2026-109619, and at what scale.
  • Whether any Siemens customer has been compromised through the affected products.
  • Whether the November flaws will be exploited, and how quickly.
  • Which of the Siemens products listed without a fix will receive one, and when.
  • How many internet-facing PHP deployments remain unpatched.

What to do

If you run PHP

  1. Upgrade to 8.5.13, 8.4.28, 8.3.37 or 8.2.36, or to 8.6.0.
  2. Rebuild affected container images and restart the PHP-FPM master service or web server so the patched binaries are in memory.
  3. If patching is delayed, set session.upload_progress.enabled = 0 in php.ini.
  4. If patching is delayed, turn off FastCGI connection reuse (fastcgi_keep_conn off in Nginx, enablereuse=off in Apache).

If you run Siemens products

  1. Check the Siemens ProductCERT advisories republished by CISA for your product and version.
  2. For RUGGEDCOM APE1808, upgrade PAN-OS through Siemens customer support.
  3. Apply the product-specific fixes where listed, such as PHP V8.1.34 release 6 for Energy Engage V3.1SP1 or V20261103 for Local Monitoring bt-monitoring-vm.
  4. Where no fix exists, apply Siemens' mitigations and restrict network access to the device.

For everyone else

  1. Keep control-system devices off the internet and behind firewalls, isolated from business networks.
  2. Use a maintained VPN for remote access where it is required.
  3. Report suspected malicious activity to CISA for tracking and correlation.

Update log

  • Added Wiz's analysis naming CVE-2026-126714 phpAfterShell, its CVSS 9.2 rating for the seven critical flaws, and its statement that no in-the-wild exploitation of the November flaws has been observed.
  • First published.

Sources

New incident reports by email

One email a week with the reports published since the last one.

We email you about this topic only; unsubscribe any time. See our Privacy Policy.

Want us to look at your domain?

Give us one apex domain and we'll send back a written snapshot of what is already visible from outside. No call required.