PHP2Shell and EKS Network Policy Bypass: October 2026s Critical RCE Wave
Two critical vulnerabilities dissected: PHP2Shells AI-discovered memory corruption affecting 70% of web servers, and AWS EKSs network policy bypass via eBPF conntrack map poisoning. Both disclosed October 21, 2026, with active exploitation observed.
PHP2Shell and EKS Network Policy Bypass: October 2026s Critical RCE Wave
Two critical vulnerabilities dissected: PHP2Shell s AI-discovered memory corruption affecting 70% of web servers, and AWS EKS s network policy bypass via eBPF conntrack map poisoning. Both disclosed October 21, 2026, with active exploitation observed.
Two critical vulnerabilities in October 2026
October 21, 2026 marked a significant day in cybersecurity history. The PHP security team released patches for two critical vulnerabilities that had lain dormant for over a decade. Almost simultaneously, AWS issued security bulletin 2026-170 addressing a network policy bypass in Amazon EKS. Together, these vulnerabilities affected fundamental building blocks of internet infrastructure and cloud computing, creating a rare convergence of critical risk across both web hosting and container orchestration platforms.
PHP2Shell: AI discovered memory corruption in the web s foundation
PHP powers approximately 70 percent of all websites on the internet. From WordPress and Drupal to Wikipedia and Facebook s early architecture, PHP remains the dominant server-side scripting language. The discovery of PHP2Shell vulnerabilities by Wiz Research represented a fundamental shift in how critical flaws are uncovered and weaponized.
The vulnerabilities and their mechanism
PHP2Shell comprises two critical CVEs: CVE-2026-109618 and CVE-2026-109619. Both are memory-safety issues stemming from how PHP handles fatal errors during request processing, particularly out-of-memory conditions. When PHP encounters an out-of-memory error during request startup, it uses the longjmp mechanism to exit the current context. However, certain PHP internals do not properly account for this scenario, leaving request-scoped memory in a partially initialized or stale state. A subsequent request or worker process can then reuse that stale state, leading to memory disclosure or corruption.
According to the official PHP announcement on October 21, 2026, these vulnerabilities could allow unauthenticated remote code execution on affected systems. The CVSS scores reflect the severity: 9.2 on CVSS v4.0 and 9.8 on CVSS v3.1, both rated Critical. The vulnerabilities affect PHP versions 8.2.x before 8.2.35, 8.3.x before 8.3.36, 8.4.x before 8.4.27, and 8.5.x before 8.5.12.
What an attacker can achieve
The practical impact of PHP2Shell extends beyond simple memory disclosure. Wiz Research demonstrated constructing a single exploit script, php2shell, that achieved pre-authentication remote code execution on default container images of WordPress, Drupal, and Joomla. An attacker who successfully exploits these vulnerabilities gains the ability to execute arbitrary code as the web server process user, typically www-data or apache, with full confidentiality, integrity, and availability impact on the vulnerable system.
CVE-2026-99362 turns a small NFSv4.1 and NFSv4.2 reply-cache negotiation value into a kernel memory corruption boundary. Here is what the primary records show about scope, exploit evidence, patch status, and safe containment.
CVE-2026-138445 shows how Umami's Reports API let a client supplied filter prefix reach PostgreSQL query structure. The patch is a precise lesson in separating request data from SQL identifiers, and in verifying source revisions when a fix lands after the latest release.
Nov 30, 2026 / Jahan
The exploitation chain can lead to arbitrary OS command execution, web shell deployment, credential theft including password hashes and MFA secrets, lateral movement within internal networks, and deployment of Mirai-based botnet malware. Crucially, the vulnerabilities exist in PHP itself, independent of any application code running on top of it. This means application-level security controls such as authentication, input validation, and WAF rules at the application layer provide no protection.
Technical exploitation vectors
CVE-2026-109618 centers on the upload-progress unserializer use-after-free. PHP s session.upload_progress feature, enabled by default, validates multipart uploads in both mod_php and PHP-FPM configurations. An attacker can influence the session ID, a key suffix, and the name of an uploaded file, which are serialized into a session file. PHP deserializes that file before any script runs. An error that bypasses cleanup leaves pointers to freed memory; a second request on the same worker reuses that memory with attacker-controlled bytes, enabling the use-after-free condition.
CVE-2026-109619 involves fatal-error backtrace use-after-free and OPcache type confusion. This vulnerability exploits how PHP 8.5 handles fatal error backtraces, which underpin the confirmed exploit on mod_php installations. When processing multipart parsing attacks, three vectors can reliably trigger out-of-memory conditions: a multipart request without a usable declared Content-Length that bypasses post_max_size checks; a multipart part with an unrestricted number of headers, where PHP s internal representation consumes far more memory than the wire representation; or empty file controls that do not count against max_file_uploads but still create metadata arrays.
Apache mod_php proved the most severely affected SAPI because it unconditionally invokes the request shutdown procedure even when request startup fails, allowing the stale state to be consumed before any application code runs. This architectural choice made exploitation significantly more reliable against mod_php deployments compared to PHP-FPM or CGI configurations.
The AI inflection point
What makes PHP2Shell particularly significant is how frontier AI models changed the vulnerability discovery landscape. Wiz Research credits its ability to find and exploit these flaws to using Wiz Atlas, Gemini 4 Argon, and GPT-5.6 Sol throughout the research. Argon, specifically, made a particularly significant contribution to finding and helping to remediate the vulnerability.
The research timeline reveals the accelerating pace of AI-assisted security research. Wiz Research discovered the first PHP vulnerability on August 19, 2026, using these AI tools. By August 21, unauthenticated RCE had been confirmed against WordPress. The vulnerabilities were reported to the PHP security team on August 24, and patches became available on October 21. That is less than a month from discovery to patch availability, with public disclosure on the same day.
This timeline suggests a fundamental shift in the economics of both discovery and exploitation. Previously, vulnerabilities that seemed impractical to exploit due to complexity remained theoretical risks. Now, AI capabilities reduce the time and expertise required to turn theoretical flaws into working exploits. What AI changed was the ability to understand weaknesses and turn them into a working exploit in hours rather than months.
Exploitation trends and real-world impact
Following PHP2Shell s public disclosure on October 21, Wiz telemetry recorded an approximate 67 percent decrease in the daily number of distinct Internet-exposed machines vulnerable to PHP2Shell over the subsequent days. Among vulnerable Internet-exposed machines, the proportion running PHP version 7.3 or earlier fell from 8.3 percent to 5.7 percent over a five-day period. This decrease measures the share of observed populations running older versions that did not receive official backports.
During this remediation period, the number of significantly affected organizations defined here as those with at least one exposed and vulnerable instance fell by approximately 47.9 percent. For reference, Wiz data shows that PHP itself is in use by 65 percent of organizations in its dataset.
Exploitation attempts observed in the wild followed predictable patterns. Two variants of an open source exploit kit targeting PHP-based software emerged. Both variants aimed to trigger the memory exhaustion flow required for exploitation. The older variant encountered request-size limits or failed to produce the expected memory-exhaustion condition. The newer variant consistently exhausted PHP memory but failed to obtain the memory addresses needed to continue the exploit chain.
One week after public disclosure, less than 53 percent of initially affected organizations remained vulnerable to PHP2Shell, according to Wiz observations.
CISA action and active exploitation
The US Cybersecurity and Infrastructure Security Agency (CISA) added CVE-2026-109618 to the Known Exploited Vulnerabilities (KEV) catalog on October 26, 2026. This placement indicates observed active exploitation in the wild and triggers mandatory remediation requirements under Binding Operational Directive 26-04 for federal agencies. The due date for applying patches is October 29, 2026.
CISA s entry notes that the vulnerability allows unauthenticated remote code execution through a PHP memory corruption mechanism. The forensic triage requirement underscores that this vulnerability has already been exploited operationally, not merely discovered.
CVE-2026-122266: EKS network policy bypass via eBPF
While PHP2Shell affected web server foundations, Amazon EKS customers faced different risks from CVE-2026-122266, an improper isolation vulnerability in the aws-network-policy-agent component of Amazon EKS Network Policy Agent. Affected versions before 1.3.7, and VPC CNI before 1.22.3, might allow an authenticated adjacent user to bypass NetworkPolicy ingress enforcement on co-located pods via eBPF conntrack map poisoning using crafted AF_PACKET frames.
The technical mechanism
This vulnerability centers on the interaction between Kubernetes NetworkPolicy enforcement and the eBPF-based connection tracking mechanism in the VPC CNI plugin. NetworkPolicy resources in Kubernetes allow administrators to control traffic flow between pods. The aws-network-policy-agent implements this control by monitoring and filtering network traffic at the node level using eBPF maps.
The conntrack map in eBPF maintains state about network connections for stateful packet filtering. An attacker with access to a pod co-located on the same node can craft AF_PACKET frames that poison entries in the conntrack map. By manipulating this shared state, the attacker can cause the network policy enforcement to incorrectly allow traffic that should be blocked by NetworkPolicy rules.
CVSS v3.1 assigns this vulnerability a base score of 8.7 (HIGH) with an adjacent network attack vector. The scope is CHANGED, meaning the vulnerability affects resources beyond the vulnerable component itself. CVSS v4.0 assigns a base score of 6.3 (MEDIUM), reflecting the requirement for authenticated network access to a co-located pod.
Real-world impact for Kubernetes operators
For Kubernetes operators, CVE-2026-122266 represents a potential breach of network segmentation assumptions. Organizations frequently deploy sensitive workloads alongside public-facing services on the same node pool. NetworkPolicy rules are designed to prevent lateral movement between pods, even within the same namespace or cluster. Successfully exploiting this vulnerability would allow a compromised public-facing service to bypass network controls and probe or exfiltrate data from supposedly isolated sensitive workloads.
The attack requires the attacker to have authenticated access to a pod running on the same node as the target. This scenario is common in multi-tenant Kubernetes environments, shared infrastructure for different microservices, or compromised containers in a cluster with insufficient runtime security controls.
Remediation and patches
AWS addressed CVE-2026-122266 with patches released in Amazon VPC CNI Managed Add-on version 1.22.3 and aws-network-policy-agent version 1.3.7. Users running affected versions should upgrade immediately to one of the patched releases. The patches improve isolation between eBPF map entries and strengthen validation of AF_PACKET inputs.
For organizations unable to patch immediately, AWS recommended implementing network-level controls to restrict access between pods sharing a node. This defense-in-depth approach limits the attack surface while patches are applied.
The AI inflection point across both vulnerabilities
PHP2Shell exemplifies how AI has fundamentally changed the vulnerability discovery landscape. Traditional vulnerability research required months of manual code analysis, reverse engineering, and exploit development. AI tools compress this timeline dramatically, enabling researchers to understand complex memory corruption chains and develop working exploits in hours rather than months.
The implications extend beyond discovery to remediation. AI-assisted security tools can now analyze codebases systematically, finding flaws that human reviewers might miss after years of scrutiny. Wiz Atlas, Gemini 4 Argon, and GPT-5.6 Sol enabled Wiz Research to identify PHP2Shell despite the code being present for over a decade.
For defenders, AI tools provide new capabilities for detecting exploitation attempts and understanding attack patterns. Wiz customers using Wiz Sensor version 1.0.12768 could enable detection policies that automatically terminate processes exhibiting behaviors typical of PHP2Shell exploitation. Threat intelligence platforms leverage AI to correlate IOCs across different attack campaigns and identify previously unseen exploitation variants.
The broader context of October 2026
Both PHP2Shell and the EKS network policy bypass fit a larger pattern of critical infrastructure vulnerabilities discovered in late 2026. The year began with Log4Shell-type discoveries in widely deployed software, and 2026 concluded with AI-accelerated research revealing flaws that had persisted for decades. This trend suggests that vulnerability discovery is becoming more systematic and comprehensive, thanks to AI analysis tools.
For organizations, the lesson is clear: patching cadence and automated vulnerability management are no longer optional. The window from vulnerability disclosure to active exploitation has shrunk dramatically. What once took months for attackers to weaponize now happens in days or weeks.
For security researchers, AI presents both opportunity and challenge. It enables faster discovery of critical flaws but also lowers the barrier to exploitation. The responsibility shifts toward faster coordinated disclosure and more proactive vulnerability analysis.