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.
Affected software
| Software | Affected versions |
|---|---|
ClickHouseServers and applications · github:clickhouse/clickhouse |
|
About ClickHouse
open-source Column-oriented DBMS (columnar database management system) for online analytical processing (OLAP)
- 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
Website Source code Docker image
Release lines
| Release | Latest | Security fixes |
|---|---|---|
| 26.10 | 26.10.4.207 | Yes |
| 26.9 | 26.9.28.166 | Yes |
| 26.8 (LTS)LTS | 26.8.37.168 | Until 27 Aug 2027 |
| 26.7 | 26.7.37.6 | Ended 24 Oct 2026 |
| 26.6 | 26.6.8.7 | Ended 21 Sept 2026 |
| 26.5 | 26.5.7.64 | Ended 27 Aug 2026 |
From endoflife.date.
Vulnerabilities in ClickHouse
- In our list
- 28
- Published in the last 12 months
- 2
- Critical, last 12 months
- 2
- High, last 12 months
- 0
- Known exploited
- 1
- CVE-2026-116366Unauthenticated RCE vulnerability against ClickHouse ServerCritical 9.5 30 Oct 2026
- CVE-2026-111497Bundled brotli decoder has an out-of-bounds write (CVE-2026-111497)Critical 9.2 21 Oct 2026 · Exploited
- CVE-2019-16536Stack overflow leading to DoS can be triggered by a malicious authenticated client in Clickhouse before 19.14.3.3.High 8.2 21 May 2025
- GHSA-8j36-9622-f5cjClickHouse HTTP header CRLF injectionMedium 5.8 10 Apr 2025
- CVE-2024-41436ClickHouse v24.3.3.102 was discovered to contain a buffer overflow via the component DB::evaluateConstantExpressionImpl.High 7.5 3 Sept 2024
- CVE-2024-6873Specially crafted request could caused undefined behavior which may lead to Remote Code Execution.High 1 Aug 2024
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2025-1385
- GitHub Advisory Database https://github.com/advisories/GHSA-5phv-x8x4-83x5
- github.com https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-5phv-x8x4-83x5