Anyone could get into your server without a password. And they knew four days before you did
Some weeks your coffee goes cold on its own. This was one of them.
The big one: PHP2Shell
On Tuesday, October 21, PHP shipped emergency patches for two flaws, CVE-2026-109618 and CVE-2026-109619, already nicknamed PHP2Shell. In plain words: someone from outside, with no username or password, can run code on your server. Rated 9.2 out of 10. Not much more to explain.
Three details make it worse:
- The attacks came before the patch. Amazon saw exploitation attempts from October 17, four days before the official advisory.
- Your login won't save you. The flaw lives in the interpreter, underneath your application. However good your authentication is, it never gets a say.
- Millions of servers are exposed. PHP runs a huge share of the web, from your brother-in-law's blog to platforms billing millions.
And just in case, on Thursday the 23rd PHP warned about a third issue (CVE-2026-115560). It's minor and only affects unusual session setups, but it comes with its own recipe.
What to do, in 30 seconds
- Update now to 8.5.12, 8.4.27, 8.3.36 or 8.2.35, depending on your branch.
- Still on 7.4, 8.0 or 8.1? PHP has only published the fix as source code; it depends on your distribution packaging it. This is the nudge you've been dodging for years.
- For the third flaw:
session.upload_progress.enabled = 0until the next release. - Check your logs from October 17, not from the 21st. If someone got in, they got in before any of us knew.
Confession: my personal project was already running 8.5.12 when the news broke. Not foresight. Just Docker images pinned to a version and a deploy that rebuilds by itself. Boring wins again.
What else happened (and got fewer headlines)
- Laravel: a 9.2 flaw (CVE-2026-114509) lets attackers bypass API token authentication, and there's a public proof of concept. If you use TokenGuard, update.
- GitLab: a maximum-severity flaw (CVE-2026-110264) allows unauthenticated code execution on self-managed instances. The root cause is an integer overflow in the regular-expression engine, and it goes back to version 7.0.
- Microsoft: October's Patch Tuesday broke records, with over a thousand fixes and three zero-days. Exact counts vary depending on who's counting.
Try it yourself
There's a lab so you can check this on your own machine, isolated, with Docker. docker compose up brings up two PHPs, one vulnerable and one patched, and you'll see the same check give opposite results. The comprobar.sh script also works on your own server: it compares your version against the patch table and checks whether session.upload_progress is on. And revisar-logs.sh helps you look for signals in your access logs from October 17.
This is as far as it goes, and why. The lab detects whether you're exposed and confirms the patch closes the hole. It does not reproduce the attack. PHP2Shell is a memory bug that was being actively exploited, and staging the "effect" would mean writing the request that triggers an unauthenticated RCE. Third-party proof-of-concepts are public, but publishing a reusable weapon for an active flaw helps attackers, not defenders. What you need as an administrator is to know whether you're at risk and to verify the patch. That's what it does.
Code and instructions: github.com/inigoaldama/en-30-segundos-labs.
The moral
No company falls to a zero-day nobody knew about. It falls to the patch it left "for Monday". Pin versions, automate deploys, and have a way to update in ten minutes on a Tuesday afternoon. The rest is luck.
Iñigo Aldama · aldama.net
Sources: CISA · Datadog Security Labs · Help Net Security · The Hacker News (third advisory) · The Hacker News (Laravel) · Cybersecurity News Review, week 43 · BleepingComputer (Patch Tuesday)