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

Published Mar 20, 2025
·
Updated

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:

<librarybridge> <port>9019</port> </librarybridge>

Affected Software

1 affected component
Clickhouse Clickhouse

Event History

Mar 20, 2025
CVE Published
via MITRE·07:13 AM
Data Sourced
via MITRE·07:13 AM
DescriptionWeakness
Data Sourced
via NVD·08:15 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-1385?

CVE-2025-1385 has been classified with a high severity rating due to the potential for remote code execution.

2

How do I fix CVE-2025-1385?

To fix CVE-2025-1385, disable the library bridge feature in the ClickHouse configuration.

3

Who is affected by CVE-2025-1385?

Users of ClickHouse with the library bridge feature enabled are affected by CVE-2025-1385.

4

What versions of ClickHouse are impacted by CVE-2025-1385?

All versions of ClickHouse that support the library bridge feature are potentially vulnerable to CVE-2025-1385.

5

What are the potential consequences of CVE-2025-1385?

Exploiting CVE-2025-1385 could allow an attacker to execute arbitrary code on the ClickHouse server.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203