On Tuesday, October 20, 2026, two PHP vulnerabilities leaked ahead of the scheduled coordinated disclosure. PHP runs about 70% of websites, by W3Techs’ count. The vulnerabilities were CVE-2026-109618 and CVE-2026-109619, together known as PHP2Shell. Both are remote code execution vulnerabilities, or RCE. An attacker can use either one to run their own commands on your server without a password. The PHP project said fixed versions would ship the next day at 14:00 UTC. Security vendors were already reporting attack attempts.
I run several servers for . One of them had two internet-facing services that use PHP. Both were on fixed PHP a little over nine hours after I started, and an allow-list at the reverse proxy covered most of the time before that.
Incident Scope
Two services on the host ran PHP and faced the internet. is the self-hosted control plane that deploys every other app on the host, and anyone on the internet could reach its PHP login page. The other was a project-management app behind single sign-on (SSO), except for one API route that bypassed it.
The control plane was the highest risk. It has the Docker socket, the host’s SSH keys and the secrets of every app it deploys. Exploiting PHP2Shell against the control plane would give full control of the server. Code execution in the project app would give an attacker that app, its database and a foothold on the internal network.
PHP patches had not yet shipped. The prevailing advice on Reddit and Hacker News was to turn off session upload progress in PHP and to limit file uploads. I turned off upload progress at 11:24, after the allow-list was already up.
Timeline
Times are UTC, from my notes. A tilde (~) marks a time I logged as approximate. In the diagram, red dots run the flawed PHP, hollow dots run no PHP, and solid dark dots are patched. The dashed circle is the allow-list at the reverse proxy, the service that sits between the internet and the apps.
Rings are ordered by blast radius: whoever controls the inner ring controls everything outside it.
Oct 20
Vulnerabilities Leaked
Details of two PHP flaws leak. The PHP project announces a security release for 14:00 UTC the next day.
In the diagram: all services are gray; nothing is ranked yet.
11:10 UTC
Read-Only Inspection
I start with a read-only investigation. I look for any containers with PHP, review PHP settings, and review reverse proxy routes.
In the diagram: the two PHP services turn red; the other services are hollow.
11:10–11:20 UTC
Risk Prioritization
The deployment platform holds the Docker socket, so if it falls, every app on the host falls with it. It goes first and the project app second.
In the diagram: the inner ring, the control plane, is highlighted.
~11:20 UTC
Proxy Allow-List Deployed
There is no patch, so I restrict access in the interim. Two new rules at the reverse proxy take effect without a restart. The dashboard now answers only my workstation. Webhooks from my Git server and from GitHub still get through, each on its own path. The API route that skipped sign-in now goes through the SSO gate.
Everyone else gets 403 Forbidden before the request reaches PHP. At about 11:22 I test from each source, and each one gets the answer it should.
In the diagram: a dashed wall appears around all three rings.
11:24 UTC
Upload Progress Disabled
I turn off session upload progress in the deployment platform with a small PHP settings file, and recreate its container. PHP now reports the setting as Off.
In the diagram: the status list shows upload progress off.
~11:29 UTC
Rollback Held for Approval
I do this work with a coding agent. The recreated container comes up unhealthy: the deployment files on disk are for a newer release than the one that runs. The agent proposes to put back the older files and recreate the container again. Its permission check blocks that change and waits for me.
The dashboard, its API and every hosted app still work. A hurried rollback on a live control plane is the bigger risk, so the change waits. It is never needed: the patched upgrade that evening replaces the container.
In the diagram: a flag reads: agent waits for me.
14:00 UTC
PHP Fixes Released
PHP releases 8.2.35, 8.3.36, 8.4.27 and 8.5.12. Now I wait for the projects that package PHP. The deployment platform and the app image each have to ship a build on a fixed version.
In the diagram: the timeline reaches the release marker.
14:50–15:10 UTC
Second Server Reviewed
Another server I run also has PHP. It is not published to the internet: there are no port forwards and no remote-access features turned on. An attacker would need a foothold inside the network first. I inspect it read-only: the PHP processes, their child processes and the logs I have. I find no sign of misuse.
In the diagram: the status list shows the second server checked.
17:07–17:52 UTC
Control Plane Patched
At 17:07 the project app redeploys without the route that skipped sign-in. That gap is now closed in the app’s own configuration as well as at the proxy. At 17:52 the deployment platform upgrades to , built that day on PHP 8.4.27. The container is healthy.
In the diagram: the inner ring and its dot turn solid: patched.
18:16 UTC
Allow-List Retested
The upgrade moved one internal service to a new name. My edge rule for it still pointed at the old name, so the proxy dropped that rule. I fix it, then test again from outside the allow-list. The dashboard, its live updates and its terminal all answer 403, and the webhooks still arrive.
In the diagram: no change: the wall stays in place.
20:24 UTC
Project App Patched
The project app’s maintainers publish their image again on PHP 8.3.36. I redeploy it. The container is healthy, every page and the API go to the sign-in page first, and upload progress stays off. Both PHP services now run fixed versions, a little over nine hours after I started.
In the diagram: both rings and both PHP dots are solid: everything is patched, and the wall stays.
Containment
The allow-list mitigated most of the risk. It took about ten minutes, needed no patch and no restart, and stopped every request from an unknown address before it reached PHP.
I use Traefik as my reverse proxy. Traefik reads extra rules from files and picks them up without a restart, which is what made this a ten-minute fix. I left the existing routes alone and added one new file. It matches the same hostname at a higher priority, so its rules are checked first, and it puts an allow-list in front of the dashboard. Here is the pattern, with documentation addresses and an example domain:
# Matches the dashboard's hostname at a higher priority than the existing
# routes, so these rules win. Unknown sources get 403 before PHP runs.
http:
middlewares:
admin-only:
ipAllowList:
sourceRange:
- 198.51.100.7/32 # my workstation
github-hooks:
ipAllowList:
sourceRange:
# Stand-ins: copy the real "hooks" ranges from api.github.com/meta.
- 192.0.2.0/26
- 203.0.113.64/27
routers:
dashboard-guard:
rule: Host(`deploy.example.com`)
priority: 2000
entryPoints: [https]
middlewares: [admin-only]
service: dashboard@docker
tls: {}
github-webhooks:
rule: Host(`deploy.example.com`) && PathPrefix(`/webhooks/github/`)
priority: 2100
entryPoints: [https]
middlewares: [github-hooks]
service: dashboard@docker
tls: {}
Allow-List Checks
- Confirm the proxy sees the real client address. If it only sees an internal address, an allow-list lets in everyone or no one. My workstation’s single address matched, which proved the real addresses arrived.
- Give webhooks from your Git server and from GitHub their own routes. GitHub publishes its webhook source ranges at
api.github.com/meta. Copy them when you write the rule, and refresh them later. - If your own address changes, the dashboard answers 403 to you too. Know how to reach the server another way, and which line to edit.
- Test from the allowed address, from a refused one and from each webhook source, and test again after every upgrade.
User Notification
The same day I also sent a short notice to the people who use these services. It told them they were safe, that they did not need to do anything, and to expect scam emails. Here it is, lightly edited for this page.
On October 20, details leaked about a serious flaw in PHP. PHP is software that runs most of the websites in the world. The flaw lets attackers take control of a website without a password, and attacks have already started.
The services you use are safe. Your portal, chat and sign-in do not use PHP. I closed my two internal PHP tools to the internet within hours, and I found no sign of misuse. You do not have to do anything.
The rest of the internet is at risk. Many stores, blogs and other sites that you use will be slow to install the fix. Attackers will steal data from them and use it in fake emails.
To stay safe:
- Do not click links in unexpected “security update” or “reset your password” emails.
- Use a different password for each account, and turn on two-step sign-in.
- If you own a website, ask your web host if it uses PHP and has the October 21 fix.
I will never ask for your password or send you a link to fix this. If a message from me looks wrong, call the number that you already have for me.
I left out version numbers, the list of systems and any promise that nothing can go wrong. Most readers only need to know whether they have to act, and the second paragraph answers that. The rest prepares them for the scam emails, which will reach far more of them than the flaw itself.
Conclusion
The proxy allow-list covered both services from about 11:20 until their patched builds went live at 17:52 and 20:24, and it is still in place. The 17:52 upgrade renamed an internal service and broke one of its rules, and the retest at 18:16 caught it.
References
- PHP project, “Upcoming Critical PHP Security Release”, October 20, 2026, as quoted on the oss-security mailing list.
- Help Net Security, PHP2Shell vulnerabilities patched (CVE-2026-109618, CVE-2026-109619), October 21, 2026.
- Qualys, PHP announces critical security release for two vulnerabilities, October 20, 2026.
- GitHub, meta API, for webhook source ranges.
- W3Techs, usage statistics of PHP.