{"id":11,"date":"2026-10-21T20:59:34","date_gmt":"2026-10-21T20:59:34","guid":{"rendered":"https:\/\/erkanozdogan.com\/blog\/php2shell-for-developers-php-nodejs-october-2026\/"},"modified":"2026-10-23T09:50:37","modified_gmt":"2026-10-23T09:50:37","slug":"php2shell-for-developers-php-nodejs-october-2026","status":"publish","type":"post","link":"https:\/\/erkanozdogan.com\/blog\/php2shell-for-developers-php-nodejs-october-2026\/","title":{"rendered":"PHP2Shell for developers: what the October 2026 PHP and Node.js fixes mean for your code, containers and CI"},"content":{"rendered":"<p class=\"lead\">Most vulnerabilities give developers something to fix in their own code. PHP2Shell does not, and that is what makes it unusual. The two flaws fixed on 21 October 2026 fire while PHP is still parsing the request, before the first line of your framework runs, so validation, middleware and authentication never get a chance to help. What you do control is how quickly a patched runtime reaches production, and that depends on decisions in your Dockerfiles, process managers and configuration.<\/p>\n<div class=\"tldr\">\n<p class=\"tldr-label\">TL;DR<\/p>\n<ul>\n<li>PHP2Shell fires while PHP parses the request, before your framework runs, so no validation in your code can stop it.<\/li>\n<li>Your Dockerfiles, worker processes and settings decide how long you stay exposed after the fix exists.<\/li>\n<li>A backported build can report the old version number, so health checks must compare package releases, not only <code>PHP_VERSION<\/code>.<\/li>\n<li>Four October 2026 Node.js fixes do depend on your code: Brotli decompression, TLS hostname checks, DNS names and snapshots.<\/li>\n<li>Rebuild images with <code>--pull<\/code>, restart long-lived workers and verify the version in production.<\/li>\n<\/ul>\n<\/div>\n<h2>The bugs in one paragraph each<\/h2>\n<p><strong>CVE-2026-109618<\/strong> is an out-of-memory corruption bug. When PHP runs out of memory at the wrong moment, request data can be left half initialized, and the cleanup code then trusts it. <strong>CVE-2026-109619<\/strong> is stale global state: data owned by one request can outlive its memory, and the next request handled by the same worker can use it before it is reset. Both score 9.2 on CVSS v4.0, need no authentication and affect every web SAPI, including PHP-FPM, mod_php, php-cgi, LiteSpeed and FrankenPHP. Fixed releases are PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12.<\/p>\n<p>Node.js shipped on the same day: 22.23.4, 24.22.1 and 26.12.1 fix ten CVEs, four of them high. Unlike PHP2Shell, several of these do depend on how your code uses the runtime.<\/p>\n<figure class=\"wp-block-image size-full gitm-figure\"><svg role=\"img\" aria-label=\"Where each 21 October 2026 PHP and Node.js fix hits and whether application code can help\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 1600 880\"><rect width=\"1600\" height=\"880\" fill=\"#fff\"\/><text x=\"80\" y=\"80\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"38\" font-weight=\"700\" letter-spacing=\"-1.5\" fill=\"#111820\" text-anchor=\"start\">Where each fix hits, and whether your code can help<\/text><text x=\"80\" y=\"122\" font-family=\"Menlo, monospace\" font-size=\"18\" font-weight=\"400\" letter-spacing=\"2\" fill=\"#84909a\" text-anchor=\"start\">21 OCTOBER 2026 PHP AND NODE.JS RELEASES<\/text><text x=\"80\" y=\"190\" font-family=\"Menlo, monospace\" font-size=\"15\" font-weight=\"600\" letter-spacing=\"2\" fill=\"#84909a\" text-anchor=\"start\">CVE<\/text><text x=\"460\" y=\"190\" font-family=\"Menlo, monospace\" font-size=\"15\" font-weight=\"600\" letter-spacing=\"2\" fill=\"#84909a\" text-anchor=\"start\">SEVERITY<\/text><text x=\"680\" y=\"190\" font-family=\"Menlo, monospace\" font-size=\"15\" font-weight=\"600\" letter-spacing=\"2\" fill=\"#84909a\" text-anchor=\"start\">WHERE IT HITS<\/text><text x=\"1060\" y=\"190\" font-family=\"Menlo, monospace\" font-size=\"15\" font-weight=\"600\" letter-spacing=\"2\" fill=\"#84909a\" text-anchor=\"start\">CAN YOUR CODE HELP?<\/text><line x1=\"80\" y1=\"210\" x2=\"1520\" y2=\"210\" stroke=\"#e4e9ed\" stroke-width=\"2\"\/><text x=\"80\" y=\"260\" font-family=\"Menlo, monospace\" font-size=\"21\" font-weight=\"700\" letter-spacing=\"0\" fill=\"#175cff\" text-anchor=\"start\">CVE-2026-109618<\/text><text x=\"80\" y=\"288\" font-family=\"Menlo, monospace\" font-size=\"14\" font-weight=\"600\" letter-spacing=\"2\" fill=\"#84909a\" text-anchor=\"start\">PHP<\/text><rect x=\"460\" y=\"236\" width=\"170\" height=\"34\" fill=\"#175cff\" stroke=\"#175cff\" stroke-width=\"2\"\/><text x=\"472\" y=\"259\" font-family=\"Menlo, monospace\" font-size=\"15\" font-weight=\"700\" letter-spacing=\"1.5\" fill=\"#fff\" text-anchor=\"start\">CRITICAL 9.2<\/text><text x=\"680\" y=\"260\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"400\" letter-spacing=\"0\" fill=\"#111820\" text-anchor=\"start\">Request parsing, out of memory<\/text><text x=\"1060\" y=\"260\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"700\" letter-spacing=\"0\" fill=\"#111820\" text-anchor=\"start\">No. Patch the runtime<\/text><line x1=\"80\" y1=\"302\" x2=\"1520\" y2=\"302\" stroke=\"#e4e9ed\" stroke-width=\"2\"\/><text x=\"80\" y=\"352\" font-family=\"Menlo, monospace\" font-size=\"21\" font-weight=\"700\" letter-spacing=\"0\" fill=\"#175cff\" text-anchor=\"start\">CVE-2026-109619<\/text><text x=\"80\" y=\"380\" font-family=\"Menlo, monospace\" font-size=\"14\" font-weight=\"600\" letter-spacing=\"2\" fill=\"#84909a\" text-anchor=\"start\">PHP<\/text><rect x=\"460\" y=\"328\" width=\"170\" height=\"34\" fill=\"#175cff\" stroke=\"#175cff\" stroke-width=\"2\"\/><text x=\"472\" y=\"351\" font-family=\"Menlo, monospace\" font-size=\"15\" font-weight=\"700\" letter-spacing=\"1.5\" fill=\"#fff\" text-anchor=\"start\">CRITICAL 9.2<\/text><text x=\"680\" y=\"352\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"400\" letter-spacing=\"0\" fill=\"#111820\" text-anchor=\"start\">Worker state between requests<\/text><text x=\"1060\" y=\"352\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"700\" letter-spacing=\"0\" fill=\"#111820\" text-anchor=\"start\">No. Patch and restart workers<\/text><line x1=\"80\" y1=\"394\" x2=\"1520\" y2=\"394\" stroke=\"#e4e9ed\" stroke-width=\"2\"\/><text x=\"80\" y=\"444\" font-family=\"Menlo, monospace\" font-size=\"21\" font-weight=\"700\" letter-spacing=\"0\" fill=\"#175cff\" text-anchor=\"start\">CVE-2026-111497<\/text><text x=\"80\" y=\"472\" font-family=\"Menlo, monospace\" font-size=\"14\" font-weight=\"600\" letter-spacing=\"2\" fill=\"#84909a\" text-anchor=\"start\">NODE<\/text><rect x=\"460\" y=\"420\" width=\"120\" height=\"34\" fill=\"none\" stroke=\"#175cff\" stroke-width=\"2\"\/><text x=\"472\" y=\"443\" font-family=\"Menlo, monospace\" font-size=\"15\" font-weight=\"700\" letter-spacing=\"1.5\" fill=\"#175cff\" text-anchor=\"start\">HIGH<\/text><text x=\"680\" y=\"444\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"400\" letter-spacing=\"0\" fill=\"#111820\" text-anchor=\"start\">Brotli decompression<\/text><text x=\"1060\" y=\"444\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"400\" letter-spacing=\"0\" fill=\"#111820\" text-anchor=\"start\">Partly. Avoid untrusted br input<\/text><line x1=\"80\" y1=\"486\" x2=\"1520\" y2=\"486\" stroke=\"#e4e9ed\" stroke-width=\"2\"\/><text x=\"80\" y=\"536\" font-family=\"Menlo, monospace\" font-size=\"21\" font-weight=\"700\" letter-spacing=\"0\" fill=\"#175cff\" text-anchor=\"start\">CVE-2026-106069 \/ 105483<\/text><text x=\"80\" y=\"564\" font-family=\"Menlo, monospace\" font-size=\"14\" font-weight=\"600\" letter-spacing=\"2\" fill=\"#84909a\" text-anchor=\"start\">NODE<\/text><rect x=\"460\" y=\"512\" width=\"120\" height=\"34\" fill=\"none\" stroke=\"#175cff\" stroke-width=\"2\"\/><text x=\"472\" y=\"535\" font-family=\"Menlo, monospace\" font-size=\"15\" font-weight=\"700\" letter-spacing=\"1.5\" fill=\"#175cff\" text-anchor=\"start\">HIGH<\/text><text x=\"680\" y=\"536\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"400\" letter-spacing=\"0\" fill=\"#111820\" text-anchor=\"start\">TLS hostname check<\/text><text x=\"1060\" y=\"536\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"400\" letter-spacing=\"0\" fill=\"#111820\" text-anchor=\"start\">Partly. Normalise hosts<\/text><line x1=\"80\" y1=\"578\" x2=\"1520\" y2=\"578\" stroke=\"#e4e9ed\" stroke-width=\"2\"\/><text x=\"80\" y=\"628\" font-family=\"Menlo, monospace\" font-size=\"21\" font-weight=\"700\" letter-spacing=\"0\" fill=\"#175cff\" text-anchor=\"start\">CVE-2026-105482<\/text><text x=\"80\" y=\"656\" font-family=\"Menlo, monospace\" font-size=\"14\" font-weight=\"600\" letter-spacing=\"2\" fill=\"#84909a\" text-anchor=\"start\">NODE<\/text><rect x=\"460\" y=\"604\" width=\"120\" height=\"34\" fill=\"none\" stroke=\"#175cff\" stroke-width=\"2\"\/><text x=\"472\" y=\"627\" font-family=\"Menlo, monospace\" font-size=\"15\" font-weight=\"700\" letter-spacing=\"1.5\" fill=\"#175cff\" text-anchor=\"start\">HIGH<\/text><text x=\"680\" y=\"628\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"400\" letter-spacing=\"0\" fill=\"#111820\" text-anchor=\"start\">dns.resolve, NUL in names<\/text><text x=\"1060\" y=\"628\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"400\" letter-spacing=\"0\" fill=\"#111820\" text-anchor=\"start\">Yes. Reject control characters<\/text><line x1=\"80\" y1=\"670\" x2=\"1520\" y2=\"670\" stroke=\"#e4e9ed\" stroke-width=\"2\"\/><text x=\"80\" y=\"720\" font-family=\"Menlo, monospace\" font-size=\"21\" font-weight=\"700\" letter-spacing=\"0\" fill=\"#175cff\" text-anchor=\"start\">CVE-2026-106074<\/text><text x=\"80\" y=\"748\" font-family=\"Menlo, monospace\" font-size=\"14\" font-weight=\"600\" letter-spacing=\"2\" fill=\"#84909a\" text-anchor=\"start\">NODE<\/text><rect x=\"460\" y=\"696\" width=\"120\" height=\"34\" fill=\"none\" stroke=\"#175cff\" stroke-width=\"2\"\/><text x=\"472\" y=\"719\" font-family=\"Menlo, monospace\" font-size=\"15\" font-weight=\"700\" letter-spacing=\"1.5\" fill=\"#175cff\" text-anchor=\"start\">MEDIUM<\/text><text x=\"680\" y=\"720\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"400\" letter-spacing=\"0\" fill=\"#111820\" text-anchor=\"start\">Snapshots and SEA entropy<\/text><text x=\"1060\" y=\"720\" font-family=\"Arial, Helvetica, sans-serif\" font-size=\"22\" font-weight=\"400\" letter-spacing=\"0\" fill=\"#111820\" text-anchor=\"start\">Yes. Rebuild, rotate values<\/text><line x1=\"80\" y1=\"762\" x2=\"1520\" y2=\"762\" stroke=\"#e4e9ed\" stroke-width=\"2\"\/><text x=\"80\" y=\"840\" font-family=\"Menlo, monospace\" font-size=\"15\" font-weight=\"400\" letter-spacing=\"2\" fill=\"#84909a\" text-anchor=\"start\">FIXED: PHP 8.2.35 \/ 8.3.36 \/ 8.4.27 \/ 8.5.12  \u00b7  NODE.JS 22.23.4 \/ 24.22.1 \/ 26.12.1<\/text><\/svg><figcaption>Where each 21 October 2026 PHP and Node.js fix hits and whether application code can help<\/figcaption><\/figure>\n<h2>Why your code cannot stop PHP2Shell, but your setup can delay the fix<\/h2>\n<p>Because the attack lands during request parsing, the useful questions are about delivery, not logic. Is your PHP coming from a base image that was built last month? Does a long-lived worker keep the old binary in memory? Does a setting in your repository make the bug easier to reach? Each of these is a developer decision, and each one can leave a server exposed after the operations team believes it is patched.<\/p>\n<h2>Where does your runtime come from, and how does the fix reach it?<\/h2>\n<p>The same fix travels by different roads depending on how PHP or Node.js got onto the machine. Knowing the road tells you who has to act.<\/p>\n<div class=\"table-wrap\">\n<table>\n<thead>\n<tr>\n<th>Runtime source<\/th>\n<th>Who delivers the fix<\/th>\n<th>What you have to do<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Official Docker image (<code>php<\/code>, <code>node<\/code>)<\/td>\n<td>Image maintainers publish new tags<\/td>\n<td>Rebuild with <code>--pull<\/code> and redeploy<\/td>\n<\/tr>\n<tr>\n<td>Distribution package<\/td>\n<td>The distribution, often as a backport<\/td>\n<td>Update the package and restart services<\/td>\n<\/tr>\n<tr>\n<td>cPanel EasyApache 4 (<code>ea-php<\/code>)<\/td>\n<td>cPanel and CloudLinux, as a backport with the same version number<\/td>\n<td>Confirm the package changelog, restart FPM<\/td>\n<\/tr>\n<tr>\n<td>FrankenPHP or Octane binary<\/td>\n<td>The project&#8217;s release<\/td>\n<td>Delete and re-fetch the binary, restart the server<\/td>\n<\/tr>\n<tr>\n<td>nvm, fnm or a version manager<\/td>\n<td>You<\/td>\n<td>Install the new version and switch every service to it<\/td>\n<\/tr>\n<tr>\n<td>Runtime bundled in a vendor product<\/td>\n<td>The vendor<\/td>\n<td>Ask for a patched build; do not swap it underneath<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h2>A field note: the patched build that reports the old version<\/h2>\n<p>On our own servers the PHP2Shell fix arrived through EasyApache 4 on the afternoon of 21 October, as a backported package. The build was patched, yet <code>PHP_VERSION<\/code> still read 8.4.26, because the backport changes the package release, not the PHP version. A health check that compares <code>PHP_VERSION<\/code> with 8.4.27 would have reported a patched server as vulnerable, and a check that only looks for any 8.4 build would report an unpatched one as fine.<\/p>\n<p>So a version check in your application or monitoring has to know where the runtime comes from. For upstream builds, compare the version. For distribution and panel packages, compare the package release or read the changelog for the CVE number.<\/p>\n<h2>Node.js: four fixes that do touch your code<\/h2>\n<p><strong>Brotli, CVE-2026-111497.<\/strong> An out-of-bounds write in the Brotli decoder permits remote code execution. Any service that decompresses untrusted input with <code>zlib.createBrotliDecompress()<\/code>, or accepts <code>br<\/code>-encoded request bodies, is on the attack path until it runs a patched build.<\/p>\n<p><strong>TLS hostname checks, CVE-2026-106069 and CVE-2026-105483.<\/strong> Certificates could be accepted for hosts written as loosely parsed or fullwidth IP addresses. If your code builds URLs from user input or configuration, normalize hosts before connecting, and never replace <code>checkServerIdentity<\/code> with a looser version.<\/p>\n<p><strong>DNS, CVE-2026-105482.<\/strong> <code>dns.resolve<\/code> truncated names at a NUL character, so <code>evil.example\\0.trusted.example<\/code> could resolve as something else. Reject control characters in hostnames at your boundary.<\/p>\n<p><strong>Snapshots, CVE-2026-106074.<\/strong> The entropy caches behind <code>crypto.randomUUID()<\/code> and <code>randomInt()<\/code> were saved into startup snapshots and single executable applications, so every process repeated the same values. If you ship a snapshot or SEA, rebuild it with the patched release and rotate anything those values protected.<\/p>\n<p>Check a Node.js build against the October release:<\/p>\n<div class=\"gitm-widget\" data-widget=\"node\"><\/div>\n<h2>What should developers hand to the operations team?<\/h2>\n<p>During an emergency like PHP2Shell the slowest part is often not the patch but the questions in between. A development team can shorten the response by keeping four answers ready for every service, written down where the operations team can find them without a meeting.<\/p>\n<ul>\n<li><strong>Where the runtime comes from.<\/strong> Base image and tag, distribution package, panel build or vendor bundle, from the table above.<\/li>\n<li><strong>What has to restart.<\/strong> Web workers, queue workers, schedulers, Octane or PM2 processes, and in what order, so nothing is left on the old binary.<\/li>\n<li><strong>Which settings the application depends on.<\/strong> For example whether it really uses upload progress, or needs a memory limit above the default for a known heavy job.<\/li>\n<li><strong>How to prove it is fixed.<\/strong> The health endpoint or log line that reports the runtime version and package release.<\/li>\n<\/ul>\n<p>With these four answers, an operations team can patch, restart and verify a service without waiting for the developer who knows it, which is exactly the situation an emergency release creates.<\/p>\n<h2>What are the common mistakes when patching a runtime?<\/h2>\n<p>Most failed runtime updates fail in the same few ways. Pulling a newer tag on a running host and assuming the container changed, when nothing was recreated. Updating the web image but not the separate image that runs cron jobs or queue workers. Patching PHP-FPM while the command-line PHP used by scheduled tasks stays on an older build. Leaving a <code>.nvmrc<\/code>, <code>.tool-versions<\/code> or CI matrix pinned to an old Node.js version, so the next build quietly reinstalls it. And declaring victory from a Dockerfile diff instead of a version read from the running service.<\/p>\n<p>Each one leaves a service on the vulnerable runtime while the change log says it was patched. The checklist below is ordered to avoid them.<\/p>\n<h2>Before you deploy the fix<\/h2>\n<ol class=\"checklist\">\n<li><strong>Find every runtime you ship.<\/strong> Base images, FrankenPHP or Octane binaries, Lambda layers, CI images and local toolchains all carry their own PHP or Node.js.<\/li>\n<li><strong>Check your settings in the repository.<\/strong> Remove <code>memory_limit = -1<\/code> from <code>php.ini<\/code>, Docker and Helm values, and disable <code>session.upload_progress.enabled<\/code> unless your application shows upload progress bars. Put these in <code>php.ini<\/code> or the FPM pool, not in <code>ini_set()<\/code>.<\/li>\n<li><strong>Pin the patched floor.<\/strong> Set PHP <code>^8.4.27<\/code> or the matching fixed release for your branch in your platform checks and <code>engines.node<\/code> to <code>&gt;=22.23.4<\/code>, so a stale image fails the build instead of shipping.<\/li>\n<\/ol>\n<h2>After you deploy<\/h2>\n<ol class=\"checklist\">\n<li><strong>Rebuild, do not retag.<\/strong> Use <code>docker build --pull<\/code> and recreate containers; pulling a moving tag on a running host changes nothing.<\/li>\n<li><strong>Restart long-lived workers.<\/strong> Laravel queues, Octane, Swoole, RoadRunner, Supervisor jobs and PM2 processes keep the old runtime until they restart.<\/li>\n<li><strong>Verify what actually runs.<\/strong> Log <code>PHP_VERSION<\/code> and <code>process.version<\/code> at startup, or expose them on an internal health endpoint, so you can prove the version in production rather than in the Dockerfile.<\/li>\n<li><strong>Undo temporary workarounds.<\/strong> Restore <code>pm.max_requests<\/code>, re-enable features you switched off, and remove any multipart blocking added at the proxy once the patched build is live.<\/li>\n<li><strong>Make the next one boring.<\/strong> Automated pull requests for base images and runtimes turn the next emergency into a merge and a deploy.<\/li>\n<\/ol>\n<p>For the earlier 2026 fixes read layer by layer, see <a href=\"\/blog\/php-nodejs-2026-vulnerabilities-developer-guide\/\">patched runtime, unpatched code<\/a>; for the trust-store changes of the same week, <a href=\"\/blog\/emudhra-trust-stores-nodejs-java-bind-october-2026-developers\/\">one compromised CA, many trust stores<\/a>.<\/p>\n<h2>The short version<\/h2>\n<p>PHP2Shell is a rare case where application code has no part to play in the defense, and that makes the delivery path the whole story. A team that knows where each runtime comes from, what has to restart and how to prove the running version can move from advisory to verified fix in hours. A team that has to find out during the emergency loses most of that time to questions, which is exactly when attackers with a leaked exploit are fastest.<\/p>\n<h2 id=\"faq-php2shell-for-developers\">FAQ: PHP2Shell for developers<\/h2>\n<h3 id=\"faq-input-validation-stop-php2shell\">Input validation vs a patched runtime: which one stops PHP2Shell attacks in 2026?<\/h3>\n<p>Only the patched runtime. The attack happens while PHP parses the request, before any framework, middleware or validation code runs. Only a patched PHP closes it; a WAF in front can reduce exposure while you deploy.<\/p>\n<h3 id=\"faq-php2shell-docker-image-rebuild\">Do Docker images need to be rebuilt for PHP2Shell, or is updating the host enough?<\/h3>\n<p>They need to be rebuilt. A container uses the PHP inside its image, whatever the host has installed. Rebuild from a patched base with <code>docker build --pull<\/code> and recreate the containers.<\/p>\n<h3 id=\"faq-laravel-queue-restart-php2shell\">Do Laravel queue workers and Octane need a restart after the PHP2Shell update?<\/h3>\n<p>Yes. Long-running PHP processes keep the old binary in memory. Run <code>php artisan queue:restart<\/code>, restart Octane, Swoole or RoadRunner, and restart any Supervisor jobs.<\/p>\n<h3 id=\"faq-memory-limit-minus-one-risk\">Why is memory_limit = -1 risky in the context of CVE-2026-109618?<\/h3>\n<p>Because CVE-2026-109618 is an out-of-memory bug, and an unlimited memory limit makes the conditions around it easier to reach. Set a real limit in <code>php.ini<\/code> or the FPM pool, sized for your heaviest legitimate request.<\/p>\n<h3 id=\"faq-upload-progress-app-impact\">Will disabling session.upload_progress break file uploads in my application?<\/h3>\n<p>Uploads keep working. Only the upload progress feature stops, which a few applications use to show progress bars through the session. If yours does, keep the patch as the real fix and accept the missing bar for a short time.<\/p>\n<h3 id=\"faq-brotli-node-untrusted-input-2026\">Which Node.js services are exposed to the Brotli decoder bug fixed in October 2026?<\/h3>\n<p>Any service that decompresses untrusted Brotli data, whether through <code>zlib.createBrotliDecompress()<\/code> or by accepting <code>br<\/code>-encoded request bodies. Update to 22.23.4, 24.22.1 or 26.12.1, and do not accept compressed bodies you do not need.<\/p>\n<h3 id=\"faq-dns-resolve-nul-validate\">How should application code validate hostnames after the dns.resolve NUL fix?<\/h3>\n<p>Reject any hostname that contains control characters, including NUL, at the boundary where it enters the system, and normalize it before use. The runtime fix stops the truncation, and the validation stops the input from reaching it.<\/p>\n<h3 id=\"faq-sea-snapshot-rebuild-uuid\">Why must Node.js single executable applications be rebuilt after the October 2026 release?<\/h3>\n<p>Because CVE-2026-106074 saved the entropy caches of <code>crypto.randomUUID()<\/code> and <code>randomInt()<\/code> into snapshots and SEAs, so every process repeated the same values. Rebuild with the patched release and rotate anything those values protected.<\/p>\n<h3 id=\"faq-health-endpoint-version-check\">PHP_VERSION vs package release: what should a health endpoint report after a backported fix?<\/h3>\n<p>Report the version and, for packaged runtimes, the package release. A patched backport can show the old upstream version, so a version-only check gives the wrong answer on panel and distribution builds.<\/p>\n<h3 id=\"faq-automate-runtime-updates-dependabot\">How can a team make the next emergency runtime update routine?<\/h3>\n<p>Let Dependabot or Renovate open pull requests for base images and runtime versions, keep CI able to build and test on a new image in minutes, and log the runtime version at start-up so the result is visible in production.<\/p>\n<h2>Sources<\/h2>\n<ul class=\"sources\">\n<li><a href=\"https:\/\/www.php.net\/\" rel=\"noopener\" target=\"_blank\">PHP security release, 21 October 2026<\/a>, php.net<\/li>\n<li><a href=\"https:\/\/github.com\/php\/php-src\/security\/advisories\/GHSA-w8hw-w9fx-j79w\" rel=\"noopener\" target=\"_blank\">GHSA-w8hw-w9fx-j79w (CVE-2026-109618)<\/a> and <a href=\"https:\/\/github.com\/php\/php-src\/security\/advisories\/GHSA-6wmf-4rv5-p3rp\" rel=\"noopener\" target=\"_blank\">GHSA-6wmf-4rv5-p3rp (CVE-2026-109619)<\/a>, GitHub<\/li>\n<li><a href=\"https:\/\/nodejs.org\/en\/blog\/vulnerability\/october-2026-security-releases\" rel=\"noopener\" target=\"_blank\">October 2026 security releases<\/a>, nodejs.org<\/li>\n<li><a href=\"https:\/\/ma.ttias.be\/php-cve-2026-109618-patch\/\" rel=\"noopener\" target=\"_blank\">How to apply the PHP2Shell patches<\/a>, ma.ttias.be<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>PHP2Shell runs before your application code, so no input validation can stop it, but your images, worker processes and settings decide how long you stay exposed. A developer&#8217;s reading of the 21 October PHP and Node.js releases.<\/p>\n","protected":false},"author":0,"featured_media":25,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[4,8,11,12,13,3,2,10],"class_list":["post-11","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-security","tag-application-security","tag-ci-cd","tag-cve-2026-109618","tag-docker","tag-laravel","tag-node-js","tag-php","tag-php2shell"],"_links":{"self":[{"href":"https:\/\/erkanozdogan.com\/blog\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/erkanozdogan.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/erkanozdogan.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/erkanozdogan.com\/blog\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":2,"href":"https:\/\/erkanozdogan.com\/blog\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":36,"href":"https:\/\/erkanozdogan.com\/blog\/wp-json\/wp\/v2\/posts\/11\/revisions\/36"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/erkanozdogan.com\/blog\/wp-json\/wp\/v2\/media\/25"}],"wp:attachment":[{"href":"https:\/\/erkanozdogan.com\/blog\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/erkanozdogan.com\/blog\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/erkanozdogan.com\/blog\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}