{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-82461",
        "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "state": "PUBLISHED",
        "assignerShortName": "VulnCheck",
        "dateReserved": "2026-08-29T14:11:00.266Z",
        "datePublished": "2026-08-29T16:35:25.482Z",
        "dateUpdated": "2026-08-29T16:35:25.482Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
                "shortName": "VulnCheck",
                "dateUpdated": "2026-08-29T16:35:25.482Z"
            },
            "datePublic": "2026-08-24T00:00:00.000Z",
            "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."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "description": "Improper Verification of Cryptographic Signature",
                            "cweId": "CWE-347",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "pac4j",
                    "product": "pac4j",
                    "defaultStatus": "unaffected",
                    "packageURL": "pkg:maven/org.pac4j/pac4j-parent",
                    "versions": [
                        {
                            "version": "0",
                            "lessThan": "6.5.6",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:a:pac4j:pac4j:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "6.5.6"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
                    }
                }
            ],
            "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"
                    ]
                },
                {
                    "name": "VulnCheck Advisory: pac4j-oidc before 6.5.6 Privilege Escalation via Unverified Keycloak Access Token",
                    "tags": [
                        "third-party-advisory"
                    ],
                    "url": "https://www.vulncheck.com/advisories/pac4j-oidc-before-6.5.6-privilege-escalation-via-unverified-keycloak-access-token"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "Joshua Rogers (AISLE Research)",
                    "type": "finder"
                }
            ],
            "x_generator": {
                "engine": "vulncheck-endgame"
            }
        }
    }
}