CVE

Node.js Brotli Exposure Check (CVE-2026-111497)

Send one tiny valid Brotli body to each web service and record which ones decompress it, then corroborate Node.js versions against the fixed releases.

AuthorTrickest
100%

Notes on this workflow

Node.js Brotli Exposure Check — CVE-2026-111497

Finds services that decompress attacker-supplied Brotli request bodies and scores the exposure to CVE-2026-111497 (Google Brotli decoder out-of-bounds write as bundled in Node.js, CVSS 9.8 / CVSS 4.0 9.2, CISA KEV, public PoC). This is an EXPOSURE check by design: a malformed stream would be the vulnerability itself, so the probe sends only a valid, benign Brotli stream and corroborates with version evidence where it exists. Crash-based differentials are never sent. Node.js advisory

Target List

A FILE of service URLs, one per line — endpoints that may accept compressed request bodies (Express 5 + body-parser 2.x accept br out of the box; any app calling createBrotliDecompress on the request stream qualifies). The workflow fails closed when the input is missing or empty.

Results

findings.jsonl: one row per target — verdict (br_exposed_vulnerable_build / br_exposed / not_exposed / inconclusive / error / not_product), detected Node version, br and gzip results, CVSS 9.8 / 9.2, KEV flag, remediation. summary.jsonl: verdict counts, vulnerable-build and exposed target lists, coverage note. This check proves reachability, not exploitability: outbound fetch() exposure to Content-Encoding: br responses is not visible from outside and is not covered. Inconclusive and error rows are never clean.

Br Probe — how it works

Part 1: one POST with Content-Encoding: br carrying an 18-byte VALID Brotli stream (decompresses to the harmless string probe-trickest; generated with a stock patched zlib, never hand-built). A server that decodes it answers 2xx/3xx or with its own validation error for the DECODED content (e.g. a JSON parse error) — the vulnerable code path is reachable. 415 or an explicit encoding rejection means the body was not decompressed. One gzip control request separates br-specific decisions from a general compressed-body policy. Part 2: version evidence from headers and the homepage is matched against the fixed releases (22.23.4 / 24.22.1 / 26.12.1; EOL lines have no fix). br-accepting + pre-fix build = vulnerable build in the request path; without version evidence the verdict stays br_exposed (version unverified). If a target resets or times out, it is recorded and never retried.

Overview

This workflow maps which of your web services accept Brotli-compressed request bodies, the reachability precondition for CVE-2026-111497, the out-of-bounds write in the bundled Google Brotli decoder that CISA listed on KEV. An unauthenticated crafted stream can corrupt decoder memory on a vulnerable Node.js build, with disclosure, denial of service, and possible code execution on the table. Acceptance alone proves nothing about the version, so this is an exposure workflow by design: a service that decompresses Brotli on an unconfirmed build is exposed until you verify the runtime. Give it URLs and it sends one tiny valid Brotli stream per target, a gzip control request to separate encoding handling from Brotli-specific behavior, and any version evidence it can find on the host. Each target comes back with a verdict you can feed into exposure management.

Pipeline

  1. Read the target list and send one POST with Content-Encoding: br carrying a valid 18-byte Brotli stream. The body is generated with a stock patched implementation and is never a malformed stream or a decompression bomb.
  2. Read the answer: a 2xx or 3xx, or an application error about the decoded content, means the Brotli path is reachable. A 415 or explicit encoding rejection means the body was not decompressed.
  3. Send one gzip control request to separate targets that reject compressed bodies generally from a Brotli-specific decision.
  4. Corroborate with any visible Node.js version and classify it against the fixed releases 22.23.4, 24.22.1, and 26.12.1; older unsupported lines count as affected, since they never get the fix.
  5. Reconcile one verdict per target and write findings plus summary counts.

Inputs

  • Target list. URLs of web services you are authorized to test. The default file ships a sample fleet list; bind your own.

Outputs

  • findings.jsonl. One row per target: URL, whether the Brotli body was accepted, the gzip control result, any Node.js version found and its verdict, the overall verdict, and severity.
  • summary.jsonl. One line with verdict counts and the sorted target lists per verdict.

Integrations

  • HTTP. One POST per probe with a valid tiny Brotli body, one gzip control request, no fuzzing loops and no malformed variants.

Sample output

The records below are illustrative and do not come from a real run. They show a service that accepts Brotli on an old build, one where the version could not be confirmed, and one that rejects encoded bodies.

targetbr_resultbr_detailgzip_resultnode_versionnode_version_verdictverdictdetailerror
https://api-a.example.comaccepted200 with application error on decoded contentaccepted22.20.0affectedbr_exposed_vulnerable_buildBrotli path reachable on a pre-fix Node.js buildnull
https://api-b.example.orgaccepted200acceptednullnullbr_exposedBrotli path reachable; runtime version unverifiednull
https://api-c.example.netrejected415 unsupported media typerejectednullnullnot_exposedrejects compressed bodies generallynull
{"cve": "CVE-2026-111497", "total_targets": 3, "verdict_counts": {"br_exposed_vulnerable_build": 1, "br_exposed": 1, "not_exposed": 1}, "exposed_targets": ["https://api-a.example.com", "https://api-b.example.org"], "vulnerable_build_targets": ["https://api-a.example.com"], "not_exposed_targets": ["https://api-c.example.net"], "error_targets": []}

FAQ

Does an exposed verdict mean the service is vulnerable?

No. Acceptance proves the Brotli code path is reachable, never that the build is vulnerable. Only a target where Brotli is accepted and a visible pre-fix Node.js version corroborates it gets the vulnerable-build verdict. Everything else stays an exposure row that needs the runtime version verified on the host.

Which Node.js versions are affected?

The fixed releases are 22.23.4, 24.22.1, and 26.12.1 on their lines. Unsupported older lines never receive the fix, so the workflow counts them as affected when a version is visible. Bun and other Brotli consumers are outside what this check can classify.

Is the probe safe to send anywhere?

Yes. The body is a valid 18-byte stream that decompresses to a short test string, generated with a patched implementation. There are no malformed streams, no decompression bombs, and no retry loops; a target that resets or times out is marked and not retried.

What is CVE-2026-111497?

An out-of-bounds write in the Google Brotli streaming decoder, bundled in Node.js and other consumers. A crafted stream makes the decoder keep appending input past an eight-byte buffer. CISA listed it on KEV in October 2026.

Get a personalized demo

See Trickest in Action

A 30-minute walkthrough. We map the platform to your stack and answer pricing and deployment questions for your environment.