Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
Back to intelligence
identity-authentication-vulnerabilityopen-source-dependency-vulnerabilityproof-of-concept-releasewidely-deployed-product-advisory

Authentication Bypass in pac4j-jwt via Forged JWE/PlainJWT Claims

Updated 1d agoFirst seen Mar 10, 20264 sources

A maximum-severity authentication bypass was disclosed in pac4j’s JWT component (pac4j-jwt), tracked as CVE-2026-29000, affecting a widely used Java security engine embedded across many downstream software packages. The issue is a logic flaw that enables attackers to bypass authentication controls by crafting tokens/claims in a way that defeats expected verification, raising concern because exploitation can be relatively straightforward and the library’s transitive use complicates exposure tracking and patch rollout across dependent applications.

Public proof-of-concept (PoC) code is available, and reporting indicates an attacker who can obtain a target server’s RSA public key (often publicly accessible) can forge a JWE-wrapped PlainJWT containing arbitrary sub and role claims to bypass signature verification and authenticate as any user, including administrators. The pac4j maintainer disclosed the defect and released patched versions shortly after private reporting; while there were no confirmed in-the-wild exploits at the time of reporting, defenders should expect downstream vendors and application owners to issue their own advisories and updates as they assess inherited risk from bundled pac4j versions.

Share:
Authentication Bypass in pac4j-jwt via Forged JWE/PlainJWT Claims
Stay ahead

Get ahead of threats like this

Mallory correlates global threat intelligence with your attack surface — know if you’re exposed before adversaries strike.

EVENT TIMELINE

How this story unfolded

6 events from the most recent confirmed update back to the earliest known activity.

6 EVENTS
Apr 7, 20263mo ago

F5 publishes product advisory for CVE-2026-29000

F5 issued a product advisory for CVE-2026-29000, indicating the pac4j vulnerability affected or was relevant to F5 products. This marks a downstream vendor response following the earlier pac4j disclosure and patching activity.

pac4j vulnerability CVE-2026-29000
Mar 11, 20264mo ago

Researchers notify hundreds of potentially affected maintainers

CodeAnt AI said it contacted hundreds of maintainers whose repositories may depend on vulnerable pac4j components. Researchers also warned that downstream projects may need to publish their own advisories and patches.

Mar 10, 20264mo ago

Public reporting details CVE-2026-29000 and PoC exploit

CyberScoop reported that CVE-2026-29000 had been publicly disclosed after CodeAnt AI published a proof-of-concept exploit, warning that the pre-authentication flaw was easy to reproduce with only a server's public RSA key. The report highlighted serious downstream risk because pac4j is embedded in frameworks such as Spring Security, Play Framework, Vert.x, and Javalin.

Mar 9, 20264mo ago

HKCERT publishes advisory for pac4j-jwt restriction bypass

HKCERT published a security bulletin warning of a pac4j-jwt security restriction bypass vulnerability. The advisory marked broader public disclosure of the issue to defenders and users.

pac4j maintainer releases patches for affected versions

Within two days of the private report, the pac4j maintainer disclosed the vulnerability and issued fixes for affected pac4j versions. The flaw affected the pac4j authentication component used across multiple Java frameworks and downstream projects.

Mar 7, 20264mo ago

CodeAnt AI privately reports pac4j JWT auth bypass flaw

CodeAnt AI discovered a critical logic flaw in pac4j-jwt, later assigned CVE-2026-29000, that could let attackers bypass authentication by forging JWTs or abusing raw JSON claims via JWE. The issue was privately disclosed to the pac4j maintainer before public announcement.

LINKED ENTITIES

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

6 LINKEDOpen in app
Affected products
1 linked
Spring Security
Organizations
4 linked
Arctic WolfF5CyberScoopCodeAnt AI
The operational view lives in Mallory

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t — which of your assets are affected, which threat actors are using it right now, which detections to deploy, and what to do next.
Exposure mapping

Map indicators from this story to your assets and identify affected systems in minutes.

Threat actor evidence

Every observed campaign, victim, and pivot linked to actors named in this story.

Associated malware

Malware, exploits, and IOCs connected to the activity described here.

Detection signatures

YARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.

Scheduled alerts

Get matching new stories delivered to your team as they break — not the next morning.

AI threads

Ask questions about this story and take action on the answers.

Authentication Bypass in pac4j-jwt via Forged JWE/PlainJWT Claims | Mallory