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-2026-39832

CVE-2026-39832: Golang Crypto Auth Bypass Vulnerability

CVE-2026-39832 is an authentication bypass flaw in Golang Crypto that strips destination restrictions when forwarding SSH keys, allowing unrestricted remote access. This article covers technical details, impact, and mitigations.

Published: May 28, 2026

CVE-2026-39832 Overview

CVE-2026-39832 affects the golang.org/x/crypto SSH agent implementation. When clients add a key to a remote agent, constraint extensions such as restrict-destination-v00@openssh.com were not serialized in the request. The remote agent received the key without these destination restrictions, allowing unrestricted use on the remote host. The flaw maps to [CWE-502: Deserialization of Untrusted Data] and impacts any Go application relying on the package to forward SSH keys with destination constraints.

Critical Impact

Destination restrictions attached to forwarded SSH keys are silently stripped, granting attackers on the remote host unrestricted use of the forwarded key against any reachable system.

Affected Products

  • golang.org/x/crypto SSH agent client (prior to the fixed release)
  • Go applications using agent.Add with constraint extensions
  • In-memory keyrings created via NewKeyring() accepting unsupported constraint extensions

Discovery Timeline

  • 2026-05-22 - CVE-2026-39832 published to NVD
  • 2026-05-28 - Last updated in NVD database

Technical Details for CVE-2026-39832

Vulnerability Analysis

The vulnerability resides in the SSH agent client code path that serializes AddedKey messages before sending them to a remote agent. Standard constraints such as confirmation requirements and lifetimes were serialized correctly. Constraint extensions, including restrict-destination-v00@openssh.com, were omitted from the serialized request. The remote agent therefore stored the key without any extension-based restriction.

The restrict-destination-v00@openssh.com extension is designed to bind a forwarded key to a specific chain of hosts. When the extension is stripped, an attacker who controls or compromises the intermediate host can use the forwarded key to authenticate to arbitrary destinations. This breaks a core defense intended to limit lateral movement through SSH agent forwarding.

A second issue compounds the risk: the in-memory keyring returned by NewKeyring() accepted keys carrying unsupported constraint extensions and silently ignored them. Callers assumed restrictions were enforced when they were not.

Root Cause

The client-side serialization routine for agent AddedKey requests did not include constraint extension fields when encoding the wire message. The keyring implementation also lacked validation logic to reject extensions it could not enforce, yielding silent failure semantics for security-critical constraints.

Attack Vector

Exploitation requires an attacker on a remote host that receives a forwarded key from a victim using the vulnerable Go SSH agent client. Because the destination restriction never reaches the remote agent, the attacker can use the forwarded key to authenticate to any system the key is valid for. The attack is network-reachable and requires no privileges or user interaction beyond the existing forwarding session.

No working proof-of-concept exploit is publicly available. The vulnerability mechanism is described in the Go Vulnerability Report GO-2026-5006 and the Go change list.

Detection Methods for CVE-2026-39832

Indicators of Compromise

  • SSH authentications using forwarded agent keys against hosts outside the intended destination chain defined by restrict-destination-v00@openssh.com.
  • Go binaries linking vulnerable versions of golang.org/x/crypto identified via software bill of materials (SBOM) scanning.
  • Agent AddedKey traffic from Go clients that omits constraint extension blocks compared to OpenSSH reference clients.

Detection Strategies

  • Inventory Go applications and libraries with govulncheck to flag dependencies matching GO-2026-5006.
  • Compare expected destination restrictions in client configuration against actual agent state on remote hosts using ssh-add -L and constraint inspection.
  • Audit SSH server logs for agent-forwarded key usage that originates from hosts where forwarding should have been restricted.

Monitoring Recommendations

  • Correlate SSH userauth events across bastion and downstream hosts to identify key reuse beyond intended destinations.
  • Alert on new outbound SSH sessions initiated from intermediate hosts that hold forwarded agent keys.
  • Track deployments of Go binaries and rebuild pipelines for ongoing exposure to unpatched x/crypto versions.

How to Mitigate CVE-2026-39832

Immediate Actions Required

  • Upgrade golang.org/x/crypto to the fixed version listed in GO-2026-5006 and rebuild all dependent binaries.
  • Run govulncheck ./... across Go projects to identify call sites that reach the vulnerable agent serialization code.
  • Rotate any SSH keys that were forwarded through vulnerable clients to environments outside your trust boundary.

Patch Information

The upstream fix serializes all constraint extensions in client AddedKey requests and rejects keys with unsupported constraint extensions in NewKeyring(). Details are tracked in the Go change list 778642, the Go issue 79435, and the golang-announce notice.

Workarounds

  • Disable SSH agent forwarding for sessions that rely on destination-restricted keys until patched binaries are deployed.
  • Use the native OpenSSH client (ssh-add, ssh -A) for workflows that require restrict-destination-v00@openssh.com enforcement.
  • Restrict which hosts can act as intermediates for agent forwarding using AllowAgentForwarding no on untrusted servers.
bash
# Configuration example
# /etc/ssh/sshd_config on intermediate hosts
AllowAgentForwarding no

# Verify Go module version after patching
go list -m golang.org/x/crypto
govulncheck ./...

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 Score9.1

  • EPSS Probability0.04%

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

  • Go.dev Change Log

  • Google Group Announcement
  • Vendor Resources
  • Go Vulnerability Report
  • Related CVEs
  • CVE-2026-42508: Golang Crypto Auth Bypass Vulnerability

  • CVE-2025-68121: Golang Go Auth Bypass Vulnerability

  • CVE-2024-45337: Go SSH Library Auth Bypass Vulnerability

  • CVE-2022-23773: Golang Go Auth Bypass Vulnerability
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