{"id":"CVE-2026-82461","state":"PUBLISHED","title":"pac4j-oidc before 6.5.6 Privilege Escalation via Unverified Keycloak Access Token","description":"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 forge access tokens with administrative roles paired with valid ID tokens to bypass authorization checks in applications relying on pac4j role validation.","publishedAt":"2026-08-29T16:35:25.482Z","updatedAt":"2026-08-31T18:52:57.662Z","severity":{"score":8.6,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","source":"VulnCheck"},"assigner":"VulnCheck","products":["pac4j pac4j"],"affected":[{"vendor":"pac4j","product":"pac4j","packageURL":"pkg:maven/org.pac4j/pac4j-parent","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"6.5.6","versionType":"semver"}]}],"references":["https://github.com/pac4j/pac4j/commit/2270c3ff70e93cc43831e75702acd5135531237e","https://www.pac4j.org/blog/security-advisory-pac4j-core-oidc-saml.html","https://github.com/pac4j/pac4j/blob/pac4j-parent-6.5.5/pac4j-oidc/src/main/java/org/pac4j/oidc/authorization/generator/KeycloakRolesAuthorizationGenerator.java","https://github.com/pac4j/pac4j","https://www.vulncheck.com/advisories/pac4j-oidc-before-6.5.6-privilege-escalation-via-unverified-keycloak-access-token"],"weaknesses":["CWE-347"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/82xxx/CVE-2026-82461.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-82461","state":"PUBLISHED","datePublished":"2026-08-29T16:35:25.482Z","dateUpdated":"2026-08-31T18:52:57.662Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-08-29T14:11:00.266Z"},"containers":{"cna":{"title":"pac4j-oidc before 6.5.6 Privilege Escalation via Unverified Keycloak Access Token","descriptions":[{"lang":"en","value":"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 forge access tokens with administrative roles paired with valid ID tokens to bypass authorization checks in applications relying on pac4j role validation."}],"affected":[{"vendor":"pac4j","product":"pac4j","packageURL":"pkg:maven/org.pac4j/pac4j-parent","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"6.5.6","versionType":"semver"}]}],"references":[{"url":"https://github.com/pac4j/pac4j/commit/2270c3ff70e93cc43831e75702acd5135531237e","tags":["patch"],"name":"Patch Commit"},{"url":"https://www.pac4j.org/blog/security-advisory-pac4j-core-oidc-saml.html","tags":["vendor-advisory"],"name":"pac4j Security Advisory for pac4j-core, pac4j-oidc and pac4j-saml"},{"url":"https://github.com/pac4j/pac4j/blob/pac4j-parent-6.5.5/pac4j-oidc/src/main/java/org/pac4j/oidc/authorization/generator/KeycloakRolesAuthorizationGenerator.java","tags":["technical-description"]},{"url":"https://github.com/pac4j/pac4j","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/pac4j-oidc-before-6.5.6-privilege-escalation-via-unverified-keycloak-access-token","name":"VulnCheck Advisory: pac4j-oidc before 6.5.6 Privilege Escalation via Unverified Keycloak Access Token","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.6,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-347","lang":"en","description":"Improper Verification of Cryptographic Signature","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-08-29T16:35:25.482Z"},"datePublic":"2026-08-24T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:*","versionEndExcluding":"6.5.6"}]}]}],"credits":[{"lang":"en","value":"Joshua Rogers (AISLE Research)","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-31T16:23:24.801621Z","id":"CVE-2026-82461","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-31T18:52:57.662Z"}}]}}}