Advisories

Node2Shell Security Advisory

Updated at:

28 October 2026 14:28 UTC

Remote code execution through vulnerable Brotli decompression in applications and embedded runtimes

Executive summary

Organizations should urgently identify and update applications that decompress attacker-controlled Brotli data using an affected decoder. CVE-2026-111497, commonly called Node2Shell, is a memory-safety vulnerability in Google Brotli that can lead to remote code execution, memory disclosure, or service disruption. Node.js bundles the decoder, but the response must also cover other products and runtimes that include it. [1], [2]

CISA added the vulnerability to its Known Exploited Vulnerabilities catalog on 27 October 2026. Its listed remediation deadline for covered federal agencies is 10 November. Organizations outside that mandate should set their own response deadlines based on actual exposure and business impact. [3]

The exposure can begin with an incoming compressed request or a malicious response fetched by the application. An internal service that retrieves external content therefore belongs in scope alongside public APIs. Retool's disclosure documents an outbound response-decompression path in its affected self-hosted product. [6]

The business impact depends on the process that is compromised: its access to customer data, service credentials, deployment systems, or infrastructure management functions. Prioritize reachable production services and privileged workloads. Confirm the deployed fix across every replica and separately investigate evidence of prior exploitation.

Senior leaders should request initial answers to four questions:

  • Where can untrusted data reach an affected decoder? Include inbound bodies, outbound responses, background jobs, and vendor-managed products.
  • What does each workload support and what can it access? Identify business services, sensitive data, workload identities, and operational dependencies.
  • Who owns the fix and any interim control? Name an application or platform owner and an accountable service owner.
  • What evidence will establish closure? Require the deployed artifact or vendor build, replacement of old processes, validation of the affected path, and disposition of suspicious activity.

A Node.js inventory is a starting point. It does not establish whether the vulnerable decoder is used, whether attackers can reach it, or whether exploitation occurred.

Affected components and exposure assessment

The underlying issue affects Google Brotli versions 1.0.3 through 1.2.0, with fixes on the 1.0, 1.1, and 1.2 branches. Distribution backports and product-specific packages require vendor verification. Compare the complete package build and advisory status, not only the upstream version. [2]

Scroll horizontally on smaller screens to view all columns.

ComponentFix or response targetVerification needed
Node.js 22.x22.23.4 or later supported releaseExecutable used by each running workload
Node.js 24.x24.22.1 or later supported releaseDeployed image and running executable
Node.js 26.x26.12.1 or later supported releaseDeployed image and running executable
Google Brotli libraryFixed branch releases 1.0.10, 1.1.1, or 1.2.1Library actually linked or bundled; vendor backport status
Python Brotli package1.2.1Resolved package in each deployed environment
Other bindings and embedded productsProduct-specific update or mitigationProduct advisory, build, configuration, and deployment evidence

Node.js and Brotli targets are documented in their upstream releases; the Python release is published on PyPI. End-of-life Node.js deployments should move to a supported, patched release or a vendor-supported build explicitly fixing this CVE. [1], [4], [5]

What makes an application exposed

The decisive question is whether attacker-controlled bytes reach a vulnerable Brotli decoder. Review HTTP middleware, HTTP clients, explicit decompression APIs, and processing of compressed files or messages. A package name, a listening port, or an HTTP response header cannot answer this alone.

Distinguish decompression from compression. A service that only compresses outgoing responses does not establish the vulnerable decoder path. Likewise, blocking a public endpoint does not address a background worker that retrieves and decompresses content from an external source.

Use the following Tonic response criteria to preserve the distinction between relevance, exposure, exploitation, and compromise.

Scroll horizontally on smaller screens to view all columns.

EvidenceInterpretationNext action
Node.js or Brotli appears in inventoryCandidate component identifiedResolve build, runtime, and decoder usage
Affected decoder confirmed; usage unresolvedVulnerable component present; reachability unknownInspect application and dependency behavior
Untrusted input reaches affected decoderReachable vulnerable path establishedPatch urgently and reduce that path pending deployment
Matching exploit input or decompression crashAttempt or suspicious failure; RCE unprovenPreserve evidence and correlate process activity
Unauthorized execution or access linked to workloadEvidence supports compromiseActivate incident response and assess downstream access
Missing versions, stale inventory, or absent runtime logsExposure or history unknownObtain independent evidence and assign the gap

Embedded products need separate decisions

These examples show why a Node.js-only campaign can miss relevant systems. This is a selected vendor list, not an exhaustive inventory.

  • Self-hosted Retool: the vendor identifies affected release ranges and fixed releases 4.34.12+ and 4.0.25+ on the respective stable branches. It reports its cloud service was patched on 21 October. Verify the applicable deployment model and branch. [6]
  • Microsoft .NET: Microsoft lists patched runtimes 8.0.33, 9.0.22, and 10.0.14, with separate preview and package guidance. ASP.NET Core and HttpClient do not enable Brotli decompression by default. Self-contained and NativeAOT applications require rebuilt deployments; a machine runtime update alone is insufficient for an embedded copy. [7]
  • PHP Windows packages: PHP released 8.2.35-1, 8.3.36-1, 8.4.27-1, and 8.5.12-1 with updated Brotli. The runtime versions are unchanged. Exposure is through cURL response decompression when enabled, which is disabled by default. A PHP2Shell runtime-version check alone does not establish this separate fix. [8]
  • Palo Alto Networks: PAN-OS applicability requires enabled Brotli inspection and TLS/SSL decryption on the dataplane. The vendor states the management interface and Panorama are unaffected. Prisma Cloud Application Security Transporter Client has a separate fix at 0.2.9. Use the current branch matrix; some PAN-OS targets remain scheduled. PAN-OS 11.2.10-h16 fixes PHP2Shell but requires 11.2.10-h17 for both issues. The 28 October advisory removed the previous Threat ID guidance, so do not retain that as a current recommended control. [9]
  • VMware SDDC Manager: Broadcom publishes distinct interim workarounds for 5.2.4, 9.0.2, and 9.1.0, and for 9.1.1.x. Follow the procedure for the deployed version, including its backup and validation requirements. Do not replace an appliance's embedded Node.js independently of vendor guidance. [10], [11]

Finding and prioritizing affected environments with Tonic

Use the security data and context available in Tonic to build the candidate population, attach the source evidence, and route the remaining checks. Source coverage determines what can be concluded; a zero-match search does not clear systems absent from the connected data.

  1. Find candidate components and products. Review software, package, AppSec, image, and workload evidence for Node.js, Brotli, and vendor-confirmed affected products. Preserve the original source record and its observation time.
  2. Connect each match to a deployed service. Establish whether the evidence represents a developer installation, a build artifact, a stored image, or a running production workload. Track unresolved relationships as validation work.
  3. Determine the data path. Ask the responsible team which middleware or HTTP client decompresses Brotli and how an attacker could supply the data. Record supporting configuration or code evidence and the limits of that review.
  4. Prioritize by business consequence. Put reachable services supporting critical business operations, sensitive information, or privileged identities first. Keep ownership and runtime uncertainty visible rather than reducing their priority by default.
  5. Route with evidence and track validation. Include the affected artifact, service, owner, relevant data path, recommended fix, and closure requirement in each remediation action.

For example, a package finding linked to an internal integration worker should prompt a focused question: can a user-controlled URL cause this worker to fetch and decompress an external response? If so, the absence of an internet-facing listener does not remove that path. Confirm the worker image, service identity, and deployment owner before closing the action.

Group workloads by a proven shared fix, such as a common runtime image or vendor release. Do not collapse separate services into one completed action simply because their package names match.

Immediate response priorities

First hour

  1. Assign a response lead and service owners. Open urgent remediation for confirmed reachable paths. Assign investigation ownership when exploit or compromise evidence is present.
  2. Reduce the specific untrusted input path. Where the application permits it, reject Brotli-encoded incoming bodies before decompression and disable Brotli response decompression for untrusted destinations. Check background jobs and direct API calls as well as HTTP middleware. Test the operational effect with the service owner.
  3. Stop vulnerable artifacts from being redeployed. Update pinned base images and release configurations, and track workloads that can reappear through autoscaling, scheduled jobs, or rollback.
  4. Preserve useful evidence. Retain request and proxy logs, process and container history, image digests, crash records, deployment events, and workload identity information before ephemeral instances disappear.
  5. Escalate credible compromise evidence. Isolate affected workloads through established response controls and investigate the authority they held. Vulnerable-component presence alone does not establish credential theft.

These are Tonic response recommendations. Interim controls must be verified at the component performing decompression. Removing a negotiation header alone does not prove that a client will reject a malicious compressed response. Reject unsupported encodings or disable the decoder through supported application configuration, then test that behavior.

First day

Deploy fixed artifacts, replace old processes, and verify every relevant environment, including replicas, workers, serverless versions, staging systems, CI jobs, and vendor appliances. Assign a deadline and evidence requirement for systems that cannot yet be patched.

For the exposure timeline, establish when the vulnerable workload first became reachable through the relevant path and when that path was removed or patched. Use available historical logs; do not assume attacks began only when public reporting appeared. Record retention gaps and obtain an explicit investigation decision from the response lead.

Review failures around suspicious requests and fetched responses. Correlate crashes, replacements, unexpected execution, network activity, and identity use. Preserve core dumps through approved collection controls because they may contain secrets. Avoid distributing them through routine tickets or chat attachments.

Technical analysis

How the decoder fails

The Node.js project describes an invalid Brotli block switch being treated as a request for additional input instead of a permanent format error. The streaming decoder continues appending bytes past an internal buffer, corrupting process memory. Potential outcomes include crashes, disclosure, and code execution. The vulnerable operation is decompression through the bundled native library. Updating an application dependency without replacing the affected runtime does not necessarily update that library. [1]

Demonstrated exploitation and its limits

Imperva reports RCE on an official Linux arm64 Node.js build through fetched responses and Express request handling. ELLIO independently reports RCE on x86-64 across plain HTTP, an official container image, Express, and Koa configurations using Node.js 24.22.0. These establish practical exploitability in tested configurations, not identical reliability across all versions or operating systems. [12], [13]

ELLIO also reports exploit traffic observed on 26 October, but its detailed analysis says the observed actor's final execution chain failed in its reproduction tests. This is evidence of attack attempts and adoption, not proof that every observed request produced a shell. CISA's subsequent KEV listing establishes known-exploited status without disclosing the details of the underlying incidents. [13], [3]

Node.js classifies the issue as High; the Google CNA record carries a CVSS v4 score of 9.2 Critical. Product-specific assessments can differ. Operational urgency should follow the reachable decoder path and the workload's authority. [1], [2]

Comparison with PHP2Shell

PHP2Shell and Node2Shell can both enable unauthenticated execution in a server process. Their exposure tests differ. PHP documents a demonstrated mod_php path during request startup, before application code. Node2Shell requires attacker-controlled data to reach Brotli decompression; that can occur in ordinary middleware or an HTTP client. Treat both urgently where their respective paths exist. [16], [1]

The two fixes must be tracked separately even when a vendor bundles them in one release. A PHP2Shell campaign cannot clear this CVE without package- or product-specific evidence.

Detection and threat hunting

Use several layers of telemetry. No single response header, source IP, crash, or process name establishes exploitation. The following hunting recommendations require validation against the telemetry available in the environment.

Network and application evidence

Look for unexpected Brotli-encoded bodies reaching services that normally do not accept them, bursts associated with worker failures, and fetched compressed responses preceding crashes or execution anomalies. Map proxy or load-balancer events to the destination workload and affected deployment revision.

An ingress log may record request metadata without the body. TLS termination, sampling, retention, and normalization affect what is visible. A request blocked at a proxy does not establish decoder execution; a request logged as accepted does not establish successful RCE. Review egress response handling separately.

Process behavior and workload restarts

Datadog's published detection looks for a Node process replacing itself with another program through an in-place exec, optionally correlated with the public proof-of-concept stream. Its stream match has cleartext IPv4 and attribution limitations. This explains why a hunt limited to child shells can miss relevant behavior. Validate that the host sensor records executable replacement and preserves the originating workload identity. [14]

Review unexpected shells, downloads, temporary executables, persistence changes, and access to secret stores from the affected service. Correlate these with crash and restart timelines. Legitimate application features and administrative work can produce similar events; assess each match against the service baseline.

Microsoft Defender process hunt

The query below is an illustrative starting point for unusual shell or transfer-tool activity initiated by Node.js. It has not been run in a production tenant. It uses documented process-event fields; validate operating-system coverage, event semantics, retention, and expected application behavior before using it for alerts. It does not detect the vulnerable component or prove this CVE was used. [15]

let StartTime = ago(14d);
DeviceProcessEvents
| where Timestamp >= StartTime
| where InitiatingProcessFileName in~
    ("node", "nodejs", "node.exe")
| where FileName in~
    ("sh", "bash", "dash", "zsh", "curl", "wget",
     "cmd.exe", "powershell.exe", "pwsh.exe")
| project Timestamp, DeviceId, DeviceName, AccountName,
          FileName, ProcessCommandLine, ProcessId,
          InitiatingProcessFileName, InitiatingProcessCommandLine,
          InitiatingProcessId, InitiatingProcessCreationTime
| order by Timestamp asc

Extend the lookback to the established exposure window where retention allows. Renamed or embedded executables and in-place exec behavior may not match this parent-process pattern. A zero-result query leaves those paths unresolved. Avoid collecting secrets unnecessarily when exporting command-line evidence.

Investigate downstream authority when warranted

Where execution or other credible compromise evidence exists, identify the workload role, service account, mounted credentials, database access, and deployment permissions available at that time. Review their use after the earliest plausible compromise. Replacing a container does not invalidate credentials or remove changes made elsewhere.

Revoke or rotate potentially exposed authority from a clean administrative environment, coordinated with containment and service recovery. Scope the action to the evidence and the affected process's access. Do not issue replacement secrets into a workload that remains suspect.

Remediation and validation

Replace the decoder that the workload actually uses

For applications, establish whether the decoder is bundled, statically linked, supplied by a system package, or embedded in another runtime. Use vendor guidance to select a fixed build, rebuild dependent artifacts where necessary, and replace running instances. An update to a host library cannot establish that a statically bundled copy changed.

For .NET, follow Microsoft's separate deployment guidance for framework-dependent, self-contained, and NativeAOT applications. For appliances and managed products, use the supported product update or workaround. Keep confirmation of a vendor-managed rollout with the affected service record. [7]

Record the deployed image digest or complete package build, the deployment time, and evidence that old replicas and workers are gone. Ensure deployment templates, scale-out paths, and rollback targets cannot silently restore the vulnerable version.

Validate the path and the business service

Use controlled, non-exploitative functional checks to verify the intended decoder behavior, rejection policy, and normal application flows. Avoid public exploit or crash-oriented scanners on production systems. Test any authorized exploit reproduction in an isolated environment with representative artifacts.

Confirm required request formats, fetched content, scheduled jobs, and integrations still function. If a temporary restriction remains, name its owner, expiry or review date, operational cost, and permanent replacement plan.

Evidence required to close remediation

Close each affected workload only when its owner can show:

  • The affected or potentially affected component and the relevant untrusted data path, with evidence and any remaining uncertainty.
  • The fixed artifact or vendor package deployed to every in-scope instance, with old processes replaced.
  • Updated build and deployment inputs that prevent recurrence through scaling or rollback.
  • Functional validation of the service and confirmation that any temporary control works where decompression occurs.
  • A documented review of suspicious activity during the exposure window, with a separate incident decision where warranted.
  • An accountable owner for remaining coverage, telemetry, vendor, or configuration gaps.

Keep remediation and incident recovery as distinct decisions. Patching closes the vulnerable execution path once deployment is verified. It does not establish that earlier exploitation never occurred or that a compromised identity is no longer usable.

Reducing future exposure

Maintain an inventory that links runtime and library builds to deployed services and owners. Preserve image provenance and package evidence long enough to reconstruct what ran during an exposure window. Include embedded components in vendor products and compiled applications.

Make decompression behavior explicit in application standards. Record which formats each boundary accepts, where decoding occurs, which remote destinations a worker can fetch, and who owns changes. Apply least privilege to workload identities and restrict outbound access where practical.

Build response campaigns around shared deployable fixes and explicit validation. The useful outcome is a defensible record of which services were exposed, which owners acted, which artifacts replaced the vulnerable decoder, and which evidence supports closure.

Sources

  1. Node.js security releases, 21 October 2026.
  2. Brotli vulnerability record, CVE-2026-111497.
  3. CISA KEV catalog, catalog version 2026.10.27, reviewed 28 October 2026.
  4. Brotli releases, fixed library branches.
  5. Python Brotli release, 22 October 2026.
  6. Retool disclosure, 23 October 2026.
  7. Microsoft advisory, 25 October 2026.
  8. PHP Windows rebuild announcement, 26 October 2026.
  9. Palo Alto Networks advisory, updated 28 October 2026.
  10. Broadcom earlier-version workaround, updated 27 October 2026.
  11. Broadcom 9.1.1.x workaround, updated 27 October 2026.
  12. Imperva research, demonstration on official Node.js builds.
  13. ELLIO research, 25 October with 26 October update.
  14. Datadog detection documentation, Node2Shell runtime detection and telemetry limits.
  15. Microsoft process-event schema, fields used in the illustrative hunt.
  16. PHP technical advisory, comparison of request handling paths.