CVE-2025-1385 Details
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: <library_bridge> <port>9019</port> </library_bridge>
A remote code execution vulnerability exists in ClickHouse when the library bridge feature is enabled. The vulnerable component, clickhouse-library-bridge, exposes an HTTP API on localhost that allows clickhouse-server to dynamically load and execute libraries in isolated processes. This vulnerability can be exploited on misconfigured servers that permit file uploads to specific directories, enabling an attacker with access to both table engines to execute arbitrary code on the ClickHouse server.
Users can upgrade to ClickHouse versions 24.3.18.6, 24.8.14.27, 24.11.5.34, 24.12.5.65, or 25.1.5.5. For those maintaining a forked version of ClickHouse, the fix is available in pull request #75954. If an upgrade is not possible, the library bridge can be disabled by commenting out the bridge configuration option.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 20, 2025CISA-ADP
Assessed Mar 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-5phv-x8x4-83x5 | ClickHouse | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | ClickHouse |
Affected Products
| Product | Versions |
|---|---|
| ClickHouse | < 24.3.18.6 < 24.8.14.27 < 24.11.5.34 < 24.12.5.65 < 25.1.5.5 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | ClickHouse |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 20, 2025 | New CVE Received | ClickHouse |
Volerion