Loading...
Skip to main content

CVE-2026-29000 — Vulnerability in org.pac4j:pac4j-jwt — CVE Details

CRITICAL

pac4j-jwt: JwtAuthenticator Authentication Bypass via JWE-Wrapped PlainJWT

Published March 5, 2026Updated March 6, 2026Source: osv

Summary

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.

Advisory Timeline

  • First published March 5, 2026 (221 days ago).
  • Last revised March 6, 2026 — 2 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.pac4j:pac4j-jwt to 4.5.9 or later
<!-- Update pom.xml dependency version to 4.5.9 for org.pac4j:pac4j-jwt -->
Maven
Update org.pac4j:pac4j-jwt to 5.7.9 or later
<!-- Update pom.xml dependency version to 5.7.9 for org.pac4j:pac4j-jwt -->
Maven
Update org.pac4j:pac4j-jwt to 6.3.3 or later
<!-- Update pom.xml dependency version to 6.3.3 for org.pac4j:pac4j-jwt -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.pac4j:pac4j-jwt
maven
1.8.0, 1.8.0-RC1, 1.8.1, 1.8.2 (+64 more)4.5.9
org.pac4j:pac4j-jwt
maven
5.0.0, 5.0.0-RC1, 5.0.0-RC2, 5.0.1 (+29 more)5.7.9
org.pac4j:pac4j-jwt
maven
6.0.4.1, 6.0.5, 6.0.6, 6.1.0 (+9 more)6.3.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-347
    Improper Verification of Cryptographic SignatureMITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 10.0 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
Low

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

Frequently Asked Questions

What is CVE-2026-29000?
pac4j-jwt: JwtAuthenticator Authentication Bypass via JWE-Wrapped PlainJWT This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 10.0/10).
How do I check if my project is affected by CVE-2026-29000?
CVE-2026-29000 affects org.pac4j:pac4j-jwt. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-29000 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
10.0

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-pm7g-w2cf-q238

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies