4.8medium
Apache CXF: Authentication Bypass in OAuth2 TokenIntrospectionService
- Severity
- 4.8medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.37% (higher than 32% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-542g-m3fx-q86f
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
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.cxf:cxf-rt-rs-security-oauth2 | from 4.2.0 before 4.2.2, from 4.0.0 before 4.1.7, before 3.6.12 | CVE List |
| org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) | from 4.2.0 before 4.2.2, before 4.1.7 | GitHub Advisory Database |
| apache cxf | before 3.6.12, from 4.0.0 before 4.1.7, from 4.2.0 before 4.2.2 | NVD |
All scores
| CISA-ADP | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Existe una vulnerabilidad de omisión de autenticación en el servicio OAuth2 TokenIntrospectionService en Apache CXF. Debido a la ausencia de la palabra clave ’throw’ en la verificación del contexto de seguridad, el endpoint de introspección (/services/oauth2/introspect) puede ser accedido por cualquier atacante de red no autenticado. Sin embargo, tenga en cuenta que esto es una salvaguarda solo en el caso de que alguien olvidara habilitar la autenticación en el servicio. Se recomienda a los usuarios actualizar a la versión 4.2.2 o 4.1.7, que corrige este problema.
References
| https://lists.apache.org/thread/ydzj8m5mqmjy13xgyj9mkk9hfff63qq7 | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2026/06/11/3 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-50623 | advisory | |
| https://github.com/apache/cxf | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-50623 changed 2026-08-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-542g-m3fx-q86f changed 2026-08-20 | CC-BY-4.0 |
| NVD | CVE-2026-50623 changed 2026-11-05 | Public domain |