GHSA-542g-m3fx-q86f

    Dashboard / Vulnerabilities / GHSA-542g-m3fx-q86f

    GHSA-542g-m3fx-q86f

    Published: 12 Jun 2026Last Modified: 20 Aug 2026

    Summary: Apache CXF has Authentication Bypass in OAuth2 TokenIntrospectionService

    Details: An authentication bypass vulnerability exists in the OAuth2 TokenIntrospectionService in Apache CXF. Due to a missing 'throw' keyword in the security context check, the introspection endpoint (/services/oauth2/introspect) can be accessed by any unauthenticated network attacker. However note that this is a safeguard only in the case that someone forgot to enable authentication on the service. Users are recommended to upgrade to version 4.2.2 or 4.1.7, which fixes this issue.

    Affected packages

    Package

    Name: org.apache.cxf:cxf-rt-rs-security-oauth2

    Purl: pkg:maven/org.apache.cxf/cxf-rt-rs-security-oauth2

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 4.2.0
    Fixed -4.2.2

    Affected versions

    4.2.0
    4.2.1

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-542g-m3fx-q86f | CVE-DB