CVE-2026-50623

Apache CXF: Authentication Bypass in OAuth2 TokenIntrospectionService

Published Jun 12, 2026 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
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 or 3.6.12, which fixes this issue.

Analysis

AI-generated

Technical impact

The flaw stems from a missing throw statement in the security context check of the OAuth2 TokenIntrospectionService, allowing any unauthenticated caller to invoke the /services/oauth2/introspect endpoint. This results in an authentication bypass (CWE‑287) that can expose token validity and, based on the description, it is inferred that the introspection data may contain sensitive session information.

Affected Systems

Apache CXF deployments that expose the OAuth2 TokenIntrospectionService are affected, specifically versions released before 4.2.2 (for CXF 4.x) or 4.1.7 (for CXF 4.1.x). Any configuration that makes the /services/oauth2/introspect endpoint reachable from external networks can be exploited.

Risk and Exploitability

Because the endpoint accepts unauthenticated requests from any network location, an attacker can trivially read introspection data without credentials. The low EPSS score of less than 1% and absence of inclusion in the CISA KEV catalog do not reduce the potential impact in environments where token details are protected. The risk, reflected in a CVSS score of 4.8, is low.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache CXF to version 4.2.2 (or 4.1.7 for older branches) to apply the missing throw keyword fix.
  • If an upgrade cannot be performed immediately, bound the /services/oauth2/introspect endpoint by firewall rules so that only trusted internal hosts can reach it.
  • If the introspection service is not essential, disable it entirely as a temporary workaround until a patch is applied.

Generated by OpenCVE AI on August 7, 2026 at 13:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-542g-m3fx-q86f Apache CXF has Authentication Bypass in OAuth2 TokenIntrospectionService
History
Type Values Removed Values Added
Description 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. 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 or 3.6.12, which fixes this issue.
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
CPEs cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache cxf
Vendors & Products Apache
Apache cxf
Type Values Removed Values Added
Description 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.
Title Apache CXF: Authentication Bypass in OAuth2 TokenIntrospectionService
Weaknesses CWE-287
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 7, 2026, 12:42 PM
Reserved
Jun 5, 2026, 10:20 AM
Status
Analyzed
Published
Jun 12, 2026, 10:16 AM
Modified
Nov 5, 2026, 3:55 PM