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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache CXF | 4.2.0 – < 4.2.2, 4.0.0 – < 4.1.7, < 3.6.12 | 4.2.2 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | >= 4.2.0, < 4.2.2 | 4.2.2 | GHSA-542g-m3fx-q86f |
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | < 4.1.7 | 4.1.7 | GHSA-542g-m3fx-q86f |
Advisories 1
- WID-SEC-2026-1895 Apache CXF: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 3, 2026
References
- https://lists.apache.org/thread/ydzj8m5mqmjy13xgyj9mkk9hfff63qq7 vendor-advisory