top of page
perceptive_background_267k.jpg

pac4j-oidc before 6.5.6 fails to verify access token signatures, issuers, audiences, or expiry when extracting Keycloak realm and client roles. Attackers can fo…

Published:

29 August 2026 at 00:00:00

Alert date:

29 August 2026 at 20:03:20

Source:

nvd.nist.gov

Click to open the original link from this advisory

Identity & Access, Web Technologies, Enterprise Applications

CVE-2026-82461 affects pac4j-oidc versions before 6.5.6, which fails to verify access token signatures, issuers, audiences, or expiry when extracting Keycloak realm and client roles. This critical flaw allows attackers to forge access tokens with administrative roles and pair them with valid ID tokens to bypass authorization checks. Applications relying on pac4j role validation for access control are vulnerable to privilege escalation. The vulnerability resides in the KeycloakRolesAuthorizationGenerator class. A fix was introduced in pac4j version 6.5.6 via a specific commit. Organizations using pac4j with Keycloak integration should upgrade immediately to mitigate the risk of unauthorized administrative access.

Technical details

Mitigation steps:

Affected products:

pac4j-oidc
pac4j
Keycloak

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page