---
title: "ClickHouse Brotli Exposure (CVE-2026-116366)"
canonical: https://trickest.com/library/clickhouse-brotli-exposure-check-cve-2026-116366
description: "One ping and one read-only version query classify ClickHouse HTTP interfaces against the fixed-build list for the CVE-2026-116366 Brotli overflow."
---

# ClickHouse Brotli Exposure (CVE-2026-116366)

## Overview

This workflow classifies ClickHouse Server HTTP interfaces for CVE-2026-116366, the out-of-bounds write in the bundled Brotli decoder that a public proof of concept turns into a working denial of service, with code execution dependent on heap layout. The sibling library bug CVE-2026-111497 is already KEV-listed, which is why this page treats its ClickHouse-specific cousin as urgent even though it is not on the list itself. The trigger is a Brotli-compressed malformed POST body, which this workflow will never send: its only requests are the /ping identifier and one read-only version query, with the query guard accepting nothing but the verbatim constant, no settings manipulation, and no retries. Classification uses the fixed-build list from the security changelog, because coarse CVE ranges overstate the risk. Field context: about 9,333 ClickHouse hosts answer on the HTTP port. Each host comes back with a verdict you can feed into [exposure management](/use-cases/exposure-management).

## Pipeline

1. Read the target list and send at most two spaced GETs per host: /ping, whose Ok response identifies the ClickHouse HTTP interface, and one read-only version query using the exact constant query string.
2. The outgoing requests are two constants. No Brotli body, no malformed stream, no Content-Encoding header of any kind, no INSERT or DDL, and no max_query_size manipulation, which appears in the public proof of concept and is prohibited here.
3. Classify the version against the fixed-build list from the security changelog: 26.3 below 26.3.62.3-lts, 26.8 below 26.8.36.3-lts, 26.9 below 26.9.27.3-stable, and 26.10 below 26.10.3.7-stable are affected; at or above each train's fix is patched; builds on other lines are unlisted and stay unlisted for out-of-band verification.
4. Fail closed elsewhere: unreachable hosts are error rows, a 5xx is an error row and the scan stops, and responses without ClickHouse markers are not_clickhouse.
5. Reconcile one verdict per target and write findings plus summary counts.

## Inputs

- **Target list.** ClickHouse server addresses, with optional ports, that you are authorized to test. The default file ships a sample host; bind your own.
- **Inventory file.** Optional. Host-to-version rows from your asset system, used where the version query stays silent.

## Outputs

- **findings.jsonl.** One row per host: target, the ping and query results, the version and its train, verdict, severity, and the changelog-reference note.
- **summary.jsonl.** One line with the total, verdict counts, the fixed-build list, and the sibling-CVE context.

## Integrations

- HTTP. At most two GETs per host with at least one second of spacing, both constant requests, no retries.

## Sample output

The records below are illustrative and do not come from a real run. They show a server on an affected build, a patched one, and one on an unlisted line.

```jsonl
{"target": "ch-a.example.com", "port": 8123, "ping_ok": true, "version": "26.3.60.1-lts", "verdict": "ch_exposed_affected", "detail": "HTTP interface answers on a build below the 26.3.62.3-lts fix", "error": null}
{"target": "ch-b.example.org", "port": 8123, "ping_ok": true, "version": "26.8.36.3-lts", "verdict": "ch_patched", "detail": "at the fixed build for its train", "error": null}
{"target": "ch-c.example.net", "port": 8123, "ping_ok": true, "version": "25.12.4.22-stable", "verdict": "ch_version_unlisted", "detail": "line not in the changelog list; verify against the security changelog out of band", "error": null}
```

```json
{"cve": "CVE-2026-116366", "product": "ClickHouse Server (bundled Brotli decoder)", "total_targets": 3, "verdict_counts": {"ch_exposed_affected": 1, "ch_patched": 1, "ch_version_unlisted": 1}, "kev": false, "sibling": "CVE-2026-111497 is the KEV-listed Brotli bug in other consumers", "field_context": "about 9,333 ClickHouse hosts observed on HTTP 8123"}
```

## FAQ

### Why use a fixed-build list instead of the CVE range?

Because coarse version ranges overstate the risk: pre-fix 26.8 and 26.9 builds bundled a Brotli version that was not practically vulnerable. The security changelog names the exact builds per train, and the workflow compares against that list rather than a range that would flag hosts that never were at risk.

### Can this workflow send a malformed Brotli body?

No. The trigger is a compressed malformed POST to the HTTP interface, and the workflow's requests are two GET constants with the query guard accepting only the verbatim read-only version query. Settings manipulation appears in the public proof of concept and is explicitly prohibited.

### What does an exposed verdict mean here?

It means a ClickHouse HTTP interface answers unauthenticated on a build below its train's fix, for a bug with a public weaponized denial-of-service proof of concept and heap-layout-dependent code execution. Treat it as patch-to-the-fixed-build, and note the sibling KEV entry for urgency.

### What is CVE-2026-116366?

An out-of-bounds write in the Brotli decoder bundled with ClickHouse Server, disclosed by the ClickHouse CNA in October 2026 and fixed on four trains. ClickHouse is not on CISA KEV for this bug; the sibling consumer bug is.

## Related workflows

- [Node.js Brotli Exposure Check (CVE-2026-111497)](/library/nodejs-brotli-exposure-check-cve-2026-111497). Reach for it when the next Brotli question is a Node.js runtime instead of ClickHouse.
- [llama.cpp RPC Check (CVE-2026-118375)](/library/llama-cpp-rpc-check-cve-2026-118375). Reach for it when the next internal-surface memory-corruption flag is an inference backend.
- [Full Network Port and Service Assessment](/library/full-network-port-and-service-assessment). Map which hosts answer on the analytics HTTP port across the estate.

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