nginx, PHP, Fastify: urgent patches as AI agents speed up exploits
Week 47 brought critical flaws in nginx, PHP and Fastify. Several reports also show AI agents speeding up how vulnerabilities are found and exploited.
Key points
- Offensive AI agents: Google, Amazon and Calif describe agents that find or exploit flaws with little or no human help.
- Project Zero: Google will cut its disclosure deadline to 30 days in stages by 2028, and cites AI as the reason.
- nginx, PHP, Ruby and Fastify: critical memory and routing flaws call for fast updates.
- Supply chain: an official Microsoft package on PyPI, Docker Hub images and Optimizely scripts were all used to steal secrets.
- GPT-6.2 and Gemini 4 Neon: OpenAI and Google compete on price per task, while new tools cut the context sent to agents.
AI agents shorten the time to exploitation
The Google Threat Intelligence Group found exploit_agent. The tool compares a web application before and after a patch, then writes the exploit and runs it. The report counts 8 exploited zero-days per month in 2025, against an average of 11 in 2026.
Amazon describes agents launched with Cairn, an open-source penetration testing tool. After several failures, they exploited a path traversal in MONAI Label and gained root access. A human stepped in occasionally, and the details come from a single source.
Java4Shell is a flaw in OpenJDK’s Base64 decoding. According to Calif, it was found with Codex for less than 200 dollars of compute. Project Zero cites this kind of threat for its new rule: details are published after a fixed deadline, patched or not:
- 90 days from now on;
- 60 days from February 2, 2027;
- 30 days from January 3, 2028.
For you: automate dependency updates (Dependabot, Renovate), and reduce any uploaded filename to its base name or generate it on the server.
nginx, PHP, Ruby and Fastify: the server layer under pressure
On November 18, F5 disclosed five critical nginx flaws, each rated 9.2 in CVSS v4. The main one sits in HTTP/2 flow control and dates back to version 1.9.5, released in 2015. According to Wiz, disabling HTTP/2 blocks only two of the five flaws.
Fixed versions released this week:
- nginx: 1.30.7 and 1.31.9;
- PHP: 8.2.36, 8.3.37, 8.4.28, 8.5.13 and the new 8.6.0;
- Ruby: 4.0.10, 3.4.13 and 3.3.14;
- @fastify/express: 4.0.10, then 4.0.11, which also changes middleware ordering.
On the PHP side, phpAfterShell uses a half-written session file to get a booby-trapped object deserialized. Almost all the flaws require a non-standard configuration, and no real-world attack has been reported. PHP 8.6 turns on strict mode, HttpOnly and SameSite=Lax for session cookies by default, unless an older php.ini sets other values.
In @fastify/express, Fastify’s router and the Express middleware router do not always read a path the same way. A request to /tenant/ could skip the auth middleware and still reach the handler. This class of bug, called a “parser differential”, also affects proxies and firewalls.
For you: check your versions with
nginx -V,php -vandnpm ls @fastify/express, then fully restart nginx after updating, because a plain reload leaves the old binary running.
Supply chain: secrets stolen within seconds
On November 17, two poisoned versions of agent-framework were published on PyPI. This Python library is Microsoft’s official tool for AI agents. According to Wiz, a .pth file ran at Python startup, with no import needed, and stole Azure, Git, Docker and Hugging Face credentials.
Stony Brook University’s study “Gone in 8 Seconds” measured how fast this happens using honeypot Docker images:
- first use of a key: 7.86 seconds after publication;
- half of the keys used within 51 seconds;
- all 100 AWS keys exploited within 15 minutes.
The bots read image layers directly, so a file deleted in a later layer can still be read. According to Report URI, which sells monitoring tools, Optimizely’s A/B testing scripts delivered malicious code to 178 organizations. Dragos, a single source, reports that three model hosting providers were breached. In two cases, even “zero data retention” requests were stolen.
For you: keep secrets out of Dockerfiles and prompts, use
RUN --mount=type=secret, and pin Python dependencies with hashes (pip install --require-hashes).
Models and agents: the cost-per-task race
OpenAI launched GPT-6.2 Astra and Sol on November 17. Google followed the next day with Gemini 4 Neon. The vendors published the performance claims themselves, and no one has verified them independently.
Price per million tokens, input then output:
- GPT-6.2 Astra: $8 and $40;
- GPT-6.2 Sol: $2 and $10;
- Gemini 4 Neon: $3 and $15, with a one-million-token context window.
Other tools aim to cut the context sent to agents. By its own measurements, TokenEconomizer, an open-source module from Microsoft Research, lowers average cost per task by 18.4% to 30.9%. Gemini Tool Retrieval, in preview, loads a tool’s schema only when the model needs it. Google publishes no savings figure.
For you: mark rarely used tools with
defer_loading: truein the Gemini API, and keep a project notes file (AGENTS.md, CLAUDE.md) up to date so agents do not repeat work already done.
Weekly analysis
Several of the week’s major flaws sit in old C or C++ code: nginx, Ruby’s regex engine and the JVM’s JIT intrinsic. Agents can now turn a patch into an exploit, and Project Zero uses this to justify shorter deadlines. For a Node.js, PHP or Vue.js stack, how often dependencies and servers get updated therefore matters more.
The supply chain incidents share one target: secrets, whether CI tokens, cloud keys or model API keys. NEXUS, Melchior JORDA’s self-hosted assistant, combines a Fastify API, Docker and calls to Gemini or Claude, so it has all three surfaces. The @fastify/express flaw would only affect it if it reused Express middleware.
It remains to be seen whether the gains claimed by OpenAI, Google and Microsoft hold up outside their own benchmarks. It is also worth tracking how many machines installed the poisoned agent-framework versions.
Sources
- Google Threat Intelligence Group (external link) — cloud.google.com
- AWS Security Blog (external link) — aws.amazon.com
- Calif – Java4Shell (external link) — calif.io
- Project Zero (external link) — projectzero.google
- Wiz – nginx (external link) — wiz.io
- Ruby (external link) — ruby-lang.org
- The Hacker News – PHP (external link) — thehackernews.com
- PHP RFC – Session security defaults (external link) — wiki.php.net
- Fastify – avis GHSA-662w (external link) — github.com
- Wiz – agent-framework (external link) — wiz.io
- BleepingComputer – Docker Hub (external link) — bleepingcomputer.com
- Report URI – Optimizely (external link) — blog.report-uri.com
- Dragos (external link) — dragos.com
- OpenAI – GPT-6.2 (external link) — openai.com
- Google – Gemini 4 Neon (external link) — blog.google
- Microsoft Research – TokenEconomizer (external link) — microsoft.com
- Google – Gemini API Tool Retrieval (external link) — blog.google