All vulnerabilities

Servers and applications

CVE-2025-1385

CVE-2025-1385- Fail input validation in clickhouse-library-bridge API could lead to RCE

Severity
High 7.5
Published
20 Mar 2025
Last changed
20 Mar 2025
Added to UpHeron
3 Nov 2026
Fixed in
24.3.18.6, 24.8.14.27, 24.11.5.34, 24.12.5.65, 25.1.5.5
Exploit chance
0.5% in the next 30 daysHigher than 40% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Code injection (CWE-94)
Attack
Over the network · Only under certain conditions · Needs an administrator account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Also known as
GHSA-5phv-x8x4-83x5
Sources
Project advisories (GitHub)

Description

When the library bridge feature is enabled, the clickhouse-library-bridge exposes an HTTP API on localhost. This allows clickhouse-server to dynamically load a library from a specified path and execute it in an isolated process. Combined with the ClickHouse table engine functionality that permits file uploads to specific directories, a misconfigured server can be exploited by an attacker with privilege to access to both table engines to execute arbitrary code on the ClickHouse server.

You can check if your ClickHouse server is vulnerable to this vulnerability by inspecting the configuration file and confirming if the following setting is enabled:

If you are maintaining your own forked version of ClickHouse, the fix for this vulnerability can be found in #75954.

Workaround If upgrading ClickHouse is not an option, you can disable the library bridge by commenting out the bridge configuration option.

Credit: This vulnerability was reported by Arseniy Dugin.

From ClickHouse/ClickHouse's security advisory.

Affected software

SoftwareAffected versions
ClickHouseServers and applications · github:clickhouse/clickhouse
  • Every version before 24.3.18.6
  • Every version before 24.8.14.27
  • Every version before 24.11.5.34
  • Every version before 24.12.5.65
  • Every version before 25.1.5.5

About ClickHouse

open-source Column-oriented DBMS (columnar database management system) for online analytical processing (OLAP)

From Wikidata, CC0 1.0.
Developers who used it in the past year
2.4%Stack Overflow Developer Survey 2025, 2025
Docker Hub pulls
352,926,748Docker Hub, 15 Nov 2026
GitHub stars
50,933GitHub, 15 Nov 2026
Forks
9,263GitHub, 15 Nov 2026
Latest release
v26.9.28.166-stableGitHub, 15 Nov 2026
Released
14 Nov 2026GitHub
Developer
YandexWikidata
License
Apache Software License 2.0Wikidata
Written in
C++Wikidata
First released
15 Jun 2016Wikidata
First published on GitHub
2 Jun 2016GitHub

Release lines

ReleaseLatestSecurity fixes
26.1026.10.4.207Yes
26.926.9.28.166Yes
26.8 (LTS)LTS26.8.37.168Until 27 Aug 2027
26.726.7.37.6Ended 24 Oct 2026
26.626.6.8.7Ended 21 Sept 2026
26.526.5.7.64Ended 27 Aug 2026

From endoflife.date.

References