Skip to content
RCE Write-up Advanced

Unauthenticated RCE vulnerability against ClickHouse Server

ClickHouse Server contained a flaw that, under certain conditions, let an unauthenticated attacker with network access run arbitrary code on the server. The advisory gives no technical detail on the mechanism, only affected and fixed versions.

cve.now

Published on cve.now

ClickHouse Server 26.3 through 26.10 lines before their fixed builds, and ClickHouse Cloud, are affected. Fixed in open-source 26.3.62.3-lts, 26.8.36.3-lts, 26.9.27.3-stable and 26.10.3.7-stable.

The author, on cve.now

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a memory-safety flaw in the server's handling of network requests, though the advisory itself does not state the cause.

Impact

An unauthenticated attacker with network access could execute arbitrary code on the server; the advisory does not say whether default configurations are exposed.

What the attacker needed

Network access to the server; no login required; unknown if non-default setup needed

The fix

It was fixed by upgrading to the listed builds, such as [redacted]-lts and [redacted]-lts.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

ClickHouse is a database server, software that stores and answers queries over the network. A remote code execution bug means an outsider can make the server run their own commands, without logging in, which usually means full control of the machine. This page is a short advisory: it names the versions to upgrade and says little about how the bug works.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.