NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2026-50623: Apache CXF has Authentication Bypass in OAuth2 TokenIntrospectionService

mediumCVSS 3.1 6.5GHSA-542g-m3fx-q86f

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.

Published Jun 12, 2026 · Updated Aug 20, 2026

Affected packages

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

Ecosystem
Maven
Affected
>= 4.2.0, < 4.2.2
Fixed in
4.2.2
Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-rt-rs-security-oauth2

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

Ecosystem
Maven
Affected
< 4.1.7
Fixed in
4.1.7
Check
mvn dependency:tree -Dincludes=org.apache.cxf:cxf-rt-rs-security-oauth2

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Maven vulnerabilities

All Maven entries