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

CVE-2025-68121: Golang Go Auth Bypass Vulnerability

CVE-2025-68121 is an authentication bypass flaw in Golang Go's crypto/tls package that allows session resumption when certificate authorities are modified. This article covers technical details, affected versions, and mitigations.

Updated: March 12, 2026

CVE-2025-68121 Overview

CVE-2025-68121 is a certificate validation bypass vulnerability in Golang's crypto/tls package that affects session resumption behavior. During TLS session resumption, if the underlying Config has its ClientCAs or RootCAs fields mutated between the initial handshake and the resumed handshake, the resumed handshake may succeed when it should have failed.

This vulnerability manifests when a user calls Config.Clone and mutates the returned Config, or uses Config.GetConfigForClient. The flaw can cause a client to resume a session with a server that it would not have resumed with during the initial handshake, or cause a server to resume a session with a client that it would not have resumed with during the initial handshake.

Critical Impact

This vulnerability allows TLS sessions to be resumed with untrusted or revoked certificates, potentially enabling man-in-the-middle attacks, unauthorized authentication, and complete bypass of certificate-based trust validation in Go applications.

Affected Products

  • Golang Go (multiple versions)
  • Golang Go 1.26.0-rc1
  • Golang Go 1.26.0-rc2

Discovery Timeline

  • 2026-02-05 - CVE CVE-2025-68121 published to NVD
  • 2026-02-20 - Last updated in NVD database

Technical Details for CVE-2025-68121

Vulnerability Analysis

This vulnerability represents a critical flaw in the TLS session resumption logic within Go's crypto/tls package. The core issue lies in how certificate authority (CA) configurations are validated during session resumption compared to initial handshakes.

When a TLS session is initially established, the ClientCAs and RootCAs fields in the Config structure determine which certificate authorities are trusted. However, during session resumption, the implementation fails to re-validate these trust anchors against the current configuration state. This creates a window where configuration changes—such as removing a compromised CA or updating trust policies—are not enforced for resumed sessions.

The vulnerability is particularly dangerous because it affects both client and server implementations. A client could resume a session with a server whose certificate is no longer trusted, while a server could accept a resumed session from a client whose certificate authority has been revoked from the trust store.

Root Cause

The root cause is improper certificate validation (CWE-295) during TLS session resumption in Go's crypto/tls package. The implementation caches session state from the initial handshake but does not properly re-validate the certificate chain against the potentially modified ClientCAs or RootCAs fields when a session is resumed. This occurs specifically when:

  1. Config.Clone() is called and the cloned configuration is mutated
  2. Config.GetConfigForClient returns a configuration with modified CA fields

The session ticket or session cache retains the trust relationship from the original handshake, bypassing the updated security constraints in the modified configuration.

Attack Vector

The attack vector is network-based and requires no user interaction or special privileges. An attacker could exploit this vulnerability in several scenarios:

  1. Certificate Revocation Bypass: If an organization revokes trust in a compromised CA after initial sessions are established, attackers with certificates from that CA can continue to authenticate via session resumption.

  2. Trust Policy Circumvention: Applications that dynamically adjust trust based on context (using GetConfigForClient) may have their security policies bypassed when sessions are resumed.

  3. Man-in-the-Middle Escalation: An attacker who previously established a legitimate session could maintain access even after their certificate authority is removed from the trust store.

The vulnerability does not require sophisticated exploitation techniques—the attack succeeds simply by resuming a previously established TLS session after the server or client has updated its CA trust configuration.

Detection Methods for CVE-2025-68121

Indicators of Compromise

  • TLS session resumptions occurring with certificates issued by CAs that have been removed from ClientCAs or RootCAs configurations
  • Unexpected successful TLS connections after CA trust policy updates
  • Session tickets or cached sessions persisting across configuration changes in Go applications
  • Log entries showing resumed sessions with certificates that should fail validation

Detection Strategies

  • Review Go application code for patterns where Config.Clone() is called followed by mutations to ClientCAs or RootCAs fields
  • Audit usage of Config.GetConfigForClient callback functions that modify CA trust settings
  • Implement TLS connection logging to track session resumption events and correlate with CA configuration changes
  • Use static analysis tools to identify vulnerable patterns in Go codebases using crypto/tls

Monitoring Recommendations

  • Enable detailed TLS handshake logging in Go applications to capture session resumption events
  • Monitor for connections that bypass expected certificate validation after CA trust updates
  • Implement alerting on session resumption events following configuration changes to CA trust stores
  • Consider adding session ticket/cache invalidation events to application monitoring dashboards

How to Mitigate CVE-2025-68121

Immediate Actions Required

  • Update Golang to a patched version as soon as available
  • Review all Go applications using crypto/tls for dynamic CA configuration patterns
  • Invalidate existing TLS session caches and tickets after applying patches
  • Disable TLS session resumption temporarily in critical applications if patching is delayed
  • Audit applications using Config.Clone() or Config.GetConfigForClient with CA modifications

Patch Information

Golang has released a patch to address this vulnerability. The fix is available through Go.dev CL #737700. Technical details about the vulnerability are documented in the Go.dev Vulnerability Database entry GO-2026-4337. Additional information can be found in Go.dev Issue #77217 and the Golang Announce mailing list post.

Organizations should update their Go installations to the latest patched versions and rebuild affected applications.

Workarounds

  • Disable TLS session resumption by setting SessionTicketsDisabled: true in tls.Config until patching is possible
  • Avoid mutating ClientCAs or RootCAs fields on cloned configurations; instead create new configurations from scratch
  • Implement application-level session invalidation when CA trust configurations change
  • Use immutable configuration patterns where new tls.Config instances are created rather than modifying cloned copies
bash
# Configuration example
# To disable session resumption as a temporary workaround,
# set SessionTicketsDisabled in your tls.Config:
#
# config := &tls.Config{
#     SessionTicketsDisabled: true,
#     // ... other configuration
# }
#
# After updating Go to a patched version, rebuild your application:
go build -o myapp ./cmd/myapp

# Verify Go version includes the security fix:
go version

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechGolang

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-295
  • Technical References
  • Go.dev Issue #77217

  • Google Group Announce Post
  • Vendor Resources
  • Go.dev CL #737700

  • Go.dev Vulnerability GO-2026-4337
  • Related CVEs
  • CVE-2024-45337: Go SSH Library Auth Bypass Vulnerability

  • CVE-2022-23773: Golang Go Auth Bypass Vulnerability

  • CVE-2021-29923: Golang Go Auth Bypass Vulnerability

  • CVE-2025-47911: Go html.Parse DoS 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