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

> CVE-2025-1385: Fail input validation in clickhouse-library-bridge API could lead to RCE under specific configuration. CVSS 7.5 (CVSS 4.0).

Canonical: https://rewindex.com/cve/CVE-2025-1385
Last updated: 2026-06-17T08:39:02Z

- Published: 2025-03-20 07:13 UTC · Updated: 2026-06-17 08:39 UTC · Assigner: ClickHouse
- CVSS: 7.5 (CVSS 4.0) · Severity: High
- EPSS: 0.47%, 40th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-20

## 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\>

## Affected vendors and products

- ClickHouse: ClickHouse OSS

## Tracked companies

- [ClickHouse Cloud](https://rewindex.com/company/clickhouse-cloud.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-1385)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-1385)
- [https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-5phv-x8x4-83x5](https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-5phv-x8x4-83x5)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-1385 · Markdown: https://rewindex.com/cve/CVE-2025-1385.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-1385 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:09:25.713Z
