A set of critical remote code execution (RCE) vulnerabilities, collectively named PHP2Shell, has been discovered in the core engine of the PHP scripting language. Tracked as CVE-2026-109618 and CVE-2026-109619, these flaws affect nearly all versions of PHP released over the past decade. The vulnerabilities, which stem from memory corruption and disclosure bugs, can be exploited by unauthenticated attackers to gain complete control of a web server. Given that PHP powers an estimated 70% of all websites, the discovery has triggered a global emergency response, with government agencies like CISA issuing directives for immediate patching and widespread exploitation attempts already being observed in the wild.
The vulnerabilities were discovered by security researchers at Wiz Research, who found underlying architectural flaws that had remained hidden for over a decade. The exploit chain combines a memory corruption bug with a memory disclosure bug, allowing an attacker to achieve unauthenticated RCE on a target server. This means an attacker does not need any credentials or prior access to take full control.
The attack vector is remote and requires no user interaction, making it highly wormable and extremely dangerous. Successful exploitation grants the attacker the same level of permission as the web server process, which is often sufficient to read/write web files, access databases, and pivot deeper into the network.
The vulnerabilities affect a vast range of PHP versions, spanning from PHP 5.4 through PHP 8.5. Essentially, any unpatched PHP installation from the last ten years that is used to serve web requests is considered vulnerable. The official PHP development team has released the following patched versions:
Organizations using any older versions are strongly urged to upgrade immediately.
Mass exploitation of the PHP2Shell vulnerabilities began within hours of public disclosure. Security firms like Cloudflare reported observing millions of exploit attempts across their networks. The low complexity of the exploit, combined with the massive attack surface, has led to widespread automated scanning and exploitation campaigns by various threat actors. CISA has added the vulnerabilities to its Known Exploited Vulnerabilities (KEV) catalog, mandating federal agencies to patch by a specified deadline.
The impact of PHP2Shell is catastrophic due to PHP's ubiquity in web development. An estimated 70% of all websites, from small blogs to large enterprise applications and government services, rely on PHP. A successful exploit can lead to:
Governments and companies worldwide, including 32 UK government services, have taken systems offline as a precaution while patches are applied, indicating the severe operational impact.
The following patterns may help identify vulnerable or compromised systems:
php -vaccess.log, error.log*.phpSecurity teams should prioritize detecting both vulnerable and compromised systems.
dpkg -l | grep php or rpm -qa | grep php on Linux systems to find all installed PHP packages and their versions.www-data, apache). This can be aided by D3FEND's Network Traffic Analysis.apache2, nginx, php-fpm). Any child process like sh, bash, curl, or wget is highly indicative of compromise.Immediate action is required to mitigate the extreme risk posed by PHP2Shell.
Amazon Threat Intelligence identified pre-disclosure exploitation of PHP2Shell flaws as early as Oct 17, increasing the urgency for patching. Older, unsupported PHP versions remain at permanent risk.
New intelligence from Amazon Threat Intelligence reveals that exploitation of the PHP2Shell vulnerabilities (CVE-2026-109618, CVE-2026-109619) was observed as early as October 17, 2026, prior to public disclosure. This indicates a more advanced and prolonged threat landscape than initially understood. The flaws critically impact widely used platforms like WordPress, Drupal, and Magento. Furthermore, PHP versions 8.1 and older, which are unsupported, will not receive official patches, leaving millions of legacy websites permanently vulnerable unless they undergo costly and complex upgrades. This significantly elevates the long-term risk and operational burden for many organizations.
PHP2Shell flaws confirmed as zero-day, actively exploited before patches. NSA advisory issued, CISA adds to KEV with specific timeline and global impact.
New information confirms the PHP2Shell vulnerabilities were actively exploited as zero-days, with Amazon Threat Intelligence observing attempts on October 17, 2026, four days before public announcement. The NSA has also issued an urgent advisory. CISA officially added both CVEs to its KEV catalog on October 26, 2026, mandating a patching deadline for federal agencies. The impact is more clearly defined, with major Japanese corporations (ANA, JR West, MUFG Bank) and government services in multiple European countries taking systems offline. Additional hunting hints and a new remediation step, application hardening by disabling unnecessary PHP functions, have been provided.
Wiz Research discloses critical PHP vulnerabilities dubbed 'PHP2Shell'.
CISA issues an emergency directive for federal agencies to patch the PHP flaws.
Reports emerge of millions of exploit attempts and widespread emergency patching efforts.

Cybersecurity professional with over 10 years of specialized experience in security operations, threat intelligence, incident response, and security automation. Expertise spans SOAR/XSOAR orchestration, threat intelligence platforms, SIEM/UEBA analytics, and building cyber fusion centers. Background includes technical enablement, solution architecture for enterprise and government clients, and implementing security automation workflows across IR, TIP, and SOC use cases.
CyberNetSec.io uses automation to assist source monitoring, deduplication, observable extraction, and structured intelligence generation. Published analysis follows human-defined editorial standards and adds defensive context including MITRE ATT&CK, D3FEND, STIX, and Sigma where applicable. Read our editorial policy.
Help others stay informed about cybersecurity threats
Every tactic, technique, and sub-technique used in this threat has been identified and mapped to the MITRE ATT&CK framework for consistent, actionable threat language.
Observables and indicators of compromise (IOCs) have been extracted and cataloged. Risk has been assessed and correlated with known threat actors and historical campaigns.
Detection rules, incident response steps, and D3FEND-aligned mitigation strategies are included so your team can act on this intelligence immediately.
Structured threat data is packaged as a STIX 2.1 bundle and can be visualized as an interactive graph — relationships between actors, malware, techniques, and indicators.
Sigma detection rules are derived from the threat techniques in this article and can be converted for deployment across any major SIEM or EDR platform.