9.3critical
pac4j-jwt JwtAuthenticator Authentication Bypass
- Severity
- 9.3critical CVSS:4.0 by VulnCheck
- Exploit likelihood
- 6.08% (higher than 93% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
- Also known as
- GHSA-pm7g-w2cf-q238
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| pac4j pac4j-jwt | from 4.0 before 4.5.9, from 5.0 before 5.7.9, from 6.0 before 6.3.3 | CVE List |
| org.pac4j:pac4j-jwt (Maven) | from 6.0.4.1 before 6.3.3, from 5.0.0-RC1 before 5.7.9, before 4.5.9 | GitHub Advisory Database |
All scores
| VulnCheck | 9.3critical CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 10.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L |
| GitHub | critical CVSS:4.0 | 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 |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
Las versiones de pac4j-jwt anteriores a la 4.5.9, 5.7.9 y 6.3.3 contienen una vulnerabilidad de omisión de autenticación en JwtAuthenticator al procesar JWT cifrados que permite a atacantes remotos falsificar tokens de autenticación. Los atacantes que poseen la clave pública RSA del servidor pueden crear un PlainJWT envuelto en JWE con reclamaciones de sujeto y rol arbitrarias, omitiendo la verificación de firma para autenticarse como cualquier usuario, incluidos los administradores.
References
| https://www.pac4j.org/blog/security-advisory-pac4j-jwt-jwtauthenticator.html | vendor-advisory, web | |
| https://www.codeant.ai/security-research/pac4j-jwt-authentication-bypass-public-key | exploit, technical-description, web | |
| https://www.vulncheck.com/advisories/pac4j-jwt-jwtauthenticator-authentication-bypass | third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-29000 | advisory | |
| https://github.com/pac4j/pac4j | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-29000 changed 2026-10-08 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pm7g-w2cf-q238 changed 2026-03-06 | CC-BY-4.0 |
| NVD | CVE-2026-29000 changed 2026-10-08 | Public domain |