---
title: "Node.js Brotli Exposure Check (CVE-2026-111497)"
canonical: https://trickest.com/library/nodejs-brotli-exposure-check-cve-2026-111497
description: "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."
---

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

## 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](/use-cases/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.

```jsonl
{"target": "https://api-a.example.com", "br_result": "accepted", "br_detail": "200 with application error on decoded content", "gzip_result": "accepted", "node_version": "22.20.0", "node_version_verdict": "affected", "verdict": "br_exposed_vulnerable_build", "detail": "Brotli path reachable on a pre-fix Node.js build", "error": null}
{"target": "https://api-b.example.org", "br_result": "accepted", "br_detail": "200", "gzip_result": "accepted", "node_version": null, "node_version_verdict": null, "verdict": "br_exposed", "detail": "Brotli path reachable; runtime version unverified", "error": null}
{"target": "https://api-c.example.net", "br_result": "rejected", "br_detail": "415 unsupported media type", "gzip_result": "rejected", "node_version": null, "node_version_verdict": null, "verdict": "not_exposed", "detail": "rejects compressed bodies generally", "error": null}
```

```json
{"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.

## Related workflows

- [Langflow Code Injection (CVE-2026-33017)](/library/langflow-code-injection-check-cve-2026-33017). Reach for it when the next exposure question is about an LLM builder, not a runtime library.
- [PHP CGI RCE (CVE-2024-4577)](/library/php-cgi-rce-check-cve-2024-4577). Reach for it when the next runtime flag is a PHP CGI host on Windows.
- [LiteLLM SQL Injection (CVE-2026-42208)](/library/litellm-sql-injection-check-cve-2026-42208). Reach for it when the next flagged API surface is a model proxy.

---
_Markdown source of https://trickest.com/library/nodejs-brotli-exposure-check-cve-2026-111497._
