Query smuggling in ch-go library
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.
02 / AFFECTED SOFTWARE
Affected packages
102 explicit affected versions
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Query smuggling in ch-go library in github.com/ClickHouse/ch-go
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.
### Impact 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. ### Patches If you are using ch-go library, we recommend you to update to at least version 0.65.0. ### Credit This issue was found by lixts and reported through our bugcrowd program.
05 / REFERENCES
Further evidence
- https://github.com/ClickHouse/ch-go/commit/0e835663df32b09b828528c07a5507686e6d975e
- https://github.com/ClickHouse/ch-go/security/advisories/GHSA-m454-3xv7-qj85
- https://nvd.nist.gov/vuln/detail/CVE-2025-1386
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1386.json
- https://github.com/ClickHouse/ch-go
- https://pkg.go.dev/vuln/GO-2025-3603