GitHub Advisoryadvisory · Maven
GHSA-542g-m3fx-q86f Apache CXF has Authentication Bypass in OAuth2 TokenIntrospectionService
MEDIUM
Official page ↗
- Aliases
- CVE-2026-50623
- Ecosystem
- Maven
- Packages
- org.apache.cxf:cxf-rt-rs-security-oauth2
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-287
- Reviewed
- 2026-08-20
Affected packages
• Maven org.apache.cxf:cxf-rt-rs-security-oauth2: >= 4.2.0, < 4.2.2 → fixed in 4.2.2
• Maven org.apache.cxf:cxf-rt-rs-security-oauth2: < 4.1.7 → fixed in 4.1.7
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.
Related
Alias · CVE (1)
- CVE-2026-50623 An authentication bypass vulnerability exists in the OAuth2 TokenIntrospectionService in Apache CXF. vulnerability
Weakness · CWE (1)
- CWE-287 Improper Authentication weakness