Vulnerability · Published Jun 12, 2026 · Assigned by apache
CVE-2026-50623Apache CXF: Authentication Bypass in OAuth2 TokenIntrospectionService
Medium 4.8
In plain English
A medium-severity improper authentication in Apache CXF from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | 4.2.2 | GHSA-542g-m3fx-q86f |
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | 4.1.7 | GHSA-542g-m3fx-q86f |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache CXF | 4.2.0 – before 4.2.24.0.0 – before 4.1.70 – before 3.6.12 |
Weakness: CWE-287 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N