Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-34986

CVE-2026-34986: Go JOSE Library DoS Vulnerability

CVE-2026-34986 is a denial of service flaw in Go JOSE library that causes panics during JWE decryption with empty encrypted_key fields. This article covers technical details, affected versions, impact, and mitigation.

Published: April 10, 2026

CVE-2026-34986 Overview

CVE-2026-34986 is a denial of service vulnerability in the Go JOSE library, which provides an implementation of the Javascript Object Signing and Encryption (JOSE) set of standards in Go. The library supports JSON Web Encryption (JWE), JSON Web Signature (JWS), and JSON Web Token (JWT) standards. Prior to versions 4.1.4 and 3.0.5, decrypting a JSON Web Encryption (JWE) object will cause a panic condition when the alg field indicates a key wrapping algorithm (algorithms ending in KW, excluding A128GCMKW, A192GCMKW, and A256GCMKW) and the encrypted_key field is empty.

Critical Impact

Remote attackers can trigger a denial of service condition by sending specially crafted JWE objects with empty encrypted_key fields to applications using vulnerable versions of Go JOSE, causing application crashes without requiring authentication.

Affected Products

  • Go JOSE versions prior to 4.1.4
  • Go JOSE versions prior to 3.0.5
  • Applications using cipher.KeyUnwrap() with ciphertext parameters less than 16 bytes

Discovery Timeline

  • 2026-04-06 - CVE-2026-34986 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-34986

Vulnerability Analysis

The vulnerability exists in the key unwrapping mechanism within Go JOSE's JWE implementation. When processing encrypted JWE objects, the library's cipher.KeyUnwrap() function in key_wrap.go attempts to allocate a slice based on the length of the encrypted_key field. If the encrypted_key field is empty or contains fewer than 16 bytes, the function calculates a zero or negative slice length, triggering a Go runtime panic.

This panic condition is classified under CWE-248 (Uncaught Exception), indicating that the application fails to properly handle exceptional conditions. The vulnerability can be exploited remotely over the network without any authentication or user interaction, making it particularly dangerous for internet-facing services that process JWE tokens.

Root Cause

The root cause is insufficient input validation in the cipher.KeyUnwrap() function before attempting slice allocation. The code path does not verify that the encrypted_key field contains at least the minimum required bytes (16 bytes) before performing arithmetic operations to determine the output slice size. When the key wrapping algorithm processes an empty or undersized encrypted_key, the resulting slice allocation request causes an unrecoverable panic.

Attack Vector

The attack vector is network-based and requires no privileges or user interaction. An attacker can exploit this vulnerability through the following code path:

  1. Send a maliciously crafted JWE object to a target application
  2. The application parses the JWE using ParseEncrypted(), ParseEncryptedJSON(), or ParseEncryptedCompact()
  3. When Decrypt() is called on the resulting object with a key wrapping algorithm specified in the alg field and an empty encrypted_key field, the panic is triggered
  4. The application crashes, resulting in denial of service

Applications that restrict accepted key algorithms to exclude key wrapping algorithms (those ending in KW, except A128GCMKW, A192GCMKW, and A256GCMKW) will fail parsing before reaching the vulnerable code path. The vulnerability can also be triggered by calling cipher.KeyUnwrap() directly with any ciphertext parameter less than 16 bytes, though this direct call pattern is less common.

Detection Methods for CVE-2026-34986

Indicators of Compromise

  • Unexpected application crashes or restarts in services processing JWE tokens
  • Go runtime panic logs indicating slice allocation errors in key_wrap.go
  • Abnormal JWE objects in request logs with empty or missing encrypted_key fields
  • Increased rate of malformed JWT/JWE token submissions from specific sources

Detection Strategies

  • Monitor application logs for Go panic stack traces referencing cipher.KeyUnwrap or key_wrap.go
  • Implement request logging to capture JWE objects with key wrapping algorithms and empty encrypted keys
  • Deploy network-level inspection for JWE tokens with suspicious structures targeting authenticated endpoints
  • Use dependency scanning tools to identify applications using vulnerable Go JOSE versions (< 4.1.4 or < 3.0.5)

Monitoring Recommendations

  • Configure alerting on application crash events and automatic restart patterns
  • Monitor process uptime metrics for services handling JWE token processing
  • Review inbound traffic patterns for repeated malformed token submissions
  • Implement rate limiting on endpoints accepting JWE tokens to mitigate DoS impact

How to Mitigate CVE-2026-34986

Immediate Actions Required

  • Upgrade Go JOSE to version 4.1.4 or later for v4.x installations
  • Upgrade Go JOSE to version 3.0.5 or later for v3.x installations
  • Restrict accepted key algorithms to exclude key wrapping algorithms if not required by your application
  • Implement recovery middleware to gracefully handle panics and maintain service availability

Patch Information

The vulnerability has been fixed in Go JOSE versions 4.1.4 and 3.0.5. The patches add proper validation of the encrypted_key field length before attempting slice allocation in the cipher.KeyUnwrap() function. For complete technical details and patch information, refer to the GitHub Security Advisory or the Go JOSE package documentation.

Workarounds

  • Configure ParseEncrypted() to only accept algorithms that do not include key wrapping (algorithms not ending in KW)
  • Implement input validation middleware to reject JWE objects with empty encrypted_key fields before processing
  • Add panic recovery handlers in your application to prevent complete service crashes
  • Deploy the service behind a reverse proxy that can validate token structure before forwarding requests
bash
# Update Go JOSE dependency to patched version
go get github.com/go-jose/go-jose/v4@v4.1.4
# Or for v3.x
go get github.com/go-jose/go-jose/v3@v3.0.5

# Verify installed version
go list -m github.com/go-jose/go-jose/v4

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechGo Jose

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-248
  • Technical References
  • GitHub Security Advisory

  • Go Doc Package Constants
  • Related CVEs
  • CVE-2024-28180: Go-jose_project Go-jose DOS Vulnerability

  • CVE-2025-27144: Go JOSE JWT Parsing DoS Vulnerability
Default Legacy - Prefooter | 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