> ## Content Index
> Fetch the complete content index at: https://blog.carlos.ec/llms.txt
> Use this file to discover other available public pages before exploring further.

# PHP, Node.js and the AI security race: how fast can we fix it?
- URL: https://blog.carlos.ec/php-node-litellm-security-edition-2026-10-23/
- Published: 2026-10-23T18:59:30.000Z
- Updated: 2026-10-23T18:59:30.000Z
- Description: PHP2Shell, Node2Shell and a poisoned LiteLLM release made this a rough security week. AI is changing the pace. Our ability to find affected systems and deploy verified fixes has to keep up.
- Author: Carlos Bracho
- Tags: Explainer, Security, PHP, Node.js, AI, Publishers

This was a rough security week. It also felt like a preview of how we will have to operate as AI becomes better at finding weaknesses in the software we all depend on.

On 21 October, PHP and Node.js released urgent security updates. The same day, LiteLLM disclosed a compromised release containing malware. Those are separate events, with different causes and different recovery steps. Together, they made an uncomfortable week for anyone responsible for websites, publishing tools or AI services.

My concern is the gap between discovering a serious flaw and getting a verified fix into production. With capable AI models helping security researchers and potentially attackers, I want that gap to be as short as we can safely make it.

Here is my Security Edition, checked against the public advisories available on 23 October 2026.

## The week in a minute

PHP2Shell: two critical PHP vulnerabilities can allow attackers to execute code without authenticating. Patched releases arrived on 21 October, followed by a narrower configuration advisory today.

Node2Shell: malformed Brotli-compressed data can corrupt memory in vulnerable Node.js processes. The application must actually decompress attacker-controlled data; an HTTP response fetched from elsewhere can be the route in.

LiteLLM: version 1.107.0 was published with malicious content after a release-pipeline compromise. Anyone who ran an affected artifact needs to consider credential exposure and incident response, beyond installing a clean version.

**Sources:** [PHP — critical security advisory, 21 October](https://www.php.net/archive/2026.php?ref=blog.carlos.ec#2026-10-21-5); [PHP — session upload progress follow-up, 23 October](https://www.php.net/archive/2026.php?ref=blog.carlos.ec#2026-10-23-1); [Node.js — October security releases](https://nodejs.org/en/blog/vulnerability/october-2026-security-releases?ref=blog.carlos.ec); [LiteLLM — 21 October release compromise](https://docs.litellm.ai/blog/security-incident-oct-21-2026?ref=blog.carlos.ec); [GitHub Advisory Database — malicious LiteLLM versions](https://github.com/advisories/GHSA-92x9-889m-jgmw?ref=blog.carlos.ec)

## PHP: the problem can begin before your application

The two flaws, CVE-2026-109618 and CVE-2026-109619, sit in PHP itself. In the first, memory can run out halfway through preparing a request, leaving incomplete data that cleanup later trusts. In the second, a worker can reuse a reference to memory from an earlier request after that memory has been freed. Both can lead to memory corruption and code execution.

PHP's advisories describe demonstrated unauthenticated remote code execution against Apache with mod\_php, before application code began running. The PHP Foundation also confirms execution through application-level paths in PHP-FPM. Operators of php-cgi, FrankenPHP and LiteSpeed are also urged to update. The conditions vary; these reports do not establish an identical working exploit against every deployment.

Amazon Threat Intelligence reports that its MadPot sensors recorded a PHP2Shell exploitation attempt on 17 October, before public disclosure, and more attempts around the release. It says analysis is ongoing and it is unclear whether those attempts would have succeeded against real systems. That is evidence of hostile activity, not a list of confirmed corporate victims.

That matters to me from a publisher perspective. Reviewing a CMS plugin or strengthening a login screen cannot repair a flaw in the runtime beneath it. The component receiving and preparing the request also needs a place in the inventory.

The fixed upstream releases are PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12\. Distribution or commercial vendors may backport the fixes, so check their package advisory as well as the visible version. PHP's warning is clear: temporary measures do not replace the update.

There is a fresh detail today, 23 October. PHP recommends disabling session.upload\_progress.enabled while it prepares the next scheduled bugfix, addressing an additional, unlikely execution path, tracked as CVE-2026-115560\. It requires upload progress to remain enabled and an application to switch its session serializer from php\_binary or php\_serialize to php at runtime before starting the session. PHP explicitly allows the feature to stay enabled where the application keeps the same session serializer throughout execution.

I would include that configuration check alongside the upgrade. Wednesday's patched version is essential, but Friday's follow-up still deserves a read.

**Sources:** [PHP advisory — CVE-2026-109618](https://github.com/php/php-src/security/advisories/GHSA-w8hw-w9fx-j79w?ref=blog.carlos.ec); [PHP advisory — CVE-2026-109619](https://github.com/php/php-src/security/advisories/GHSA-6wmf-4rv5-p3rp?ref=blog.carlos.ec); [PHP — critical security advisory, 21 October](https://www.php.net/archive/2026.php?ref=blog.carlos.ec#2026-10-21-5); [PHP — session upload progress follow-up, 23 October](https://www.php.net/archive/2026.php?ref=blog.carlos.ec#2026-10-23-1); [PHP Foundation — discovery, fixes and security team capacity](https://thephp.foundation/blog/2026/10/21/todays-php-security-release-and-how-were-strengthening-php-security/?ref=blog.carlos.ec); [Amazon Threat Intelligence — PHP2Shell attempts in MadPot](https://aws.amazon.com/blogs/security/amazon-threat-intelligence-identifies-php2shell-exploitation-prior-to-public-disclosure-in-madpot/?ref=blog.carlos.ec)

## Node.js: the dangerous input can arrive in a response

Node.js published ten vulnerability fixes on 21 October, including DNS and TLS verification issues. The one attracting the Node2Shell name is CVE-2026-111497: an out-of-bounds write in the Brotli decoder, which can cause crashes, memory disclosure or remote code execution.

Brotli is a compression format. The dangerous step is decoding malicious compressed data. Simply serving HTTP with Node.js does not, by itself, trigger that decoding; the application or one of its libraries must reach the vulnerable component.

The easy mistake is to look only at traffic coming into the website. An application can also fetch a response from another server and decompress it. A service that retrieves an external URL therefore deserves attention even if its own request endpoint appears tightly controlled.

Vercel says it deployed firewall rules on 21 October and is rolling patched versions across its managed runtimes. Its advisory explicitly separates those protections: the firewall covers traffic passing through Vercel, not responses a function fetches from elsewhere. The runtime update remains necessary.

For the supported Node.js lines, install 26.12.1, 24.22.1 or 22.23.4, or an appropriate newer fixed release. Node.js 20 users need to move to a supported line. For containers and self-hosted applications, I would check the runtime inside the deployed image and confirm the replacement process is running. A patched laptop says nothing about yesterday's production image.

**Sources:** [Node.js — October security releases](https://nodejs.org/en/blog/vulnerability/october-2026-security-releases?ref=blog.carlos.ec); [Vercel — Node.js security advisory](https://vercel.com/kb/bulletin/node-js-security-advisory?ref=blog.carlos.ec)

## AI is changing the pace. Our response has to keep up.

This is already part of the PHP story. OpenAI credits Calif's research with GPT-5.6 Sol and independent reports from Wiz. The PHP Foundation describes using AI tools to help validate reports and exploits, alongside human investigation and patch development.

The offensive capability is advancing too. In research published on 29 September, Anthropic reported a controlled exercise using Zhipu's GLM-5.3-Flash: an exploit chain took eight hours of model work and around 20 minutes of human attention. Anthropic estimated an API cost of $20.40 at Zhipu's prices. That is a laboratory result, not a measurement of how quickly every real attacker can exploit every new bug. It shows why relying on a long delay after disclosure is a weak operating assumption.

Amazon's assessment is that AI-assisted analysis lowers the effort needed to turn advisory details or a patch into an exploit. Its report does not establish that AI produced the PHP2Shell attempts it observed. For operators, the sensible assumption is that the time available to respond may be short.

My reading is that we are entering a phase where more existing weaknesses can be found, understood and turned into working attacks with less effort. We will keep finding mistakes in frameworks, runtimes and dependencies. Good engineering, testing and prevention remain essential; an expectation of perfect software is a poor response plan.

What I want is readiness: know which services use the affected component, identify an owner, prepare a supported fix, deploy it quickly and verify the running system. Where a patch is not yet available, be able to restrict or isolate the exposed function immediately.

I would measure the time from advisory to exposure assessment, from assessment to deployment, and from deployment to verification. Those timings tell me whether our process can cope with the next urgent disclosure.

The maintainers need capacity too. The PHP Foundation says signs of the memory-exhaustion problem were found in 2024, but work stalled amid difficult engineering trade-offs, decision-making problems and limited resources. It also describes growing report volumes and the human work required to separate valid issues from noise. AI-assisted discovery creates value when people have the resources to turn findings into reliable fixes.

**Sources:** [OpenAI — AI-assisted PHP research and coordinated response](https://openai.com/index/coordinated-disclosure-of-critical-vulnerabilities/?ref=blog.carlos.ec); [PHP Foundation — discovery, fixes and security team capacity](https://thephp.foundation/blog/2026/10/21/todays-php-security-release-and-how-were-strengthening-php-security/?ref=blog.carlos.ec); [Anthropic — September research on advanced cyber capabilities (background)](https://www.anthropic.com/research/glm-5-3-and-the-spread-of-advanced-cyber-capabilities?ref=blog.carlos.ec); [Amazon Threat Intelligence — PHP2Shell attempts in MadPot](https://aws.amazon.com/blogs/security/amazon-threat-intelligence-identifies-php2shell-exploitation-prior-to-public-disclosure-in-madpot/?ref=blog.carlos.ec)

## Which companies confirmed what?

Plesk confirms that the PHP versions shipped with its hosting platform are affected, including the PHP engine used by the panel itself. It lists patched website runtimes and panel fixes in Obsidian 18.0.80 Update 11 and 18.0.81 Update 4\. For some older Linux PHP bundles, the version number stays the same and the build date distinguishes the fix.

Octeth confirms that self-hosted installations through version 6.0.1 contain affected PHP builds. It released version 6.0.2 on 22 October with patched PHP across its web-facing components. Its release announcement says it still has no evidence that an Octeth installation was attacked.

Docusign updated its alert on 22 October. It says the products and services it operates for customers do not rely on PHP, so they are unaffected. Some internal PHP systems needed remediation; its investigation found no indicators of compromise.

Vercel has published mitigation and runtime-upgrade guidance. That is a platform response to a vulnerable dependency, not a disclosure that Vercel was breached.

These statements describe different kinds of impact. I would not turn them into a list of companies that were hacked. The confirmed release compromise in this edition is LiteLLM.

**Sources:** [Plesk — affected PHP bundles and panel fixes](https://support.plesk.com/hc/en-us/articles/44397729587351-Vulnerability-CVE-2026-109618-and-CVE-2026-109619-PHP2Shell-Remote-code-execution-in-PHP-shipped-with-Plesk?ref=blog.carlos.ec); [Octeth — PHP2Shell security notice](https://octeth.com/security-notice-php2shell-and-what-we-are-doing-about-it/?ref=blog.carlos.ec); [Docusign — updated PHP2Shell alert, 22 October](https://www.docusign.com/trust/alerts/alert-php2shell-vulnerability?ref=blog.carlos.ec); [Vercel — Node.js security advisory](https://vercel.com/kb/bulletin/node-js-security-advisory?ref=blog.carlos.ec); [LiteLLM — 21 October release compromise](https://docs.litellm.ai/blog/security-incident-oct-21-2026?ref=blog.carlos.ec); [Octeth — 6.0.2 released with the PHP2Shell fix, 22 October](https://octeth.com/octeth-v6.0.2-the-php2shell-fix-an-ai-assistant-connector-and-a-new-staff-area/?ref=blog.carlos.ec)

## LiteLLM: when the update itself carries malware

LiteLLM's incident report says its release pipeline was compromised on 21 October. Version 1.107.0 reached PyPI and container registries with code designed to steal credentials and load further malicious code. The maintainers say the incident was contained, while their investigation remained open.

The important technical distinction is between source and artifact. In this incident, the legitimate GitHub tag was clean; the files distributed to users came from a repository controlled by the attacker, according to LiteLLM. Reviewing that legitimate tag would therefore have missed what users actually downloaded.

LiteLLM says customers using its private enterprise release registry were not affected. That statement does not establish the status of every organisation using the open-source package.

For exposed environments, its guidance goes beyond changing a dependency: treat affected execution environments as compromised, rebuild cleanly and rotate credentials they could access. It also warns against starting with pip inside an affected environment, because starting Python can execute the malicious startup files again.

For me, this is the sharpest AI lesson of the week. A gateway can hold valuable provider credentials. The trust placed in its release process deserves as much attention as the model behind it.

**Sources:** [LiteLLM — 21 October release compromise](https://docs.litellm.ai/blog/security-incident-oct-21-2026?ref=blog.carlos.ec); [GitHub Advisory Database — malicious LiteLLM versions](https://github.com/advisories/GHSA-92x9-889m-jgmw?ref=blog.carlos.ec)

## What I would check before the weekend

Start with an inventory of running software: public websites, administrative tools, background jobs, build systems and container images. Ask suppliers which runtime and package builds are deployed, rather than accepting a general statement that updates are enabled.

Prioritise exposed PHP services and Node.js applications handling untrusted compressed data. Apply vendor-supported patches, rebuild where necessary and restart or redeploy the affected processes. Confirm the version or backported package in the live service, then check that the application still works.

Keep temporary restrictions tied to a patch plan. ENISA's joint statement recommends prioritising internet-facing PHP systems and considering isolation where immediate remediation is not possible. A firewall rule or disabled feature needs a clear account of what it covers.

If a malicious LiteLLM artifact ran, use the incident-response path. Preserve relevant evidence, rebuild from trusted artifacts and rotate exposed credentials from a clean environment. Patching a vulnerability and removing an attacker are different jobs.

**Sources:** [PHP — critical security advisory, 21 October](https://www.php.net/archive/2026.php?ref=blog.carlos.ec#2026-10-21-5); [PHP — session upload progress follow-up, 23 October](https://www.php.net/archive/2026.php?ref=blog.carlos.ec#2026-10-23-1); [Node.js — October security releases](https://nodejs.org/en/blog/vulnerability/october-2026-security-releases?ref=blog.carlos.ec); [Vercel — Node.js security advisory](https://vercel.com/kb/bulletin/node-js-security-advisory?ref=blog.carlos.ec); [LiteLLM — 21 October release compromise](https://docs.litellm.ai/blog/security-incident-oct-21-2026?ref=blog.carlos.ec); [ENISA — joint statement on critical PHP vulnerabilities](https://www.enisa.europa.eu/news/joint-statement-on-critical-php-vulnerabilities?ref=blog.carlos.ec)

## The capability I want to build

For publishers, this belongs alongside discussions about yield, audience and AI adoption. A new feature has an owner and a launch plan. Its dependencies need an owner and a repair plan too.

I want us to be able to say: we know where this component runs, we know who is responsible, and we can deploy and verify the fix now. That is the capability I would invest in after this week.

Written with AI assistance. Illustration created with AI; the cover is a visual metaphor.