CVE-2026-29000: CWE-347 Improper Verification of Cryptographic Signature in pac4j pac4j-jwt
pac4j-jwt versions prior to 4.5.9, 5.7.9, and 6.3.3 contain an authentication bypass vulnerability in JwtAuthenticator when processing encrypted JWTs that allows remote attackers to forge authentication tokens. Attackers who possess the server's RSA public key can create a JWE-wrapped PlainJWT with arbitrary subject and role claims, bypassing signature verification to authenticate as any user including administrators.
AI Analysis
Technical Summary
CVE-2026-29000 is a critical vulnerability affecting the pac4j-jwt library, specifically in versions prior to 4.5.9, 5.7.9, and 6.3.3. The issue arises from improper verification of cryptographic signatures (CWE-347) in the JwtAuthenticator component when handling encrypted JSON Web Tokens (JWTs). The vulnerability allows remote attackers who possess the server's RSA public key to create a JWE-wrapped PlainJWT token with arbitrary claims, including subject and role, effectively bypassing signature verification. This means attackers can forge authentication tokens to impersonate any user, including those with administrative privileges, without needing any authentication or user interaction. The flaw stems from the JwtAuthenticator's failure to properly validate the cryptographic signature on encrypted JWTs, allowing attackers to exploit the public key to craft tokens that the system accepts as valid. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. Although no exploits have been reported in the wild yet, the vulnerability's nature and ease of exploitation make it highly dangerous. The affected versions span multiple major releases, indicating a long-standing issue that requires immediate patching.
Potential Impact
The impact of CVE-2026-29000 is severe for organizations using the pac4j-jwt library for authentication in their applications. Successful exploitation allows attackers to bypass authentication controls entirely, granting unauthorized access to any user account, including those with administrative rights. This can lead to full system compromise, data breaches, unauthorized data modification, and disruption of services. Since the vulnerability affects JWT-based authentication, it undermines the trust model of token-based security, potentially exposing sensitive systems and data to attackers. Organizations relying on pac4j-jwt in critical infrastructure, web applications, or microservices environments are at high risk. The ease of exploitation without authentication or user interaction increases the likelihood of automated attacks and widespread abuse. The vulnerability could facilitate lateral movement, privilege escalation, and persistent access within compromised environments, severely impacting confidentiality, integrity, and availability.
Mitigation Recommendations
Organizations should immediately upgrade pac4j-jwt to versions 4.5.9, 5.7.9, or 6.3.3 or later, where the vulnerability has been fixed. In addition to patching, organizations should audit their JWT authentication implementations to ensure proper cryptographic signature verification is enforced, especially when handling encrypted JWTs. Restrict access to the server's RSA public key to minimize exposure, as possession of this key enables exploitation. Implement additional layers of authentication and authorization checks beyond JWT validation to detect and prevent token forgery. Monitor authentication logs for unusual token usage patterns or unexpected administrative access. Employ runtime application self-protection (RASP) or web application firewalls (WAF) with rules to detect malformed or suspicious JWT tokens. Conduct thorough security testing and code reviews of JWT handling components to identify similar weaknesses. Finally, educate developers on secure JWT usage and cryptographic best practices to prevent recurrence of such vulnerabilities.
Affected Countries
United States, Germany, United Kingdom, France, Japan, South Korea, India, Canada, Australia, Netherlands, Brazil, Singapore
CVE-2026-29000: CWE-347 Improper Verification of Cryptographic Signature in pac4j pac4j-jwt
Description
pac4j-jwt versions prior to 4.5.9, 5.7.9, and 6.3.3 contain an authentication bypass vulnerability in JwtAuthenticator when processing encrypted JWTs that allows remote attackers to forge authentication tokens. Attackers who possess the server's RSA public key can create a JWE-wrapped PlainJWT with arbitrary subject and role claims, bypassing signature verification to authenticate as any user including administrators.
AI-Powered Analysis
Technical Analysis
CVE-2026-29000 is a critical vulnerability affecting the pac4j-jwt library, specifically in versions prior to 4.5.9, 5.7.9, and 6.3.3. The issue arises from improper verification of cryptographic signatures (CWE-347) in the JwtAuthenticator component when handling encrypted JSON Web Tokens (JWTs). The vulnerability allows remote attackers who possess the server's RSA public key to create a JWE-wrapped PlainJWT token with arbitrary claims, including subject and role, effectively bypassing signature verification. This means attackers can forge authentication tokens to impersonate any user, including those with administrative privileges, without needing any authentication or user interaction. The flaw stems from the JwtAuthenticator's failure to properly validate the cryptographic signature on encrypted JWTs, allowing attackers to exploit the public key to craft tokens that the system accepts as valid. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. Although no exploits have been reported in the wild yet, the vulnerability's nature and ease of exploitation make it highly dangerous. The affected versions span multiple major releases, indicating a long-standing issue that requires immediate patching.
Potential Impact
The impact of CVE-2026-29000 is severe for organizations using the pac4j-jwt library for authentication in their applications. Successful exploitation allows attackers to bypass authentication controls entirely, granting unauthorized access to any user account, including those with administrative rights. This can lead to full system compromise, data breaches, unauthorized data modification, and disruption of services. Since the vulnerability affects JWT-based authentication, it undermines the trust model of token-based security, potentially exposing sensitive systems and data to attackers. Organizations relying on pac4j-jwt in critical infrastructure, web applications, or microservices environments are at high risk. The ease of exploitation without authentication or user interaction increases the likelihood of automated attacks and widespread abuse. The vulnerability could facilitate lateral movement, privilege escalation, and persistent access within compromised environments, severely impacting confidentiality, integrity, and availability.
Mitigation Recommendations
Organizations should immediately upgrade pac4j-jwt to versions 4.5.9, 5.7.9, or 6.3.3 or later, where the vulnerability has been fixed. In addition to patching, organizations should audit their JWT authentication implementations to ensure proper cryptographic signature verification is enforced, especially when handling encrypted JWTs. Restrict access to the server's RSA public key to minimize exposure, as possession of this key enables exploitation. Implement additional layers of authentication and authorization checks beyond JWT validation to detect and prevent token forgery. Monitor authentication logs for unusual token usage patterns or unexpected administrative access. Employ runtime application self-protection (RASP) or web application firewalls (WAF) with rules to detect malformed or suspicious JWT tokens. Conduct thorough security testing and code reviews of JWT handling components to identify similar weaknesses. Finally, educate developers on secure JWT usage and cryptographic best practices to prevent recurrence of such vulnerabilities.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-03-03T16:42:01.012Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69a8ac26d1a09e29cb796104
Added to database: 3/4/2026, 10:03:18 PM
Last enriched: 3/4/2026, 10:17:40 PM
Last updated: 3/5/2026, 12:39:22 AM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-25750: CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') in langchain-ai helm
HighCVE-2025-41257: CWE-20 Improper Input Validation in Suprema BioStar 2
MediumCVE-2026-2836: Vulnerability in Cloudflare https://github.com/cloudflare/pingora
HighCVE-2026-2835: CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') in Cloudflare https://github.com/cloudflare/pingora
CriticalCVE-2026-2833: CWE-444 Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') in Cloudflare https://github.com/cloudflare/pingora
CriticalActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.