pac4j-oidc before 6.5.6 fails to verify access token signatures, issuers, audiences, or expiry when extracting Keycloak realm and client roles. (CVE-2026-82461)
Description
pac4j-oidc versions before 6.5.6 do not properly verify access token signatures, issuers, audiences, or expiry when extracting Keycloak realm and client roles. This flaw allows attackers to forge access tokens with administrative roles combined with valid ID tokens, potentially bypassing authorization checks in applications that rely on pac4j for role validation.
CVSS v3.1
Score 8.1high
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability identified as CVE-2026-82461 affects pac4j-oidc versions prior to 6.5.6. The issue arises because the software fails to verify critical aspects of access tokens—specifically signatures, issuers, audiences, and expiry—during the extraction of Keycloak realm and client roles. This verification failure enables attackers to craft forged access tokens that include administrative roles, which when paired with valid ID tokens, can bypass authorization mechanisms in applications using pac4j for role validation.
Potential Impact
Successful exploitation of this vulnerability can lead to unauthorized privilege escalation, allowing attackers to gain administrative access within affected applications. This compromises confidentiality and integrity by bypassing authorization controls. The vulnerability does not impact availability.
Mitigation Recommendations
A fix is available in pac4j-oidc version 6.5.6 and later. Users should upgrade to version 6.5.6 or newer to ensure proper verification of access token signatures, issuers, audiences, and expiry. Patch status is not explicitly confirmed in the provided data, but the version boundary indicates remediation in 6.5.6. Check the vendor advisory for the latest remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4w24-77rp-687q
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-82461"]
- Database Specific Severity
- HIGH
- Cvss Version
- 3.1
Threat ID: 6a944bddacd9273b49b25c3f
Added to database: 08/30/2026, 15:27:25 UTC
Last enriched: 09/08/2026, 00:53:27 UTC
Last updated: 10/14/2026, 18:48:24 UTC
Views: 99
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.