Skip to main content
Security Weekly

PHP2Shell Alert: PHP, Node.js, Go, and GitLab Release a Wave of October Security Updates — Enterprise Remediation Checklist Included

Around October 21, PHP, Node.js, Go, and GitLab released security updates: two PHP2Shell vulnerabilities scoring 9.2 have already been exploited in the wild, while GitLab patched a 10.0-rated unauthenticated RCE. This article summarizes fixed versions for each component, distribution details, and an enterprise remediation checklist.

October Security Updates in Quick Succession: From PHP2Shell to GitLab's Perfect-Score Vulnerability

On the evening of October 21 Beijing Time, PHP released patches for two critical vulnerabilities a day early, while Node.js and GitLab issued security updates the same day. Go had released a fixed version 2 days earlier, on October 19. Together with nginx's five security fixes a week earlier and PingCAP's data exfiltration disclosure, web runtimes and infrastructure components commonly used by enterprises faced a concentrated wave of risks within the same window.

The risks went beyond mere advisories: AWS honeypots traced PHP2Shell exploitation attempts as early as 4 days before public disclosure, on October 17. A fixed release for GitLab's perfect-score vulnerability was deployed the same day, along with detection rules for exploitation attempts. For operations and security teams, the key is to compare versions and configurations component by component. Based on official advisories through October 22, this article summarizes the remediation list and starting points for investigation.

PHP2Shell: Two Engine-Level Vulnerabilities, Both Scoring 9.2 Under CVSS v4.0

PHP's current release addresses CVE-2026-109618 and CVE-2026-109619, the two vulnerabilities widely known as PHP2Shell. Both score 9.2 under CVSS v4.0 and can enable unauthenticated remote code execution under specific conditions. Both flaws reside in the engine's error-handling paths. The first is related to memory exhaustion: when a request hits memory_limit exactly, some internal data that has not yet been fully initialized may be treated as valid, causing memory corruption. The second is a cross-request use-after-free: after a fatal error, internal global state continues to point to memory freed during the previous request, potentially triggering the flaw when the same worker handles a subsequent request.

It is especially important to emphasize that the impact is not limited to a specific framework or CMS. Officially listed affected environments include PHP-FPM, Apache mod_php, php-cgi, FrankenPHP, and LiteSpeed. Apache mod_php has already been shown to allow full remote code execution under the default configuration, with the trigger occurring before business code executes, making it the highest-risk case. Remote code execution has also been confirmed for PHP-FPM, but it requires traversing an application code path. Updating only plugins for applications such as WordPress, without updating the PHP engine itself, cannot eliminate the risk.

The official fixed releases are 8.5.12, 8.4.27, 8.3.36, and 8.2.35; PHP 7.4, 8.0, and 8.1 have only received minimal source backports, and the legacy branches have not regained regular support. Teams using distribution packages or hosting control panels should also watch for three easily overlooked details:

  • CloudLinux: It makes extensive use of backported patches, so package version numbers may remain below the upstream fixed versions. Confirm the full package release identifier and the CVE records in the changelog; security metadata (OVAL, UpdateInfo) had at times fallen behind, and “security updates only” may omit packages already present in the repository. The vendor requires the standard update flow and a restart of Apache, PHP-FPM, or LiteSpeed. If an update encounters problems, first check whether the cloudlinux-release package is outdated.
  • Plesk: Fixes to the panel's own engine (sw-engine on Linux) are included in Obsidian 18.0.81 Update 4 or 18.0.80 Update 11, which is separate from site-level PHP updates. Site PHP 7.4, 8.0, and 8.1 use backports, and version numbers may remain unchanged (for example, both before and after the fix display 7.4.33). Use the official build date of October 21, 2026 as the source of truth.
  • Verification: The PHP version returned by the system's default php -v command may not be the one actually used by the website. Check the version and build time in the corresponding installation directory.

For log review, the AWS MadPot honeypot confirmed exploitation attempts beginning October 17, 4 days before public disclosure, and new PoCs reached the sensors within hours of the patch release. For PHP services exposed to the public Internet, log review should go back at least to October 17. Cloudflare has deployed blocking rules for WAF customers, which can buy time, but PHP has explicitly stated that upgrading is the only complete solution.

October Security Updates at a Glance

Key vulnerabilities and fixed versions by component, based on official advisories through October 22, 2026.

ComponentKey VulnerabilitiesFixed VersionsRecommended Action
PHP (PHP2Shell)CVE-2026-109618 / CVE-2026-109619, unauthenticated RCE8.5.12 / 8.4.27 / 8.3.36 / 8.2.35Upgrade the engine and restart FPM or Apache; review logs back to October 17
Node.jsCVE-2026-111497 Brotli out-of-bounds write, CVE-2026-106074 random-number entropy caching, and others22.23.4 / 24.22.1 / 26.12.1Update the base image and rebuild deployments; npm update does not replace the runtime
GoCVE-2026-111943, missing certificate deny list in crypto/x5091.26.10 / 1.27.3Recompile with the fixed toolchain and deploy static binaries
GitLab (self-managed)CVE-2026-110264, CVSS 10.0 unauthenticated RCE19.5.1 / 19.4.3 / 19.3.6 / 19.2.9 / 19.1.9 / 19.0.10 / 18.11.13Follow the official upgrade path; do not skip intermediate versions
nginxCVE-2026-15176 and four other issues1.31.7 (mainline) / 1.30.6 (stable)Upgrade or confirm distribution backports; review alias, rewrite, HTTP/3, and other configurations
TiDB CloudData exfiltration incident affected a stored, encrypted API key—Rotate the management API key per official guidance; watch for targeted phishing

Node.js and Go: Beyond Runtime Updates, Trust Chain Issues Remain

The patched Node.js releases are 22.23.4, 24.22.1, and 26.12.1. The most notable is CVE-2026-111497: an out-of-bounds write in the Brotli decoder creates a remote code execution risk and affects 22.x, 24.x, and 26.x. It is triggered when an application decodes untrusted compressed data. CVE-2026-106074, fixed in the same batch, concerns entropy caching in crypto.randomUUID() and randomInt(). The cache may also be saved in user startup snapshots and Single Executable Applications (SEA), causing processes launched from the same artifact to reuse identical random values. Other fixes address NUL-character truncation in DNS names, TLS hostname and IP address validation (the full-width numeric IP issue affects 24.x and 26.x), and the permission model, along with branch updates to dependencies including ca-cert, OpenSSL, SQLite, and Undici. The official advisory also reminds users that unmaintained releases should be treated as affected by default.

A common mistake is to treat these fixes as routine dependency upgrades. The fixes are in the Node.js runtime itself, so npm update will not replace the runtime: container deployments require an updated runtime base image, followed by a rebuild and redeployment; packages that bundle Node.js, SEA applications, and Electron applications need their actual bundled versions checked; managed serverless runtimes depend on the platform's runtime update schedule.

The eMudhra incident also exposed leaked private keys for intermediate certificates: after Mozilla received a researcher's report on October 17, it independently recovered 8 intermediate CA private keys (6 for TLS and 2 for code signing). The certificates declared the P-384 elliptic curve, but the actual private keys were very small integers—one was 4—and all could be recovered from the public certificates in under a second. In local testing using a forged api.stripe.com certificate, the default environments for curl, Python, and Node.js all passed certificate validation. Go 1.26.10 and 1.27.3 have added these intermediate certificates to the crypto/x509 deny list (GO-2026-6809). Because Go services are often delivered as static binaries with the standard library compiled in, upgrading the toolchains on development machines and in CI does not change the old files running in production; they must be rebuilt and redeployed. It is also worth checking whether the SDKs and scripts used by business clients, and the trust stores in older containers, have been updated.

GitLab, nginx and TiDB Cloud: Self-Managed Instances Are the Primary Risk Surface

GitLab released 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, and 18.11.13 on October 21. CVE-2026-110264 has a CVSS score of 10.0: under specific conditions, unauthenticated users could exploit an integer overflow in the regular expression compiler to execute arbitrary code on the GitLab server. GitLab.com and GitLab Dedicated are already running fixed releases, so the primary risk is in self-managed instances. This update involves database and post-deployment migrations, and the intermediate versions specified by GitLab cannot be skipped when upgrading across multiple versions. GitLab also released two rules for detecting exploitation attempts, allowing administrators to review related requests.

nginx released mainline version 1.31.7 and stable branch version 1.30.6 on October 14, fixing five issues in one release: a buffer overflow when alias and rewrite are combined and $request_filename is referenced (CVE-2026-15176), incorrect evaluation of string expressions containing variables (CVE-2026-93479), partial data in unknown HTTP/3 frames being treated as the request body and potentially bypassing size limits (CVE-2026-95101), session forgery caused by an uninitialized key during TLS session ticket key rotation (CVE-2026-97629), and a use-after-free triggered by combining AIO with SSI include virtual (CVE-2026-97205). Although most of these vulnerabilities require specific configuration conditions, edge devices are often exposed to the public Internet. Review each one against your own configuration; mainline version 1.31.8, released on October 21, also includes these fixes.

PingCAP disclosed a confirmed data exfiltration incident: between September 9 and October 7, attackers used stolen service account credentials to access some internal systems, copy data, and obtain source code. Confirmed affected records include usernames and email addresses, organization and project relationships, SQL Editor text, and some contract, order, pricing, and billing configurations; an exported table also contained an encrypted TiDB Cloud API key. Officials have not found evidence that the key was decrypted or used, or that data stored in TiDB was affected. However, a follow-up advisory on October 20 recommends that customers rotate the management API key. Where no misuse is suspected, follow the sequence “create a new key, switch and validate it, then revoke the old key.” If misuse is suspected, revoke the key immediately and watch for targeted phishing.

AI Is Now Embedded Across the Full Vulnerability Research Lifecycle

In this round of incidents, AI was not merely background context; it directly contributed to discovery, exploit development, and patch validation. OpenAI disclosed that researcher Calif used GPT-5.6 Sol in the “Patch the Planet” project to discover a critical PHP vulnerability. Wiz independently discovered and reported two vulnerabilities and used multiple models to assist with discovery, exploit development, attack detection, and patch validation. Wiz specifically noted that one longstanding challenge in this type of research was adapting exploits to different PHP versions and memory layouts, and frontier models are lowering the barrier to that work.

Several public evaluations provide more specific quantitative profiles. In Anthropic's N-day research, models generated 8 working code-execution exploits for 18 SpiderMonkey security patches; the first crash PoC appeared in about 12 minutes, and all were completed in about 12 hours. An AWS evaluation built an isolated range from 37 real-world CVEs dating to 2025-2026, where Agents confirmed 33 flags after item-by-item review (89.2%). In Google's infrastructure security process, specialist review Agents achieve a precision rate of more than 92% in under a minute and block hundreds of vulnerabilities from entering the codebase each month. Google Threat Intelligence also observed that an average of 18 vulnerabilities per month were confirmed as exploited in the wild during the first 8 months of 2026, up from an average of 10.5 in 2025. The BeyondTrust vulnerability CVE-2026-1731, discovered by an AI research Agent, was observed in real-world attacks within 4 days of its public disclosure.

The implications for enterprises cut both ways: attackers gain the ability to adapt exploits at low cost, while defenders can also use AI to accelerate patch validation and vulnerability reproduction. The window between disclosure and weaponization is shrinking, and the pace of patch management must advance accordingly.

Enterprise Remediation Checklist

Based on this round of advisories, organize the review around four actions:

  • Inventory assets: List the exact versions of publicly exposed PHP (including PHP bundled with control panels), Node.js runtimes, Go static binaries, self-managed GitLab, and nginx. Treat unmaintained branches as affected by default.
  • Upgrade fully: Upgrade PHP to 8.2.35, 8.3.36, 8.4.27, or 8.5.12 and restart FPM/Apache. Update the Node.js base image, rebuild, and redeploy. Recompile and deploy Go with the 1.26.10 or 1.27.3 toolchain. Follow the official upgrade path for self-managed GitLab. Upgrade nginx to 1.31.7 (mainline) or 1.30.6 (stable) or later.
  • Review logs: Review PHP service logs back at least to October 17. Use the official detection rules to review self-managed GitLab for exploitation attempts.
  • Verify trust chains and credentials: Confirm that client runtimes and trust stores have been updated to address the eMudhra certificate incident. Teams using TiDB Cloud should rotate the management API key according to official guidance.

If internal teams lack the version-audit and emergency-response capabilities needed to cover every component, consider using external support for a centralized assessment: first map the exposed attack surface and version baselines, then remediate each issue in priority order. This avoids being left in limbo, aware of the vulnerabilities but unsure whether you are affected.

Need a Centralized Security Assessment?

Zhaoxun provides attack surface inventory, version baseline verification, log review, and emergency response support across web runtimes, edge appliances, and cloud service credentials.

← Back to newsroom