CVE-2025-1386 Query smuggling in ch-go library
Attackers can smuggle query packets into the connection stream via malicious external data, potentially altering database interactions.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-1386?
CVE-2025-1386 is a medium-severity vulnerability in ch-go, published on 11 Apr 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
When using the ch-go library, under a specific condition when the query includes a large, uncompressed malicious external data, it is possible for an attacker in control of such data to smuggle another query packet into the connection stream.
Weakness: CWE-444
Which versions are affected by CVE-2025-1386?
3 open source packages ship an affected version, including github.com/ClickHouse/ch-go. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/ClickHouse/ch-go Go | All versions | 0.65.0 |
github.com/ClickHouse/ch-go Go | All versions | 0.65.0 |
github.com/ClickHouse/ch-go Go | All versions | 0.65.0 |
Products include Clickhouse Ch.
How do I fix CVE-2025-1386?
Upgrade github.com/ClickHouse/ch-go to 0.65.0 or later.
Is CVE-2025-1386 being exploited?
There is no known exploitation of CVE-2025-1386 in the wild and no public exploit code.
Sources
Also known as GHSA-m454-3xv7-qj85, GO-2025-3603.