Security ·
PHP2Shell: The Web Flaw That Came In Through the Firewall
PHP fixed two critical flaws on 21 October. Vendors have since confirmed break-ins through security gateways. Here is where PHP hides in your estate.
On 30 October, nine days after the PHP project shipped a critical fix, attackers started working through the remote-access portals of Check Point security gateways. Those portals are small web applications that run on PHP1415. Over the next six days, through 4 November, they used the PHP flaws now known as PHP2Shell to get in, then a second Check Point bug to take full control of the device13. In the first wave, aimed at Israeli organizations, some intrusions ended with a wiper run on a VMware ESXi virtualization host14.
"Patch PHP" sounds like a job for the web team. This case shows why that is too narrow. PHP also runs inside firewalls, VPN gateways, storage systems and management consoles that the web team does not own, and often cannot update17.
Two flaws in the engine, not the website
PHP is the language that builds web pages on the server for a large share of the internet. The survey firm W3Techs finds it on most sites whose server-side language it can identify5.
68.1%
of websites with a known server-side language run PHP (W3Techs, 17 November 2026)5
On 21 October the PHP project released versions 8.5.12, 8.4.27, 8.3.36 and 8.2.35 to fix CVE-2026-109618 and CVE-2026-1096191. Both score 9.2 out of 10 on the CVSS v4.0 severity scale and allow remote code execution: someone with no account can run their own code on the server134. In the first, running out of memory at the wrong moment can leave a request half built, and PHP's cleanup code later acts on that broken data. The second is a leftover problem: one request can leave behind references to memory already released, and the next request on the same worker process can pick them up1.
Two details matter for operators. First, PHP sees the most danger in the Apache setup called mod_php, where a request from a stranger can set off the attack before the website's own code even starts1. Good application code is no defense. Second, PHP's temporary settings changes block only some routes in, and the project is clear that they are no substitute for the update1.
There are no complete mitigations, updating is the only safe choice.
PHP 8.1 and older get no updates from the project. Given the severity, it published minimal source backports for 7.4, 8.0 and 8.1, and it gave Linux distributions and long-term-support vendors early access to the patches1.
A messy first week, then confirmed break-ins
Exploitation status changed quickly, so dates matter. Amazon says its honeypot network logged an exploitation attempt on 17 October, four days before disclosure6.
4 days
between the first exploitation attempt Amazon logged and the public fix6
Early reports conflicted. Claims gathered by the scanning firm Censys ranged from no confirmed exploitation to broad attacks8, and one research team tied an intrusion to PHP2Shell, then retracted the link two days later7. On 26 October CISA, the U.S. Cybersecurity and Infrastructure Security Agency, added both flaws to its Known Exploited Vulnerabilities (KEV) catalog and gave federal civilian agencies until 29 October to act910.
The clearest confirmations, as of 17 November 2026, came from security gateway makers. By 29 October, Palo Alto Networks reported active exploitation of PAN-OS firewall management interfaces exposed to the internet, with attackers pairing PHP2Shell with a Linux kernel flaw to reach root711. Singapore's Cyber Security Agency identifies that kernel flaw as CVE-2026-463001210. On 12 November, Check Point said the attacks on its gateways entered through the Mobile Access Portal, then used a flaw in its Gaia operating system (CVE-2026-123039) to gain root13. It said roughly two dozen unpatched systems in one region were compromised, and that its fix had been available since 23 October13. Its researchers saw a wider second wave from 2 November across several countries, with no destruction found14. CISA added the Check Point flaw to the KEV catalog on 13 November, with a federal deadline of 16 November1016.
Our read: both campaigns followed the same shape. PHP2Shell gave the attacker code running as the low-privilege web account3, and a second, local flaw turned that into control of the whole device. A gateway sits at the network edge with routes and credentials into everything behind it, so these cases go first.
PHP is inside the boxes you bought
NCSC-NL, the Dutch national cybersecurity center, keeps a public tracker of products that depend on PHP. As of 12 November it listed 972 products, of which 212 were still marked vulnerable and 92 were under investigation; for 240 more, the answer depends on the PHP installation underneath17.
972
products in NCSC-NL's PHP2Shell tracker as of 12 November, 212 still marked vulnerable17
PHP is also embedded in appliances, network devices, management interfaces and other vendor products where administrators may not be able to update PHP directly.
The list reads like a typical server room. It includes firewalls and remote-access gear (Palo Alto Networks PAN-OS and Panorama, Check Point gateways, Citrix NetScaler ADC and Gateway, F5 BIG-IP, pfSense, OPNsense), storage (NetApp ONTAP 9, QNAP and Synology NAS software), security and IT management tools (Trend Micro Apex Central, Quest KACE) and hosting control panels (cPanel, Plesk)17. Most of these now have vendor fixes17. The point is that each one needed a fix, and someone had to apply it.

In an appliance you usually cannot run the PHP update yourself. You wait for the vendor's fix, and exposure often hinges on a feature you would not call a website. For Check Point, it depends on whether features such as the Mobile Access Portal, remote-access VPN with SSL Network Extender or SAML sign-in, the Identity Awareness captive portal or UserCheck are turned on15. Hosting panels add a layer: cPanel and Plesk patch hosted-site PHP separately from the PHP that runs the panel17.
End-of-life PHP is the multiplier
Old PHP is common. Among the sites W3Techs sees running PHP, 24.8% use version 7 and 7.3% use version 5, as of 17 November 20265. Every PHP 7 branch is past end of life: 7.4, the last, stopped receiving fixes on 28 November 2022. The 8.0 and 8.1 branches have ended too, 8.1 on 31 December 202519.
Appliances carry old branches too. Check Point's hotfix note says it implements the fix PHP published for 7.415, a branch the project retired in 202219. Where nobody backports, there is no fix. Synology rates its PHP 7.3 package critical and says no fix will be provided because the version is end of life21. CISA goes further: if a PHP system cannot be updated now, or runs 8.1 or older, it advises taking that system offline until it is fixed18.
The next deadline is close. PHP 8.2 receives its last security fixes on 31 December 2026220, and PHP 8.6.0 is planned for general release on 19 November 202622.
What we tell clients: an end-of-life runtime is acceptable only when a named vendor has committed in writing to backport security fixes and you can see the build that contains them. Otherwise it is a migration project that needs an owner and a date. Olympas's cybersecurity team builds this kind of inventory with operators, including the appliances that never show up on a software list.
What to do now
- Find PHP everywhere, not only on web servers. Cover appliances, NAS units, management consoles, containers, hosted sites and custom applications; CISA's inventory advice includes PHP embedded in other software18. Check your asset list against the NCSC-NL tracker, which does not cover custom code17.
- Patch the edge first. Firewalls, VPN gateways and anything with an internet-facing portal or management page come before internal sites. Take management interfaces off the internet and limit them to trusted addresses, as Palo Alto Networks and Singapore's CSA advise1112.
- Update your own PHP, then restart it. Move to 8.5.12, 8.4.27, 8.3.36 or 8.2.35, or your distribution's patched package, and restart every PHP worker1. Then turn off session upload progress (session.upload_progress.enabled=0) until PHP's next regular release: its 23 October advisory says this closes a further, less likely route that the 21 October updates leave open23.
- Hunt if you patched late. A patch does not evict an intruder. Amazon advises starting investigations from 17 October, not the disclosure date6. Watch for web server processes that launch shells or fetch tools18. Check Point owners should work through the indicators in its 12 November advisory13.
- Ask every vendor and host four questions. Does the product include PHP, and which branch? Which build fixes both CVEs? Is that build running on our systems today? If the branch is end of life, who backports security fixes, and until when?
- Put a date on end-of-life PHP. List everything on 8.2 or older. Security support for 8.2 ends 31 December 202620, and anything on 8.1 or earlier needs a vendor backport or an upgrade plan now119.
Sources
- 01Security advisory: Critical remote code execution vulnerabilities, update nowThe PHP Group ·
- 02PHP 8.2.35 ReleasedThe PHP Group ·
- 03RCE via OOM corruption (GHSA-w8hw-w9fx-j79w, CVE-2026-109618)The PHP Group on GitHub ·
- 04RCE via stale global state (GHSA-6wmf-4rv5-p3rp, CVE-2026-109619)The PHP Group on GitHub ·
- 05Usage Statistics and Market Share of PHP for Websites, November 2026W3Techs ·
- 06Amazon Threat Intelligence identifies PHP2Shell exploitation prior to public disclosure in MadPotAmazon Web Services Security Blog ·
- 07Threat Brief: Critical Vulnerabilities in PHP: CVE-2026-109618, CVE-2026-109619 (Updated October 29)Palo Alto Networks Unit 42 ·
- 08Oct 21 Advisory: php2shell - PHP Unauthenticated Remote Code Execution [CVE-2026-109618, CVE-2026-109619] (Updating Live)Censys ·
- 09CISA Adds Two Known Exploited Vulnerabilities to CatalogCybersecurity and Infrastructure Security Agency ·
- 10Known Exploited Vulnerabilities Catalog (entries for CVE-2026-109618, CVE-2026-109619, CVE-2026-46300 and CVE-2026-123039)Cybersecurity and Infrastructure Security Agency ·
- 11CVE-2026-109618 Impact of Critical Vulnerabilities in PHP (CVE-2026-109618, CVE-2026-109619) on Palo Alto Networks ProductsPalo Alto Networks ·
- 12Active Exploitation of PHP2Shell Vulnerabilities Affecting Network and Security Products (AL-2026-157)Cyber Security Agency of Singapore ·
- 13Security Advisory: Active Exploitation of PHP2Shell and Local Privilege EscalationCheck Point Software ·
- 14PHP2Shell Exploitation on Check Point GatewayCheck Point Research ·
- 15sk1000302: Check Point Response to CVE-2026-109618, CVE-2026-109619, CVE-2026-115560Check Point Software ·
- 16CISA Adds Two Known Exploited Vulnerabilities to CatalogCybersecurity and Infrastructure Security Agency ·
- 17php2shell vulnerabilities (CVE-2026-109618, CVE-2026-109619): operational information and software listNCSC-NL on GitHub ·
- 18Critical Vulnerabilities in PHP Require Immediate Patching (updated 26 October)Cybersecurity and Infrastructure Security Agency ·
- 19Unsupported BranchesThe PHP Group ·
- 20Supported VersionsThe PHP Group ·
- 21Synology-SA-26:14 PHP2ShellSynology ·
- 22PHP 8.6.0RC7 available for testingThe PHP Group ·
- 23Informational advisory: Session upload progressThe PHP Group ·
Start a project
The notes come from the work. The work starts with a conversation.
Tell us the problem in your own words. If it is close to something we have written about, say so.
A real engineer will read it and reply, usually within one business day.
Olympas LLC · 111 Calvin St, Savoy, IL · From global supply chains to the shop counter

