A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-61727

CVE-2025-61727: Golang Go Information Disclosure Flaw

CVE-2025-61727 is an information disclosure vulnerability in Golang Go where excluded subdomain constraints fail to restrict wildcard SANs in leaf certificates. This article covers technical details, affected versions, and mitigations.

Published: May 26, 2026

CVE-2025-61727 Overview

CVE-2025-61727 affects the Go standard library's certificate chain validation logic. The flaw allows wildcard Subject Alternative Names (SANs) in a leaf certificate to bypass excluded subdomain Name Constraints set higher in the chain. For example, a constraint that excludes test.example.com fails to prevent a leaf certificate from asserting the SAN *.example.com. Applications relying on Go's crypto/x509 package to enforce certificate policy boundaries inherit this validation gap. The issue is tracked by the Go security team as GO-2025-4175 and classified under [CWE-295] Improper Certificate Validation.

Critical Impact

Certificate chains that rely on excluded subdomain Name Constraints can be bypassed using wildcard SANs in leaf certificates, weakening trust boundaries enforced by intermediate Certificate Authorities (CAs).

Affected Products

  • Golang Go standard library crypto/x509
  • Applications statically linked against vulnerable Go versions
  • TLS services and clients using Go's built-in chain validation

Discovery Timeline

  • 2025-12-03 - CVE-2025-61727 published to NVD
  • 2025-12-18 - Last updated in NVD database

Technical Details for CVE-2025-61727

Vulnerability Analysis

Name Constraints are an X.509 extension that allows an issuing CA to limit the namespaces a subordinate CA may issue certificates for. The Go certificate verifier evaluates permittedDNSDomains and excludedDNSDomains against the DNS names in a leaf certificate's SAN extension. The vulnerability stems from incomplete matching logic when the SAN contains a wildcard. The verifier compares the excluded label test.example.com against *.example.com and treats them as non-overlapping, even though the wildcard would cover the excluded name during hostname matching at TLS time. Attackers controlling an intermediate CA constrained to specific subdomains can issue leaf certificates with wildcard SANs that cover names the constraint was designed to block. This breaks the integrity boundary that delegated PKI environments depend on.

Root Cause

The root cause is asymmetric semantics between the constraint check and runtime hostname verification. The constraint evaluator treats wildcards as literal strings rather than expanding them against the excluded namespace. As a result, the wildcard's coverage area is never compared to the exclusion set.

Attack Vector

An attacker who operates or compromises a subordinate CA constrained by excluded DNS subtrees can mint a leaf certificate with a wildcard SAN. Any Go-based TLS client or service performing chain validation will accept the leaf even though it covers names the parent CA explicitly excluded. The attacker can then present the certificate during a TLS handshake to impersonate hosts within the excluded namespace.

No verified proof-of-concept code is publicly available. Refer to the Go.dev Vulnerability Report and the Go.dev Change Log Entry for the upstream fix and reproduction details.

Detection Methods for CVE-2025-61727

Indicators of Compromise

  • Leaf certificates containing wildcard SAN entries (*.example.com) issued by intermediate CAs that carry excludedSubtrees Name Constraints
  • TLS handshakes presenting certificates whose wildcard SANs overlap excluded subdomains of any parent certificate in the chain
  • Unexpected acceptance of certificate chains by Go-based services where validation was expected to fail

Detection Strategies

  • Audit certificate transparency (CT) logs for wildcard SANs issued under intermediate CAs that publish Name Constraints
  • Inventory internal services built with Go and identify the Go runtime version each binary was compiled against
  • Run govulncheck against Go source trees and binaries to flag dependencies on vulnerable crypto/x509 code paths

Monitoring Recommendations

  • Log full peer certificate chains at TLS termination points and alert on wildcard SANs presented by leaf certificates issued under constrained intermediates
  • Track issuance from internal PKI for any leaf certificates that contain wildcards combined with constrained issuers
  • Correlate TLS handshake telemetry with CT log entries to identify newly issued wildcard certificates targeting restricted namespaces

How to Mitigate CVE-2025-61727

Immediate Actions Required

  • Upgrade all Go toolchains to the fixed release identified in GO-2025-4175 and rebuild affected binaries
  • Recompile and redeploy any application that statically links the Go standard library, including container images and sidecars
  • Review internal PKI hierarchies and confirm that constrained intermediates have not issued wildcard leaf certificates covering excluded subtrees

Patch Information

The Go team published the upstream fix in Go.dev Change Log Entry CL 723900. Tracking and version mapping are available in the Go.dev Vulnerability Report GO-2025-4175 and the Google Groups Announcement. Apply the patched Go release and rebuild dependent binaries; library consumers cannot remediate by patching only at runtime.

Workarounds

  • Implement an additional verification callback using tls.Config.VerifyPeerCertificate to manually expand wildcard SANs and reject leaves that overlap excluded subtrees
  • Restrict trusted CA bundles so that only intermediates without delegated wildcard authority can sign leaves accepted by the service
  • Disallow wildcard SANs at internal CA issuance policy when the issuing intermediate carries excludedSubtrees constraints
bash
# Verify the active Go toolchain version and scan modules for the advisory
go version
go install golang.org/x/vuln/cmd/govulncheck@latest
govulncheck ./...

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechGolang

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.01%

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

  • Google Groups Announcement
  • Vendor Resources
  • Go.dev Change Log Entry

  • Go.dev Vulnerability Report
  • Related CVEs
  • CVE-2024-24790: Golang Go Information Disclosure Flaw

  • CVE-2023-45287: Golang Go RSA Timing Information Disclosure

  • CVE-2023-45285: Golang Go Information Disclosure Flaw

  • CVE-2022-30629: Golang Go Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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