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

- Severity: High 7.5 (CVSS:4.0, scored by ClickHouse) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2025-03-20T07:13:34.577Z
- Modified: 2026-06-17T08:39:02.250Z
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: ClickHouse

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

(As written by CVE List.)

## Affected

- ClickHouse: from 24.3 before 24.3.18.6; from 24.8 before 24.8.14.27; from 24.11 before 24.11.5.34; from 24.12 before 24.12.5.65; from 25.1 before 25.1.5.5

## References

- <https://github.com/ClickHouse/ClickHouse/security/advisories/GHSA-5phv-x8x4-83x5>

## Sources

- CVE List: [CVE-2025-1385](https://www.cve.org/CVERecord?id=CVE-2025-1385), CVE Terms of Use, modified 2025-03-20
- NVD: [CVE-2025-1385](https://nvd.nist.gov/vuln/detail/CVE-2025-1385), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-1385 · Whole record: https://cve.day/CVE-2025-1385.json · Rebuilt by cve.day 2026-11-25T22:58:55.373Z
