Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.pac4j/pac4j-jwt
  4. ›
  5. CVE-2026-29000

CVE-2026-29000: pac4j-jwt: JwtAuthenticator Authentication Bypass via JWE-Wrapped PlainJWT

March 5, 2026 (updated March 6, 2026)

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.

References

  • github.com/advisories/GHSA-pm7g-w2cf-q238
  • github.com/pac4j/pac4j
  • nvd.nist.gov/vuln/detail/CVE-2026-29000
  • www.codeant.ai/security-research/pac4j-jwt-authentication-bypass-public-key
  • www.pac4j.org/blog/security-advisory-pac4j-jwt-jwtauthenticator.html
  • www.vulncheck.com/advisories/pac4j-jwt-jwtauthenticator-authentication-bypass

Code Behaviors & Features

Detect and mitigate CVE-2026-29000 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.0.4.1 before 6.3.3, all versions before 4.5.9, all versions starting from 5.0.0-RC1 before 5.7.9

Fixed versions

  • 6.3.3
  • 5.7.9
  • 4.5.9

Solution

Upgrade to versions 4.5.9, 5.7.9, 6.3.3 or above.

Impact 10 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-347: Improper Verification of Cryptographic Signature

Source file

maven/org.pac4j/pac4j-jwt/CVE-2026-29000.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:20 +0000.