Target: ClickHouse Server HTTP interface (default 8123). CVE-2026-116366 CWE-190: OOB write in the bundled Brotli decoder v1.2.0 (September contrib bump) - unauthenticated POST with malformed Brotli body corrupts the heap; PoC weaponized as DoS (workers spin at 100% CPU, ~60 MB RSS per request), RCE heap-layout-dependent. CVSS 4.0 9.5. Sibling library bug CVE-2026-111497 already KEV.
Results: out/results.jsonl + out/findings.jsonl (9.5, EPSS 1.1%, KEV no; sibling CVE-2026-111497 KEV note). Affected rows: upgrade to the line fixed build, verify Cloud/BYOC deployment type, and keep 8123/9000 off untrusted networks - an open analytics endpoint is its own critical exposure class.
How it works: targets -> parse-targets -> fingerprint -> report. GET /ping (Ok. identifier) then GET /?query=SELECT version() FORMAT TSV (one read-only query). Fixed-build gate: 26.3<62.3 / 26.8<36.3 / 26.9<27.3 / 26.10<3.7 affected; at/above patched; other lines unlisted -> changelog verify. Cloud/BYOC already patched - deployment type not remotely readable.
Safety: Brotli-compressed bodies, malformed streams and Content-Encoding: br are the trigger and are categorically out - the guard strips body kwargs and refuses any header injection; the query guard accepts only the verbatim version query (SELECT 1 is refused too). No SETTINGS manipulation (max_query_size appears in the PoC). Analytics data at scale: identify-then-stop.
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.
Pipeline
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.
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.
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.
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.
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.
target
port
ping_ok
version
verdict
detail
error
ch-a.example.com
8123
true
26.3.60.1-lts
ch_exposed_affected
HTTP interface answers on a build below the 26.3.62.3-lts fix
null
ch-b.example.org
8123
true
26.8.36.3-lts
ch_patched
at the fixed build for its train
null
ch-c.example.net
8123
true
25.12.4.22-stable
ch_version_unlisted
line not in the changelog list; verify against the security changelog out of band
null
{"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.