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

CVE-2026-44699: LibJWT Auth Bypass Vulnerability

CVE-2026-44699 is an authentication bypass flaw in LibJWT that allows attackers to forge valid JWTs through algorithm confusion. This article covers the technical details, affected versions 3.0.0-3.3.2, and mitigation.

Published: May 21, 2026

CVE-2026-44699 Overview

CVE-2026-44699 is an algorithm confusion authentication bypass in LibJWT, a C library for JSON Web Tokens. The vulnerability affects versions 3.0.0 through 3.3.2. LibJWT accepts an RSA JSON Web Key (JWK) that omits the alg parameter as a verification key for HMAC-based tokens (HS256, HS384, HS512). In the OpenSSL backend, this triggers HMAC verification using a zero-length key. An attacker can forge a valid JWT without knowing any secret or RSA private key. The flaw is fixed in version 3.3.3.

Critical Impact

Attackers can forge arbitrary JWTs and bypass authentication on any service that loads RSA keys from a JWKS without an alg field and selects the verification algorithm from the JWT header.

Affected Products

  • LibJWT 3.0.0 through 3.3.2
  • Applications using LibJWT with the OpenSSL backend
  • Services loading RSA keys from JWKS endpoints without an alg parameter

Discovery Timeline

  • 2026-05-15 - CVE-2026-44699 published to NVD
  • 2026-05-18 - Last updated in NVD database

Technical Details for CVE-2026-44699

Vulnerability Analysis

The vulnerability is a classic algorithm confusion flaw [CWE-327: Use of a Broken or Risky Cryptographic Algorithm]. LibJWT permits the verification algorithm to be selected from the attacker-controlled JWT header. When an application loads an RSA key from a JWKS and the JWK lacks an alg parameter, LibJWT does not bind the key to its intended asymmetric algorithm.

An attacker submits a token with a header specifying HS256, HS384, or HS512. The library then routes the RSA public key into the HMAC verification path. In the OpenSSL backend, the key material is converted in a way that yields a zero-length HMAC key. The attacker can compute the HMAC of any payload using an empty key and produce a signature that LibJWT accepts.

Omitting alg from a JWK is valid syntax under RFC 7517. Many production identity providers and JWKS endpoints emit keys without this field, making the exposure realistic rather than theoretical.

Root Cause

The root cause is the absence of algorithm-key binding during verification. LibJWT trusts the alg value supplied in the JWT header instead of constraining verification to the key type. When a kid lookup callback returns an RSA key for an HMAC-typed token, no type check rejects the mismatch, and the OpenSSL HMAC routine proceeds with an empty key.

Attack Vector

The attack is remote and unauthenticated. An attacker crafts a JWT with a header indicating an HMAC algorithm and a kid that resolves to an RSA key in the target's JWKS. The HMAC is computed over the header and payload using a zero-length key. Because the verifier reproduces the same empty-key HMAC, the forged token validates successfully.

The vulnerability mechanism is described in the GitHub Security Advisory GHSA-q843-6q5f-w55g. No verified proof-of-concept code is published in the references provided.

Detection Methods for CVE-2026-44699

Indicators of Compromise

  • JWTs received with header alg set to HS256, HS384, or HS512 while the application is configured to accept RSA-signed tokens
  • Authentication events tied to a kid that maps to an RSA key in the JWKS but arrives with an HMAC algorithm in the header
  • Unexpected successful authentications from IP addresses not previously seen for a given account or service principal

Detection Strategies

  • Inspect application and reverse-proxy logs for JWT headers whose algorithm does not match the key type referenced by the kid
  • Add validation middleware that records algorithm-key mismatches as security events before downstream processing
  • Audit dependency manifests for LibJWT versions between 3.0.0 and 3.3.2 across builds and containers

Monitoring Recommendations

  • Alert on authentication tokens accepted with an empty or zero-length signing key path
  • Monitor JWKS endpoints for keys missing the alg parameter and flag them for review
  • Track outbound calls and privileged actions performed by sessions established through JWT-based authentication for anomalous post-auth behavior

How to Mitigate CVE-2026-44699

Immediate Actions Required

  • Upgrade LibJWT to version 3.3.3 or later across all builds, containers, and packaged applications
  • Reject any inbound JWT whose header alg does not match the key type expected for the referenced kid
  • Populate alg on every JWK published in internal JWKS endpoints to remove the ambiguity exploited by this flaw

Patch Information

The maintainers fixed the vulnerability in LibJWT 3.3.3. The patch enforces algorithm-key binding so an RSA JWK cannot be used to verify an HMAC-signed token. Rebuild any application statically linked against LibJWT and redeploy dynamic library updates to all hosts. Refer to the GitHub Security Advisory GHSA-q843-6q5f-w55g for the upstream fix details.

Workarounds

  • In the kid lookup callback, return the key only when the header algorithm matches the key's intended algorithm
  • Maintain an allowlist of accepted JWT algorithms per endpoint and reject all others before signature verification
  • Configure JWKS producers to always include the alg field for each published key
bash
# Pin LibJWT to the patched release when building from source
git clone https://github.com/benmcollins/libjwt.git
cd libjwt
git checkout v3.3.3
cmake -S . -B build && cmake --build build

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechLibjwt

  • SeverityCRITICAL

  • CVSS Score9.1

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/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
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-327
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-33996: Libjwt 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