DN · 001 Daily News

PHP Was Attacked Before the Fix | Dev News Oct 24, 2026

PHP Was Attacked Before the Fix | Dev News Oct 24, 2026

The five developer stories of the week, in four minutes: what happened, why it matters, and what to do. 1. PHP2Shell: two critical flaws in PHP itself, found with help from AI models, and attacked four days before the fix. Update to PHP 8.5.12, 8.4.27, 8.3.36 or 8.2.35. 2. Node.js fixes 10 security bugs, 4 of them high, including a Brotli decoder bug. Update to 22.23.4, 24.22.1 or 26.12.1, and rebuild images that ship Node. 3. OpenCode, an open-source AI coding agent, quietly fixed a code-execution flaw on Windows and WSL with no CVE. Check that you're on 1.18.33 or later. 4. TypeScript 7.1 beta opens the Go-native compiler to editor tooling and to Vue, Svelte, Astro and MDX files. 5. DuckDB 2.0 can run as a server, adds an agent mode, and is supported until at least October 2027. DuckDB 1.4 support ends November 17.

Chapters

Sources

Transcript

This week, AI models helped researchers find two critical bugs in PHP, the language behind most of the web. Then, on October 17th, four days before the fix shipped, a honeypot run by Amazon caught someone already trying to exploit them.

This is Just Known Daily, for Saturday, October 24th. It's our first episode, so here are the five developer stories of the week. PHP rushes out fixes for two flaws that were already under attack. Node.js patches ten security bugs on the same day. An AI coding agent quietly fixes a serious hole.

TypeScript 7.1 reaches beta. And DuckDB 2.0 arrives, with long-term support. Let's start with PHP. On Wednesday, the PHP project shipped emergency fixes for two critical flaws in PHP itself, not in a framework or a plugin. Researchers are calling them PHP2Shell.

Both give an attacker remote code execution on your server. The risk is highest on Apache's mod_php, where a request with no login can trigger the attack before any of your own code runs. But every PHP that serves web pages is affected, including PHP-FPM and FrankenPHP. Here's the twist: AI helped find them. One flaw was found by a security firm using an OpenAI model, and researchers at Wiz found both, also with AI's help.

But attackers weren't far behind. Amazon's honeypots caught an exploit attempt on October 17th, four days before the fix. Since then, Cisco has confirmed affected products, and Palo Alto's firewall fixes are due next week. So check your version. Every supported branch, from 8.2 to 8.5, has a fixed release, and older versions can get backports.

If you can't patch yet, the UK's cyber agency says to consider taking the system offline. The same day, Node.js shipped its own security releases: ten fixes, four of them rated high. The worst is in the Brotli decompressor that comes bundled with Node. Feed it untrusted compressed data, and it can write past the end of a buffer. That can crash your app, leak memory, or run an attacker's code.

Two more of the highs let odd spellings of an IP address slip past TLS certificate checks. And DNS lookups could be cut short at a hidden null byte. Update to the latest 22, 24 or 26 release, on screen now. Node 20 and older get no fix. And if Node ships inside a Docker image, upgrading the host isn't enough: rebuild the image.

Next, a warning for anyone using AI coding agents. Pillar Security disclosed a critical flaw in OpenCode, an open-source coding agent. On Windows and WSL, connecting to a malicious MCP server could run code on your machine as soon as you signed in to it. No extra click. Pillar reported it privately in August.

According to Pillar, the vendor answered that malicious MCP servers were outside its threat model, then fixed it quietly in late September, with no CVE and no advisory. So tools that scan for CVEs will never flag an old install. Check your version by hand. And treat every MCP server you connect like a dependency: it's code you're choosing to trust. In releases, TypeScript 7.1 is in beta.

It's the first feature release since 7.0 moved the compiler to Go, which made builds often about ten times faster than 6.0. The big change is for tools. 7.1 brings an API that editor tooling, like Volar for Vue, can build on, and a plugin point so Vue, Svelte, Astro and MDX files can use the fast compiler too. Try it on a branch first. The release notes list two changes that can break a build that passes today.

And DuckDB 2.0 is out. The team calls it their biggest release yet, with close to twenty thousand commits since version 1.5. The headline: DuckDB can now run as a server, through a new client-server protocol called Quack. There's also asynchronous I/O, a flexible VARIANT type, and triggers. And there's an agent mode: when an AI agent drives the command line, DuckDB switches to compact output.

In DuckDB's own tests, that cut what the model had to read by 59 percent. It's a long-term support release, supported until at least October 2027.

That's what's known today. Every source is linked in the description, and if you run PHP or Node, patch now. This is Just Known Daily. From unknown, to known. See you tomorrow.

Narration voice generated with Google Gemini text-to-speech.