Iñigo Aldama

Anyone could get into your server without a password. And they knew four days before you did

October 24, 2026 · 2 minutes · Episode 1 of “In 30 seconds”

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:

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

  1. Update now to 8.5.12, 8.4.27, 8.3.36 or 8.2.35, depending on your branch.
  2. 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.
  3. For the third flaw: session.upload_progress.enabled = 0 until the next release.
  4. 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)

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)

More “In 30 seconds” episodes: aldama.net