Advisories

PHP2Shell: affected systems, fixes and mitigations 

Updated at:

29 October 2026 13:57 UTC

29 October 2026 update: Kevin Beaumont reports that a ransomware group is exploiting PAN-OS through PHP2Shell and using stored credentials to move into internal networks. This account remains publicly uncorroborated and does not establish ransomware deployment. Suspected compromise requires investigation beyond the firewall, alongside patching.

28 October 2026 update: CISA confirms known exploitation of both original PHP2Shell CVEs. Palo Alto reports active exploitation targeting internet-exposed management interfaces and has released fixes for several branches. Added the separate session issue, CVE-2026-115560, and its mitigation.

CVE-2026-109618 and CVE-2026-109619

Executive summary 

CISA added CVE-2026-109618 and CVE-2026-109619 to its Known Exploited Vulnerabilities catalog on 26 October. Treat exposed deployments as an urgent patching and investigation priority. Both entries flag forensic triage and list 29 October as the remediation deadline for covered US federal agencies. CISA catalog

PHP has released fixes for two critical vulnerabilities that can enable unauthenticated remote code execution. Organizations should prioritize externally reachable and business-critical PHP deployments and apply updates immediately. PHP security announcement 

Wiz also demonstrated disclosure of sensitive PHP process memory, potentially exposing passwords, tokens and API keys. The vulnerabilities affect the PHP engine, so secure application code or an updated CMS does not establish protection. Wiz research 

Include security appliances and management systems with embedded PHP. Palo Alto now reports active exploitation targeting internet-exposed management interfaces, rates the issue Critical/9.2, and provides branch-specific fixes. Palo Alto advisory

Identify the serving runtime, find the owner, deploy the fix, and verify every running instance. Temporary controls can reduce exposure to specific attack paths. They do not replace patching. 

What is affected? 

PHP identifies installations serving web requests as requiring attention, including Apache with mod_php, PHP-FPM, php-cgi, FrankenPHP and LiteSpeed. It considers the risk highest for mod_php, where exploitation can begin before application code runs. PHP security announcement 

Wiz reports affected releases dating back to PHP 5.4 and demonstrated unauthenticated RCE against WordPress, Drupal and Joomla deployments. These are examples, not an exhaustive application list. Wiz research 

Assess PHP across public websites, internal applications, containers, managed hosting, and vendor products. Record the deployed build and runtime configuration. A PHP package in inventory is an assessment lead; it does not establish that its service is running or externally reachable. 

Palo Alto Networks products

Palo Alto reports active exploitation targeting internet-exposed management interfaces and rates this issue Critical/9.2 with highest urgency. Exposure concerns PAN-OS and Panorama management HTTPS interfaces and XML APIs, including dataplane interfaces with management profiles. GlobalProtect portal/gateway and Captive Portal are not impacted.

Fixed builds are available for several supported branches. Use the vendor’s current affected/fixed-version matrix for the deployed PAN-OS or Panorama release; some targets remain scheduled. Remove public management access immediately and apply the supported fixed build. Do not replace embedded PHP independently.

WF-500 and WF-500-B are listed as unaffected. WildFire Cloud and Cortex XCORE SaaS were remediated on 22 and 21 October respectively. PAN-OS and Panorama are not impacted by the separate CVE-2026-115560 issue.

Restrict management access to trusted internal addresses or a controlled jump host. IPS coverage requires the vendor’s specified routing, inbound decryption and Threat Prevention configuration; signatures alone do not establish protection. Palo Alto advisory

Fixed versions 

The upstream security releases are: 

  • PHP 8.2.35 
  • PHP 8.3.36 
  • PHP 8.4.27 
  • PHP 8.5.12 

Distribution and product vendors may provide backported fixes under different package versions. Verify the full vendor package release, not just the PHP version string. CloudLinux’s fixed alt-php and ea-php builds can retain older upstream version numbers. Its security-only update commands may miss these packages while advisory metadata is unavailable. Follow the vendor’s package-specific verification instructions; availability differs by OS and PHP stream. Confirm explicit coverage for both CVEs. 

CloudLinux reports its listed native PHP fixes are now in stable repositories. Updated alt-php builds for CloudLinux 8/9 now match upstream version numbers; earlier fixed backports remain valid. Cloud Linux announcement

PHP 8.1 and older no longer receive normal upstream updates. Upgrade or obtain a confirmed vendor fix. PHP has also provided minimal source backports for 7.4, 8.0 and 8.1; these require building and deployment. PHP security announcement 

Windows package update: PHP published 8.2.35-1, 8.3.36-1, 8.4.27-1 and 8.5.12-1 on 26 October with updated Brotli for the separate CVE-2026-111497. The PHP runtime version is unchanged, so verify the package revision. This dependency rebuild does not announce a fix for CVE-2026-115560. PHP Windows announcement

What the vulnerabilities do 

CVE-2026-109618: RCE through out-of-memory corruption. Memory exhaustion can interrupt PHP while request data is partially initialized. Cleanup can then process invalid state. Complete unauthenticated RCE was demonstrated against mod_php. Other runtimes have different prerequisites; PHP-FPM should not be assumed safe. PHP technical advisory 

CVE-2026-109619: RCE through stale global state. A worker can retain references to memory released after an earlier request. A later request handled by that worker can consume the stale state. Confirmed effects include memory disclosure and RCE, with session-lifecycle exploitation validated against mod_php and PHP-FPM under the documented conditions. PHP technical advisory 

Separate session issue: CVE-2026-115560

PHP disclosed a separate, configuration-dependent potential RCE issue on 23 October. It requires session.upload_progress.enabled to remain enabled, session.serialize_handler configured as php_binary or php_serialize, and application code switching the handler to php with ini_set() before session_start(). PHP describes this combination as unlikely in practice.

The emergency releases listed above fix the original pair, not this issue. PHP’s current notice schedules its fix and full advisory for the next regular release. Pending that fix, set session.upload_progress.enabled=0 in configuration applied before request parsing, restart affected workers, and verify the effective web-runtime setting. Keep the setting disabled if already applied; check application dependencies on upload-progress tracking. Applications that never switch the serializer at runtime do not meet this documented path. PHP notice

What to do now 

  1. Find the deployments that matter. Start with public services and critical business applications. Trace CDN, WAF, gateway and load-balancer routes to the serving workload. Keep incomplete reachability evidence marked Unknown. 
  1. Assign the fix. Identify the application owner, infrastructure team or hosting provider. For bundled PHP, obtain the product vendor’s supported remediation rather than replacing embedded components independently. 
  1. Deploy and validate. Update packages or rebuild images, replace old replicas, and restart the relevant workers. Check the runtime serving web traffic, which may differ from CLI PHP. Verify service health, package provenance, autoscaling templates and remaining old instances before closing the issue. 
  1. Track exceptions. Record the reason for any delay, temporary controls, accountable owner and next review time. 

Temporary controls and their limits 

Only an update containing the complete fixes provides full remediation. Use temporary measures to reduce exposure while patching proceeds. 

Restrict access before requests reach PHP. Where operationally feasible, use a gateway allowlist, VPN or authenticated access proxy. Cover alternate origins and IPv6 paths. An application login page should not be treated as protection against processing that occurs before application code. 

For CVE-2026-109618: PHP recommends administratively enforcing memory_limit=-1 to remove the predictable per-request memory-limit failure. This also removes that resource ceiling and requires operational review. Underlying allocation failures remain a vulnerable path. Keep request-size and parsing limits conservative, and use suitable container/cgroup availability boundaries. Do not substitute RLIMIT_AS or RLIMIT_DATA, which can trigger allocation failures. These controls remain incomplete. PHP OOM guidance 

For CVE-2026-109619: set session.upload_progress.enabled=0 administratively to block confirmed session paths. On PHP 8.5, fatal_error_backtraces=0 blocks the confirmed fatal-backtrace path. Restart every worker. Apply controls before request parsing; do not rely on application-level ini_set() or FPM .user.ini. Other variants remain. Suppressing error messages does not remove the underlying condition. PHP stale-state guidance 

Treat WAF protection as an additional control. Confirm coverage, enforcement, exceptions and origin bypasses with the provider. Blocking unnecessary multipart requests can reduce attack surface but may break uploads and forms. A blocked test request does not establish complete protection. PHP technical advisory 

Small multipart requests can amplify memory consumption while staying below body-size limits. An 8 KB cap does not close this path. AWS WAF cannot parse headers inside individual multipart body parts. AWS announcement

Investigate alongside patching 

Investigate beyond the firewall. In a 29 October report, Kevin Beaumont says a ransomware group is using PHP2Shell against Palo Alto firewalls for initial access and then moving into internal networks using credentials stored on the compromised firewalls. The ransomware-group involvement and credential-based lateral movement have not been independently corroborated publicly. His post provides no group name, victim details or forensic artifacts and does not establish ransomware deployment. Palo Alto confirms exploitation targeting internet-exposed management interfaces, but does not identify ransomware involvement. CISA’s catalog still records ransomware use for both original CVEs as “Unknown.”

For suspected compromise, preserve evidence and investigate authentication and connections from the firewall into internal identity and management systems. Identify potentially exposed stored credentials and the access they grant, then coordinate credential rotation with containment. Prioritize exposed management interfaces using the vendor’s remediation guidance. Patching alone does not establish that an intrusion has been removed.

CISA now lists both original CVEs as known exploited. Separately, a researcher’s 24 October report correlates exploit requests with Apache-spawned shells on unpatched PHP 8.4.26/mod_php honeypots. This is reported successful execution in that configuration, not evidence of a bypass of patched PHP or compromise of any particular customer. CISA catalog | Original honeypot report

AWS identified a PHP2Shell exploitation attempt in honeypot telemetry on 17 October, before public disclosure. Review available logs from at least that date. AWS notes uncertainty about whether the observed attempts would have succeeded against real-world systems. AWS announcement

Wiz highlights unusual multipart requests followed by memory errors or HTTP 500 responses, unexpectedly large or malformed PHPSESSID response cookies, and unexplained PHP worker churn as investigation signals. These are not standalone proof of exploitation. Research demonstrations also do not, by themselves, establish exploitation in a particular environment. Wiz research 

Preserve web, proxy, WAF, PHP and endpoint logs. Investigate suspicious child processes, new executable files and unusual outbound connections. Because memory disclosure can occur without a webshell, assess potential credential exposure as well as code execution. Suspected compromise requires incident response alongside remediation. 

Cloudflare observed attack traffic and payload mutations in attempts to bypass its protections. Protections were deployed across free and paid WAF plans. PHP still needs patching. Cloudflare explicitly treats WAF protection as an additional security layer. Update the PHP runtime; website, WordPress, or plugin updates alone do not fix these flaws. If PHP is managed by a hosting provider, ask it to apply the update. Cloudflare announcement

Detection: Successful exploitation may not crash the PHP worker. No crashes or HTTP 500s does not rule out exploitation. Investigate large form submissions, memory-exhaustion errors during request initialization, and unexpected shell processes. Datadog Security Labs announcement

Get a rapid PHP exposure assessment 

Tonic can rapidly identify vulnerable PHP deployments that are externally facing or support business-critical services, find the teams responsible, and prioritize the fixes. 

We’ll support remediation, from coordinating patching and temporary mitigations to validating that the exposure has been addressed. 

Contact us to scope a rapid assessment.