Skip to main content

PHP2Shell Exploitation Started Days Before Patches

0
High
Vulnerability
Published: 10/22/2026 (10/22/2026, 09:48:58 UTC)
Source: SecurityWeek

Description

PHP2Shell refers to two critical remote code execution vulnerabilities in PHP disclosed in October 2026. Exploitation attempts began days before official patches were released, with mass scanning and exploitation activity observed immediately after patch publication. Although multiple proof-of-concept exploits circulated rapidly, many were ineffective or caused crashes rather than successful exploitation. The vulnerabilities affect a large number of internet-facing PHP servers, many running end-of-life versions. US cybersecurity authorities have urged immediate patching to PHP versions 8.5.12, 8.4.27, 8.3.36, or 8.2.35 to mitigate the risk. The vulnerabilities have been compared in impact potential to Log4Shell due to widespread presence and forgotten PHP infrastructure. Mitigations include applying patches promptly and restricting web-facing process permissions as a temporary control.

Affected software

Affected versions
>=8.2.0 <8.2.35>=8.3.0 <8.3.36>=8.4.0 <8.4.27>=8.5.0 <8.5.12

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/22/2026, 10:00:28 UTC

Technical Analysis

Two critical remote code execution vulnerabilities in PHP, tracked as CVE-2026-109618 and CVE-2026-109619 and collectively dubbed PHP2Shell, were publicly patched on October 21, 2026. Exploitation attempts were observed as early as October 17, prior to patch release, originating from anonymized IP addresses, indicating threat actor activity under embargo. After patch disclosure, proof-of-concept exploits proliferated rapidly, with mass scanning and exploitation attempts detected by multiple security firms and cloud providers. While many exploit attempts failed or caused crashes, some attempts to deploy webshells were reported but unsuccessful. Over one million internet-facing PHP servers remained unpatched at disclosure, many running unsupported or end-of-life PHP versions. The US Cybersecurity and Infrastructure Security Agency (CISA) recommended immediate updates to patched PHP versions. Experts warn that the vulnerability's impact is significant due to widespread forgotten PHP instances and the difficulty in identifying all affected systems, drawing parallels to the Log4Shell incident. Temporary mitigations include restricting web server process capabilities until patching is complete.

Potential Impact

The vulnerabilities allow remote code execution on affected PHP servers, potentially enabling attackers to execute arbitrary code. Exploitation attempts began before patches were publicly available, increasing risk. Although many proof-of-concept exploits are ineffective or cause crashes, the widespread presence of unpatched PHP servers—many running end-of-life versions—creates a large attack surface. The vulnerabilities have been actively scanned and exploited in the wild shortly after patch release. This could lead to unauthorized access, webshell deployment, and further compromise of affected systems if unpatched.

Mitigation Recommendations

Official patches addressing both PHP2Shell vulnerabilities were released on October 21, 2026, in PHP versions 8.5.12, 8.4.27, 8.3.36, and 8.2.35. Organizations should immediately apply these updates to all PHP installations. Until patching is complete, it is recommended to implement controls that restrict what web-facing PHP processes can execute or access, limiting their permissions to only necessary files and network services. These controls serve as a temporary mitigation and are not substitutes for patching. Continuous monitoring for signs of compromise is advised given the active exploitation attempts.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Classification
{"confidence":0.7,"severitySource":"default","classifier":"rss-v2"}
Article Source
{"url":"https://www.securityweek.com/php2shell-exploitation-started-days-before-patches/","fetched":true,"fetchedAt":"2026-10-22T10:00:22.909Z","wordCount":1687}

Threat ID: 6ad9deb74d27ba8daa4484c3

Added to database: 10/22/2026, 10:00:23 UTC

Last enriched: 10/22/2026, 10:00:28 UTC

Last updated: 10/22/2026, 16:00:23 UTC

Views: 96

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses