SecurityContext

CVE-2026-82461: pac4j-oidc - Authorization Bypass

  • Cve: CVE-2026-82461
  • Name: pac4j-oidc - Authorization Bypass
  • 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.
  • Impact: Attackers can bypass authorization checks and gain administrative roles, potentially leading to full application compromise.
  • Remediation: Upgrade to version 6.5.6 or later.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirements: Attacker needs to forge access tokens paired with valid ID tokens
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
  • Epss score: 0.00316
  • Epss percentile: 0.24764
  • Assignee: [email protected]
  • Published at: 2026-08-29T17:17:58Z
  • Age in days: 87
  • Modified at: 2026-09-10T19:54:25Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-82461
  • Nvd status: awaiting_analysis
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-347Improper Verification of Cryptographic Signature

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/pac4j/pac4j
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/commit/2270c3ff70e93cc43831e75702acd5135531237e
https://www.pac4j.org/blog/security-advisory-pac4j-core-oidc-saml.html
https://www.vulncheck.com/advisories/pac4j-oidc-before-6.5.6-privilege-escalation-via-unverified-keycloak-access-token

Products

ProductAffectedPlatform boundSourcesUrl
pac4j:pac4j< 6.5.6nocna/v1/products/pac4j/pac4j

Projects

RepositoryLink kindsIndexedUrl
pac4j/pac4jcommityes/v1/repositories/pac4j/pac4j

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts