published 4 Mar 2026 · updated 8 Oct 2026
pac4j-jwt JwtAuthenticator Authentication Bypass
10.0CriticalCVSS 9.1EPSS 6%1 public exploits
A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 6%. Fixed in 4.5.9, 5.7.9 and 6.3.3.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| pac4j | >=4.0 <4.5.9, >=5.0 <5.7.9, >=6.0 <6.3.3 | 4.5.9, 5.7.9, 6.3.3 |
Exploit evidence
1 public sources
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket