The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-1386

CVE-2025-1386: ClickHouse Ch-Go Library SSRF Vulnerability

CVE-2025-1386 is an SSRF flaw in the ClickHouse ch-go library that enables query smuggling through malicious external data. This article covers the technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-1386 Overview

CVE-2025-1386 is an HTTP Request Smuggling vulnerability affecting the ClickHouse ch-go library, a Go client for ClickHouse databases. When using this library under specific conditions involving queries with large, uncompressed malicious external data, an attacker who controls such data can smuggle additional query packets into the connection stream. This vulnerability falls under CWE-444 (Inconsistent Interpretation of HTTP Requests), which relates to HTTP Request Smuggling attacks.

Critical Impact

Attackers with high privileges who control external data inputs can inject unauthorized queries into the database connection stream, potentially leading to unauthorized data access or manipulation of ClickHouse database operations.

Affected Products

  • ClickHouse ch-go library for Go
  • Applications using the ch-go library with external data functionality
  • ClickHouse database deployments utilizing the vulnerable ch-go client versions

Discovery Timeline

  • April 11, 2025 - CVE-2025-1386 published to NVD
  • December 19, 2025 - Last updated in NVD database

Technical Details for CVE-2025-1386

Vulnerability Analysis

This vulnerability exists in the ch-go library's handling of external data within query requests. The issue stems from improper parsing and boundary handling when processing large, uncompressed external data payloads. Under specific conditions, the library fails to properly delineate query boundaries, allowing an attacker to inject additional query packets into the established connection stream.

HTTP Request Smuggling vulnerabilities like this one occur when there is inconsistent interpretation of HTTP request boundaries between different components in the request processing pipeline. In this case, the ch-go library's connection handling mechanism can be exploited when malicious external data is crafted to contain embedded query structures that bypass normal query parsing.

The attack requires network access and high privileges, but does not require user interaction. Successful exploitation could result in high confidentiality impact, allowing attackers to access sensitive data by executing unauthorized queries against the ClickHouse database.

Root Cause

The root cause is improper handling of request boundaries in the ch-go library when processing external data within queries. The library does not adequately validate or sanitize large uncompressed external data inputs, creating a condition where query packet boundaries become ambiguous. This allows malicious payloads to be interpreted as separate query packets rather than data content.

Attack Vector

The attack vector is network-based and requires an attacker with high privileges who can control external data inputs to queries executed through the ch-go library. The attacker must craft malicious external data that, when included in a query, causes the library to misinterpret packet boundaries. This results in the smuggled query being executed as a separate, legitimate query on the ClickHouse database connection.

The exploitation process involves:

  1. Identifying an application using the vulnerable ch-go library that accepts external data inputs
  2. Crafting a large, uncompressed external data payload containing embedded query structures
  3. Submitting the malicious payload through normal query channels
  4. The library misparses the boundaries, executing the smuggled query

For detailed technical information about this vulnerability, refer to the GitHub Security Advisory.

Detection Methods for CVE-2025-1386

Indicators of Compromise

  • Unusual or unexpected queries appearing in ClickHouse query logs
  • Large external data payloads in query requests that exceed normal operational patterns
  • Database operations occurring that do not correspond to legitimate application activity
  • Anomalous connection behavior or multiple queries executed within single connection sessions

Detection Strategies

  • Monitor ClickHouse query logs for unauthorized or unexpected query patterns
  • Implement application-level logging to track external data sizes and sources
  • Deploy network monitoring to detect abnormally large query payloads to ClickHouse instances
  • Review database audit logs for queries executed with unexpected timing or content

Monitoring Recommendations

  • Enable comprehensive query logging on ClickHouse servers
  • Implement alerting for queries exceeding normal size thresholds for external data
  • Monitor ch-go library versions in use across applications and flag vulnerable deployments
  • Establish baseline query patterns and alert on deviations that may indicate smuggling attempts

How to Mitigate CVE-2025-1386

Immediate Actions Required

  • Audit all applications using the ch-go library to identify vulnerable deployments
  • Restrict external data functionality to trusted sources only until patches are applied
  • Implement input validation and size limits on external data inputs at the application layer
  • Review ClickHouse access controls to ensure principle of least privilege

Patch Information

Refer to the GitHub Security Advisory for the latest patched version of the ch-go library. Upgrading to the patched version is the recommended remediation. Organizations should update their Go module dependencies to incorporate the fixed ch-go library version.

Workarounds

  • Disable or restrict external data functionality in queries where possible
  • Implement strict input validation on all external data before passing to ch-go
  • Apply network-level controls to limit access to ClickHouse instances from untrusted sources
  • Consider implementing query allowlists or query analysis middleware to detect anomalous patterns
bash
# Configuration example - Update go.mod to latest ch-go version
go get github.com/ClickHouse/ch-go@latest
go mod tidy

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeSSRF

  • Vendor/TechClickhouse

  • SeverityMEDIUM

  • CVSS Score5.9

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-444
  • Vendor Resources
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-35467: Browser API Key Information Disclosure

  • CVE-2026-35466: cveInterface.js XSS Vulnerability

  • CVE-2026-30252: ZenShare Suite XSS Vulnerability

  • CVE-2026-30251: ZenShare Suite v17.0 XSS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English