NetSight
medium4.8

CVE-2026-50623

An authentication bypass vulnerability exists in the OAuth2 TokenIntrospectionService in Apache CXF.

Impact

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.

Affected packages

EcosystemPackageAffectedFixed in
mavenorg.apache.cxf:cxf-rt-rs-security-oauth2>= 4.2.0, < 4.2.24.2.2

Affected products

VendorProductAffected versions
ApacheCxf
before 4.1.7
from 4.2.0 before 4.2.2

Weakness classification

References