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

CVE-2026-29000: pac4j-jwt Authentication Bypass Vulnerability

CVE-2026-29000 is an authentication bypass flaw in pac4j-jwt that allows attackers to forge tokens using the server's RSA public key. This post covers technical details, affected versions, impact, and mitigation.

Published: March 6, 2026

CVE-2026-29000 Overview

CVE-2026-29000 is a critical authentication bypass vulnerability affecting pac4j-jwt, a popular Java security library used for JWT (JSON Web Token) authentication. The vulnerability exists in the JwtAuthenticator component when processing encrypted JWTs, allowing remote attackers to forge authentication tokens and bypass security controls entirely.

Attackers who possess the server's RSA public key—which is often publicly accessible or easily obtainable—can craft a JWE-wrapped PlainJWT containing arbitrary subject and role claims. This allows complete bypass of signature verification, enabling authentication as any user including administrators without valid credentials.

Critical Impact

Remote attackers can forge authentication tokens to impersonate any user, including administrators, by exploiting improper verification of cryptographic signatures in encrypted JWTs. This vulnerability allows complete authentication bypass with network access only.

Affected Products

  • pac4j-jwt versions prior to 4.5.9
  • pac4j-jwt versions prior to 5.7.9
  • pac4j-jwt versions prior to 6.3.3

Discovery Timeline

  • 2026-03-04 - CVE-2026-29000 published to NVD
  • 2026-03-05 - Last updated in NVD database

Technical Details for CVE-2026-29000

Vulnerability Analysis

This vulnerability is classified under CWE-347 (Improper Verification of Cryptographic Signature), representing a fundamental flaw in how the pac4j-jwt library validates encrypted JWT tokens. The JwtAuthenticator fails to properly verify the cryptographic signature when processing JWE (JSON Web Encryption) tokens that wrap PlainJWT payloads.

The attack exploits the library's trust model around encrypted tokens. When a JWT is encrypted with the server's RSA public key, the library assumes the token content is trustworthy after successful decryption. However, this assumption is flawed because RSA public keys are designed to be publicly available—any party can encrypt data with a public key.

An attacker can construct a malicious token by creating a PlainJWT (an unsigned JWT) with arbitrary claims such as elevated roles or admin privileges, then encrypting this unsigned token using the target server's public key. When the server decrypts this JWE, it processes the PlainJWT payload without verifying a cryptographic signature, accepting the forged claims as legitimate.

Root Cause

The root cause lies in the JwtAuthenticator component's failure to enforce signature verification on the inner JWT payload after decryption of JWE tokens. The library incorrectly treats successful JWE decryption as sufficient proof of token authenticity, ignoring the critical distinction between encryption (confidentiality) and signing (authenticity/integrity).

Proper JWT security requires that tokens be cryptographically signed to prove they originated from a trusted issuer. By accepting PlainJWT payloads inside encrypted containers, the library allows attackers to bypass this fundamental security control.

Attack Vector

The attack is network-based and requires no user interaction or prior authentication. An attacker needs only to obtain the server's RSA public key, which is typically:

  1. Published in JWKS (JSON Web Key Set) endpoints
  2. Embedded in application configurations
  3. Derivable from TLS certificates
  4. Available through other public channels

Once the public key is obtained, the attacker constructs a JWE token containing a PlainJWT with desired claims (e.g., "role": "admin", "sub": "administrator"), encrypts it using the server's public key, and submits it as their authentication token. The server decrypts the JWE successfully and processes the PlainJWT claims without signature verification, granting the attacker unauthorized access.

The vulnerability mechanism involves three key steps: First, the attacker creates an unsigned JWT (PlainJWT) with arbitrary identity claims. Second, this PlainJWT is wrapped in a JWE envelope using the target's RSA public key. Third, upon receiving the token, the vulnerable JwtAuthenticator decrypts the JWE and processes the PlainJWT without validating any cryptographic signature, accepting the forged claims as authentic. For detailed technical analysis, see the Codeant AI Security Research and Pac4j Security Advisory.

Detection Methods for CVE-2026-29000

Indicators of Compromise

  • Presence of JWT tokens with alg: none in the header after JWE decryption
  • Authentication logs showing successful logins for privileged accounts from unusual IP addresses or locations
  • Anomalous JWT tokens that decrypt successfully but contain no valid signature components
  • Unexpected administrative actions performed by accounts that should not have elevated privileges

Detection Strategies

  • Implement logging that captures JWT algorithm types and flag any tokens using alg: none or PlainJWT structures
  • Monitor authentication systems for sudden privilege escalation patterns or lateral movement
  • Deploy Web Application Firewall (WAF) rules to inspect JWT token structures before processing
  • Review application logs for authentication events that bypass normal signature verification paths

Monitoring Recommendations

  • Enable verbose logging on JWT authentication components to capture full token processing details
  • Set up alerts for authentication attempts using encrypted tokens from external or untrusted sources
  • Monitor for bulk authentication attempts that may indicate automated exploitation
  • Track RSA public key access patterns and downloads from JWKS endpoints

How to Mitigate CVE-2026-29000

Immediate Actions Required

  • Upgrade pac4j-jwt to version 4.5.9, 5.7.9, or 6.3.3 or later immediately
  • Audit existing authentication logs for signs of exploitation
  • Review all user sessions and invalidate tokens that may have been forged
  • Implement additional authorization checks at the application layer as defense in depth

Patch Information

Security patches are available for all affected version branches. Organizations should upgrade to the following minimum versions:

BranchPatched Version
4.x4.5.9
5.x5.7.9
6.x6.3.3

For detailed patch information and upgrade guidance, refer to the Pac4j Security Advisory and Vulncheck Advisory.

Workarounds

  • If immediate patching is not possible, configure JwtAuthenticator to explicitly reject tokens with alg: none
  • Implement a pre-validation filter that rejects PlainJWT structures before they reach the authenticator
  • Add network-level controls to restrict authentication endpoints to trusted sources only
  • Consider temporarily disabling JWE token support if only signed JWTs are required for your use case
bash
# Example: Check current pac4j-jwt version in Maven projects
mvn dependency:tree | grep pac4j-jwt

# Update dependency in pom.xml to patched version (example for 6.x branch)
# <dependency>
#     <groupId>org.pac4j</groupId>
#     <artifactId>pac4j-jwt</artifactId>
#     <version>6.3.3</version>
# </dependency>

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechPac4j

  • SeverityCRITICAL

  • CVSS Score10.0

  • EPSS Probability0.24%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:L/SC:H/SI:H/SA:L/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
  • AvailabilityLow
  • CWE References
  • CWE-347
  • Technical References
  • Codeant AI Security Research

  • Pac4j Security Advisory

  • Vulncheck Advisory
  • Latest CVEs
  • CVE-2025-70797: LimeSurvey XSS Vulnerability

  • CVE-2025-30650: Juniper Junos OS Auth Bypass Vulnerability

  • CVE-2026-35471: Goshs Path Traversal Vulnerability

  • CVE-2026-35393: Goshs Path Traversal 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