🔍 Read the full analysis: PHP2Shell And Node.js Security: A Patch-and-Restart Action Plan on ThorstenMeyerAI.com
Get the little things that make your day delivered free with Prime
- Fast, free delivery on millions of items
- Prime Video, Amazon Music and more included
- Member-only deals all year
TL;DR
PHP released fixes for two critical remote code execution vulnerabilities, called PHP2Shell, on October 21, while Node.js issued fixes for ten vulnerabilities across supported release lines. Administrators must verify which PHP and Node.js versions are actually running, then patch and restart affected services; cloud provider-managed services and customer-managed workloads have different responsibilities.
PHP released fixes on October 21 for two critical remote code execution flaws known as PHP2Shell, while Node.js issued fixes for ten vulnerabilities across its supported release lines. The releases matter to website and server operators because publishing a fix does not update every deployment: administrators must identify affected runtimes, install patched builds and confirm that services are running them.
The PHP project’s advisories identify CVE-2026-109618, involving out-of-memory corruption, and CVE-2026-109619, involving stale global state. Both are rated 9.2 under CVSS v4.0 and Critical in the cited advisories. The reported impact is unauthenticated remote code execution with the permissions of the web worker account—not automatically root access, but potentially access to files, configuration and database credentials available to that account.
Fixed PHP releases are 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP 8.2 is supported only until December 31, 2026, so operators using it also need to plan a move to a later supported branch. The source says PHP 8.1 and older no longer receive regular project updates; administrators should use a vendor-provided security package or upgrade. PHP 8.6.0 RC4 is a pre-release for testing, not a production fix recommendation.
The PHP advisory covers web-facing deployments including PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed. The source describes a demonstrated unauthenticated attack against mod_php and says the stale-state flaw was validated against mod_php and FPM. It says a complete FPM exploit for the out-of-memory flaw had not been demonstrated; that does not establish that FPM is immune. Node.js also released fixes on October 21, but the supplied source does not list its affected versions or individual flaws.
Infographic 01 · Which PHP version is safe
Four fixed releases. Everything older needs a plan.
PHP fixed CVE-2026-109618 and CVE-2026-109619 on 21 October 2026. Only these releases, or a vendor package that contains both fixes, close the hole.
| Branch | Fixed release | Status | What to do |
|---|---|---|---|
| 8.5 | 8.5.12 | Fixed | Supported branch |
| 8.4 | 8.4.27 | Fixed | Supported branch |
| 8.3 | 8.3.36 | Fixed | Supported branch |
| 8.2 | 8.2.35 | Fixed, EOL soon | End of life on 31 Dec 2026: plan the upgrade now |
| 8.6 pre-release | 8.6.0 RC4 | Testing only | Release candidate, not for production |
| 8.1 · 8.0 · 7.4 | none | No official release | Minimal source backports in php-src; get a vendor/LTS package or upgrade |
| Older (7.3 and below) | none | Unsupported | BSI: all known versions back to at least PHP 5 are affected. Upgrade |
Distribution and LTS packages may carry the fix under an older-looking version number. Check the changelog for both CVE IDs.
Sources: php.net security advisory (21 Oct 2026); GHSA-w8hw-w9fx-j79w; GHSA-6wmf-4rv5-p3rp; BSI warning v1.1.
Powered by Thorsten Meyer AI
Patch the Runtime Actually Serving Requests
The practical risk is a gap between a security release and the code running in production. A package may be updated on disk while a long-running worker continues serving requests with an older runtime until it is restarted. Operators need to check the version used by the actual web service or application process, rather than relying only on a command-line version check or a deployment record.
For PHP, successful exploitation could give an unauthenticated attacker the web worker’s permissions. The consequences depend on what that account can access and how the system is configured. This makes credential storage, file permissions and isolation relevant to the response, but those controls do not replace patching. Node.js operators also need to review their deployed runtime version and follow the applicable release guidance; the supplied material confirms ten fixes but does not establish which configurations are exposed.
Responsibility depends on how the service is hosted. The source says Google Cloud and AWS reported that their own services were not affected, while customers running their own PHP workloads may still need to act. Managed runtimes can receive provider updates, but self-built containers, virtual machines, marketplace images and customer-managed applications generally require an operator-led update and deployment.
Products Worth Considering

Philips Sonicare 5950 Rechargeable Electric Toothbrush with 2 Brush Heads, Pink

LEVOIT Vital 200S-P Smart Air Purifier for Large Rooms up to 1875 ft², Quiet 27 dB Operation, AHAM Verifide, HEPA Sleep Mode, White

Garmin Venu 3 Fitness Smartwatch, 45 mm, Black
As an affiliate, we earn on qualifying purchases.
How PHP and Node.js Updates Differ
The October 21 releases followed an October 20 PHP pre-announcement that scheduled the fixes for 14:00 UTC and described both PHP flaws as Critical, with CVSS v4.0 scores of 9.2. The advisory’s technical descriptions concern PHP request handling: one flaw involves partially initialized request data after an out-of-memory error, while the other involves request-owned state used after its memory has been freed.
The source presents this as a practical follow-up to earlier reporting about PHP2Shell and Dutch government websites. It also notes that PHP may be embedded in products that users do not think of as websites, including administrative tools, appliances and document systems. That means an inventory limited to public websites could miss affected deployments.
Node.js is included because it also released security fixes on the same date and is used in web back ends and other applications. The available source does not provide the Node.js release numbers, vulnerability identifiers or a service-by-service exposure breakdown. A separate Railway security incident is also mentioned, but the source says Railway has not linked it to either PHP2Shell or the Node.js vulnerabilities.
“two critical vulnerabilities, both rated CVSS v4.0 9.2”
— PHP project pre-announcement, October 20
Exposure Depends on Each Deployment
The supplied information does not identify every affected PHP package, operating-system build or cloud configuration, and it does not provide the Node.js fixed versions or vulnerability details. Operators should consult the security notice for their distribution, hosting provider or runtime before deciding a system is covered. The source also does not establish whether the Railway incident is related; it says the platform has not linked it to these vulnerabilities.
Not every deployment has the same demonstrated exploitability. In particular, the source distinguishes a demonstrated mod_php exploit from the absence of a complete demonstrated exploit for one flaw on FPM. That limitation is not proof of safety. The exact exposure of a particular system depends on its runtime version, configuration, access controls and how it is deployed.
Verify, Redeploy and Recheck Services
Operators should inventory public sites and less obvious PHP-based products, identify the runtime version each service actually uses, and apply a fixed release or a trusted vendor backport. For containerized applications, that means rebuilding images with updated packages and deploying them; for virtual machines or self-managed servers, it means updating the installed runtime and restarting the relevant service or workers. A patch that has not reached the running process does not close the exposure.
After deployment, administrators should check the web-facing process or platform’s runtime information, confirm that old workers have exited, and review provider guidance for managed services. They should also assess whether the web worker can read sensitive files or credentials and rotate credentials if there is evidence they may have been exposed. Temporary mitigations may reduce risk but cannot be treated as a substitute for installing and verifying the fix.
For Node.js, teams should use the release information for their deployed branch to select the corrected version, then rebuild and restart affected applications. Further clarity depends on detailed advisories and vendor notices, particularly for products that bundle either runtime. The immediate next milestone for each organization is confirmation—not merely that an update was announced, but that the patched code is serving requests.
Key Questions
What is PHP2Shell?
PHP2Shell is the name used for two PHP remote code execution flaws, CVE-2026-109618 and CVE-2026-109619. The cited advisories rate both Critical at 9.2 under CVSS v4.0.
Which PHP versions include the fixes?
The listed fixed releases are PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35. PHP 8.1 and older do not receive regular updates from the PHP project, according to the source; affected users should check their vendor’s package guidance or upgrade.
Does a cloud provider patch every PHP application?
No. The source distinguishes provider-managed services from customer-managed workloads. An automatically managed runtime may be updated by its provider, while customers generally need to patch and redeploy their own virtual machines, containers, marketplace images or applications.
Is PHP-FPM safe from these flaws?
The source says the stale-state flaw was validated against both mod_php and FPM. It says a complete FPM exploit for the out-of-memory flaw had not been demonstrated, but that is not evidence that FPM is immune.
What should Node.js operators do?
Check the Node.js security release guidance for the deployed release line, install the corrected version, rebuild or update the application environment, and restart the service. The source confirms ten Node.js vulnerability fixes on October 21 but does not provide the affected or fixed version numbers.
Source: ThorstenMeyerAI.com
