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 ShadowMap sees: PHP2Shell

  • 20 indicators of compromise in ShadowMap's threat feed are linked to CVE-2026-109618, CVE-2026-109619 and CVE-2026-126714.

    TypeIndicator (defanged)
    SHA-2560405d4f79a3cc97fa492f1957cde0d51bc569f5432792f1b8f72077aa3fb2434
    SHA-25605e2daf00fd6d1f91e5ac32b156bae290bb43d4fa0c1521981d804582c6444d4
    SHA-2564188295ae1f7f8a99d15e90eb037eef3eb03f6acd4422bf877c6e3304e70fcb9
    SHA-25659309cca70a714ca7e6a2353d583d29b0ec02e408a413b86e85a621926c3b038
    SHA-2569d3f2f6031ec3b487ae12dd6f9311dd89b4a6bd23af252212bcc1f5507784f39
    SHA-256cde477ef57ef6f100dcb0242f055113690fdeade8204e0986a3ad257be1fb81e
    SHA-256e7e6bfc3a2d6c3eb0ed6e1f4ade99ca761d517886412da99a2cf4a0626bce5e3
    SHA-256ee15c2a54f1bb483f70bf7777ae08d39c8abbbf7f5b1f2139de0ff76ec3e241e
    SHA-256fa2fac83ebc5dbdfeafe8e6950275fe3be0d4be87df37af0cc66671c318287ac
    SHA-256fcbfc74ddffad4789120c618bdf166c6c8aaca286fb2d184f7fa0ed8b8f26c59
    Hostname213-163-205-35[.]sg-sin1[.]upcloud[.]host
    SHA-256a5eb53004c797fbc0117056221b18a7bdf04335029a72c7c8d03d2234baf44ae
    IP address156[.]234[.]43[.]98
    SHA-256f4d68918fe8b7ef0a5b0e53a7c62216e67ccca27e2000a8ba6dcd03140b0c2b9
    SHA-256f1fb4db77fcc50d839523d8df7a0d04a5110320cce1718cf3728ea1be7b2a6f8
    SHA-256ed2c6bc3e77a404b8cf61176844ad19c1fdcae19881206631e3f0831a4bd919a
    SHA-256ecb5d5968d77e77b397ef18a077612d8f732a3f9cb78c7d8066c94bd9e580281
    SHA-256e85d448b73b1bfae42d7b16d34892d47ce8a055cfe405082b5fa7f36bf5cfd5c
    SHA-256e29425023df9d35fc69425ea750d15cf1211409452df20f9f72829cdc75fe3f0
    SHA-256d2d6a47a8ae96fcae7ea96683a9b700c2f28793495c0b1e3050c5af8c7c7486b

    As of

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.