# CVE-2026-82461: pac4j-oidc before 6.5.6 Privilege Escalation via Unverified Keycloak Access Token

- Severity: High 8.6 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-08-29T16:35:25.482Z
- Modified: 2026-09-10T19:54:25.810Z
- Weaknesses: CWE-347
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- pac4j pac4j: before 6.5.6

## Every score

- VulnCheck: CVSS:4.0 8.6 High `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`
- VulnCheck: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/pac4j/pac4j/commit/2270c3ff70e93cc43831e75702acd5135531237e> (patch)
- <https://www.pac4j.org/blog/security-advisory-pac4j-core-oidc-saml.html> (vendor-advisory)
- <https://github.com/pac4j/pac4j/blob/pac4j-parent-6.5.5/pac4j-oidc/src/main/java/org/pac4j/oidc/authorization/generator/KeycloakRolesAuthorizationGenerator.java> (technical-description)
- <https://github.com/pac4j/pac4j> (product)
- <https://www.vulncheck.com/advisories/pac4j-oidc-before-6.5.6-privilege-escalation-via-unverified-keycloak-access-token> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-82461](https://www.cve.org/CVERecord?id=CVE-2026-82461), CVE Terms of Use, modified 2026-08-31
- NVD: [CVE-2026-82461](https://nvd.nist.gov/vuln/detail/CVE-2026-82461), Public domain, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-82461 · Whole record: https://cve.day/CVE-2026-82461.json · Rebuilt by cve.day 2026-11-25T22:59:35.746Z
