Skip to content

← Public intelligence

Maven package

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

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

6 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Critical, CVSS 9.1MavenPublished

    Apache CXF OAuth2 Missing JWT Audience and Issuer Validation in Access Token Validator

    CVE-2026-50627 · GHSA-9mrv-8pvf-hf4m

    Affected
    • Maven org.apache.cxf:cxf-rt-rs-security-oauth2 >= 4.2.0, < 4.2.2; < 4.1.7
    Fixed in
    4.2.24.1.7· Vendor fix available
    Issue
    The JwtAccessTokenValidator class in Apache CXF fails to validate the 'aud' (Audience) claims of incoming JWT access tokens. This allows a JWT issued for one Resource Server to be successfully replayed against a completely different Resource Server, leading to Token Confusion/Routing attacks. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fixes this issue.

    Recommended action: Upgrade to 4.2.2 or 4.1.7 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Critical, CVSS 9.8MavenPublished

    Apache CXF OAuth2 has Inverted IP Binding Check that Defeats Security Control

    CVE-2026-50628 · GHSA-g5v7-jchf-7jrr

    Affected
    • Maven org.apache.cxf:cxf-rt-rs-security-oauth2 >= 4.2.0, < 4.2.2; < 4.1.7
    Fixed in
    4.2.24.1.7· Vendor fix available
    Issue
    A logic error in OAuthRequestFilter rejects legitimate requests originating from the bound IP address, while blindly allowing requests from any other IP address. Enabling this security feature inadvertently creates an inverse security check. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fixes this issue.

    Recommended action: Upgrade to 4.2.2 or 4.1.7 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. Medium, CVSS 6.5MavenPublished

    Apache CXF has Authentication Bypass in OAuth2 TokenIntrospectionService

    CVE-2026-50623 · GHSA-542g-m3fx-q86f

    Affected
    • Maven org.apache.cxf:cxf-rt-rs-security-oauth2 >= 4.2.0, < 4.2.2; < 4.1.7
    Fixed in
    4.2.24.1.7· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 4.2.2 or 4.1.7 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  4. Medium, CVSS 6.5MavenPublished

    Apache CXF OAuth2 HTTP Response Splitting via WWW-Authenticate Realm Injection

    CVE-2026-50630 · GHSA-xf62-wr5p-5p95

    Affected
    • Maven org.apache.cxf:cxf-rt-rs-security-oauth2 >= 4.2.0, < 4.2.2; < 4.1.7
    Fixed in
    4.2.24.1.7· Vendor fix available
    Issue
    A CRLF injection vulnerability exists in the OAuth2 AuthorizationUtils class. When constructing the WWW-Authenticate response header, the 'realm' parameter is concatenated without sanitizing Carriage Return (CR) and Line Feed (LF) characters. If an attacker can control the realm value, they can inject arbitrary HTTP headers or split the HTTP response entirely. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fixes this issue.

    Recommended action: Upgrade to 4.2.2 or 4.1.7 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  5. High, CVSS 8.2MavenPublished

    Apache CXF OAuth2 Log Injection via Unsanitized Client Identifier

    CVE-2026-50629 · GHSA-f8p7-h97q-7vx7

    Affected
    • Maven org.apache.cxf:cxf-rt-rs-security-oauth2 >= 4.2.0, < 4.2.2; < 4.1.7
    Fixed in
    4.2.24.1.7· Vendor fix available
    Issue
    The 'clientId' parameter from incoming HTTP requests is directly concatenated into OAuth2 server log warning messages without sanitizing control characters. This allows an attacker to inject arbitrary content, including fake log entries, into the server's log files. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fixes this issue.

    Recommended action: Upgrade to 4.2.2 or 4.1.7 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  6. High, CVSS 7.4MavenPublished

    Apache CXF OAuth2 TOCTOU Race Condition in Refresh Token Processing

    CVE-2026-50631 · GHSA-83r6-96m8-r52p

    Affected
    • Maven org.apache.cxf:cxf-rt-rs-security-oauth2 >= 4.2.0, < 4.2.2; < 4.1.7
    Fixed in
    4.2.24.1.7· Vendor fix available
    Issue
    A race condition in AbstractOAuthDataProvider allows concurrent requests using the same Refresh Token to bypass single-use semantics and generate multiple valid Access Tokens, when 'recycleRefreshTokens' is set to false. A leaked refresh token can be replayed concurrently by multiple attackers or threads. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fixes this issue.

    Recommended action: Upgrade to 4.2.2 or 4.1.7 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →