CVE-2026-82461: pac4j-oidc before 6.5.6 fails to verify access token signatures, issuers, audiences, or expiry when extracting Keycloak realm and client roles
Source GCVE Database
Not known to be exploited · CVSS 8.1 High · fixed in 6.5.6 : patch affected systems soon.
Data as of 28 Nov 2026, 18:37 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 6.5.6
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 29 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 28 Nov 2026.
What to do
AI-suggested
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.
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.
References
- nvd.nist.gov/vuln/detail/CVE-2026-82461 (opens in a new tab)
- github.com/pac4j/pac4j/commit/2270c3ff70e93cc43831e75702acd5135531237e (opens in a new tab)
- github.com/pac4j/pac4j (opens in a new tab)
- github.com/pac4j/pac4j/blob/pac4j-parent-6.5.5/pac4j-oidc/src/main/java/org/pac4j/oidc/authorization/generator/KeycloakRolesAuthorizationGenerator.java (opens in a new tab)
- pac4j.org/blog/security-advisory-pac4j-core-oidc-saml.html (opens in a new tab)
- vulncheck.com/advisories/pac4j-oidc-before-6.5.6-privilege-escalation-via-unverified-keycloak-access-token (opens in a new tab)