Tuskira AdvisoryNot observedLast updatedNovember 3, 2026

CVE-2026-116366

ClickHouse Server flaw could let an unauthenticated user run code; public PoC shows a hang, not code execution

CVE-2026-116366 is a flaw in ClickHouse Server that ClickHouse says "under certain conditions, could allow an unauthenticated user with network access to execute arbitrary code on the ClickHouse Server." ClickHouse, the CNA, scores it 9.5 on CVSS 4.0, and fixed it on October 30, 2026 in v26.3.62.3-lts, v26.8.36.3-lts, v26.9.27.3-stable and v26.10.3.7-stable. ClickHouse says the fix is already applied to all ClickHouse Cloud and BYOC deployments, so this is about self-hosted servers.

Public code posted October 31 detects vulnerable servers and makes them hang. By its own README it does not run code. ClickHouse has not said what the "certain conditions" are. The PoC author says the cause is the Brotli decoder ClickHouse bundles, the same root cause as CVE-2026-111497, reached through the HTTP interface; ClickHouse's changelog doesn't mention Brotli. No exploitation has been reported, and it is not on CISA's KEV.

Vendor
ClickHouse
Product
ClickHouse Server (self-hosted)
Affected versions
ClickHouse Server open-source versions before v26.3.62.3-lts, v26.8.36.3-lts, v26.9.27.3-stable and v26.10.3.7-stable on each branch (ClickHouse security changelog, Oct 30)
Vulnerable component
ClickHouse Server; the PoC author places it in the bundled Brotli decoder reached through the HTTP interface, which ClickHouse has not confirmed
CVSS
9.5 (ClickHouse as CNA, CVSS 4.0); NVD has not added its own score
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H (ClickHouse)
CWE
CWE-190 Integer Overflow or Wraparound (ClickHouse, on NVD)
Exploitation
Not observed
CISA KEV added
Patch
v26.3.62.3-lts, v26.8.36.3-lts, v26.9.27.3-stable, v26.10.3.7-stable or later on your branch. ClickHouse says the fix is already applied to all ClickHouse Cloud and BYOC deployments

Is it reachable for you?

What ClickHouse says. The security changelog entry, under "Fixed in ClickHouse v26.10.3.7, 2026-10-30," says "An issue has been discovered in ClickHouse Server that, under certain conditions, could allow an unauthenticated user with network access to execute arbitrary code on the ClickHouse Server." Fixed open-source versions are v26.3.62.3-lts, v26.8.36.3-lts, v26.9.27.3-stable and v26.10.3.7-stable. ClickHouse credits Elshad Toklayev. NVD shows ClickHouse's 9.5 (CVSS 4.0, attack complexity high) and CWE-190, with no NVD score of its own.

What the PoC author says. The googlesky/CVE-2026-116366 repository, created October 31, says the bug is in ClickHouse's bundled Brotli 1.2.0 decoder, fixed in Brotli 1.2.1, and shares its root cause with CVE-2026-111497. It says the path is a POST to the HTTP interface with a Content-Encoding: br body, and that the attack is unauthenticated where the default user has an empty password and the server listens beyond localhost. Its tests show a permanent CPU spin and about 60 MB of memory growth per request. It says turning that into code execution "is heap-layout dependent" and does not demonstrate it. ClickHouse has not confirmed any of this. The repository's own description says "unauthenticated RCE"; its README doesn't show that.

Not to be confused with. CVE-2026-111497, the Brotli decoder bug already on this page and on CISA KEV since October 27. If the PoC author is right, the two share a root cause, but ClickHouse fixed CVE-2026-116366 in its own releases, and those are what close it.

The test. One condition decides exposure, the version. The rest ranks which servers go first.

  1. Is the server below the fixed version for its branch? Run SELECT version() on each self-hosted server and compare it to v26.3.62.3-lts, v26.8.36.3-lts, v26.9.27.3-stable or v26.10.3.7-stable for that branch. Below it, the server is in scope. ClickHouse lists fixes only for the 26.3, 26.8, 26.9 and 26.10 lines and doesn't say whether older lines are affected.
  2. Who can reach the HTTP interface? ClickHouse documents port 8123 for HTTP and 8443 for HTTPS. Servers whose HTTP ports answer from the internet or other untrusted networks go first.
  3. Does the default user have a password? ClickHouse's HTTP documentation says that if no user name is given, "the default name is used," and if no password is given, "an empty password is used." The PoC author says an empty default password is what makes the attack unauthenticated. Check the server's user configuration.

Compensating controls (test them, don't assume them)

ClickHouse publishes no mitigation for CVE-2026-116366; its remedy is the update. The first two lines come from ClickHouse's general configuration documentation, not from guidance for this CVE. The third comes from the PoC author. Each works only under the condition at the end of it.

  • Delivery. Limit where each user can connect from with user_name/networks, which ClickHouse's user settings documentation describes as the "List of networks from which the user can connect to the ClickHouse server." This only helps if a connection from outside the allowed range is refused when you test it.
  • Delivery. Set a password on the default user, since ClickHouse's HTTP documentation says a request with no credentials uses default with an empty password. ClickHouse's docs recommend password_sha256_hex over a plaintext password. This only helps if an unauthenticated request to port 8123 or 8443 is rejected when you test it.
  • Delivery. Reject Content-Encoding: br request bodies at a reverse proxy in front of ClickHouse, which the PoC author suggests. ClickHouse's documentation lists br among the compression methods it accepts on POST bodies. This only helps if no client relies on Brotli-compressed requests and every route to the HTTP interface goes through the proxy.

Updating to the fixed version for your branch is the only fix.

What to look for in logs

ClickHouse has published no indicators. These come from the PoC author's README and describe its denial-of-service behavior, not observed attacks.

  • POST requests to the HTTP interface with Content-Encoding: br, which the PoC author pairs with a max_query_size=20000000 query parameter.
  • A ClickHouse server process stuck at full CPU, or memory growing by tens of megabytes per request, after such requests.

How Tuskira helps

Tuskira is an agentic cyber defense platform that connects to the 200+ security and IT tools you already run. When a new critical vulnerability lands, Tuskira answers three questions.

Is there a reachable path? For example, which self-hosted ClickHouse servers run a version below the fix for their branch, and which of those expose the HTTP interface with an empty default password.

Would your controls stop it? Tuskira tests the controls you already run, such as your WAF, firewall rules and EDR, against the path.

Can you close the gap now? Quell stages the compensating control change through your existing tools, with your approval, then re-tests to confirm the path is closed.

The vendor patch is the complete fix. Quell reduces exposure and proves your controls work in the meantime.

See how Quell handles emerging threats

FAQ

Am I exposed to CVE-2026-116366?

Yes, if you run a self-hosted ClickHouse Server below v26.3.62.3-lts, v26.8.36.3-lts, v26.9.27.3-stable or v26.10.3.7-stable on its branch. ClickHouse says Cloud and BYOC deployments already have the fix.

Is CVE-2026-116366 being exploited?

No exploitation has been reported, and it is not on CISA KEV as of November 3, 2026. Public code detects the bug and makes servers hang; by its own README it does not run code.

Is this the same as the Brotli vulnerability, CVE-2026-111497?

ClickHouse doesn't say. Its changelog doesn't mention Brotli. The PoC author says CVE-2026-116366 has the same root cause in the Brotli decoder ClickHouse bundles. Either way, ClickHouse's own fixed release is what closes CVE-2026-116366.

How do I mitigate CVE-2026-116366 without patching?

ClickHouse hasn't published a mitigation for this CVE. Its general docs support limiting which networks each user can connect from and setting a password on the default user, and the PoC author suggests rejecting Brotli-compressed request bodies at a proxy. Test each change, then update.

Updates

Nov 3, 2026. First published. ClickHouse fix Oct 30; public detection and denial-of-service code since Oct 31; no exploitation reported; not on CISA KEV.

Sources

We publish an advisory when a vulnerability is Critical or on CISA KEV, has one identifiable component to check, and has a public proof of concept or reported exploitation. Advisories are updated as exploitation status changes.